Skip to content

Conversation

VitaliLebedzeu
Copy link

It should fix the Issue #17 and the "Error: Could not find a job" errors. They come across with putting the "wdioParallel.performSetup()" method as a global function into the "wdio.config.js" because this file is running with each new browser instance.
This MR suggests to use the "wdioParallel.performSetup()" method only once in the onPrepare() hook.

…t empty, rmdir" and "Error: Could not find job" errors
Copy link

@joweaver joweaver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works @VitaliLebedzeu would you mind me merging?
@SimitTomar

Copy link

@rameshkumarj rameshkumarj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi .. this will not work if you run this with --suites.. with the current version, if we specify suites, then the split files will be available when the execution starts. But if we move the split function to onPrepare, then suites directory will be empty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants