Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow isolated workspaces per test suite #132

Open
bmingles opened this issue Aug 13, 2024 · 3 comments
Open

Allow isolated workspaces per test suite #132

bmingles opened this issue Aug 13, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@bmingles
Copy link

It currently only seems possible to configure a single workspace path in wdio.conf.ts under wdio:vscodeOptions -> workspacePath. This works great for some scenarios, but it can be problematic in cases where test suites are run in parallel. Namely, changing vscode settings as part of tests is not isolated to the current test suite but bleeds into other concurrently running suites. It would be helpful to provide a mechanism for isolating workspace locations per test suite. One thought that comes to mind would be to support a callback function as a value for workspaceSettings that could dynamically return a file path when a test suite runs.

@christian-bromann
Copy link
Contributor

I think this is a great idea! I am personally working at a lot of different things on WebdriverIO and probably won't have time to contribute to the VS Code service part anytime but I would appreciated any contributions on this side. Note that we pay out such contributions thanks for our project sponsors.

@christian-bromann christian-bromann added the help wanted Extra attention is needed label Aug 13, 2024
@bmingles
Copy link
Author

@christian-bromann I’d love to hear more details about how you pay out for contributions

@christian-bromann
Copy link
Contributor

You can read more about it here: https://bromann.dev/post/automated-contributor-expense-process/. Essentially everyone who reviews and merges PRs on behalf of the WebdriverIO project decides how much money should be expensed for the work. You will be able to expense the amount through OpenCollective.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants