Parallel Execution by passing --workers=2
(any number greater than 1) not working.
#3921
Replies: 3 comments 19 replies
-
Hi @gravityvi, |
Beta Was this translation helpful? Give feedback.
-
Hey @anupamtomar 👋 could you share verbose logs for the same? |
Beta Was this translation helpful? Give feedback.
-
Hi @gravityvi we are also facing similar issue when we are trying to upgrade Nightwatch Version to 3.1 from 2.6.19 During parallel execution on selenium grid or local, we see at the max 4 workers are only getting utilized for test execution whereas the number of workers we are passing through command line or even through nightwatch.json is more than 4 - we tried passing workers as 10,20, 30, more than 90 as well Could you please help on this as we are not able to figure out what could be the issue Thanks |
Beta Was this translation helpful? Give feedback.
-
Parallel execution not working even though the workers' configuration has been done in the
nightwatch.conf.js
file.Responding like below-
Note: but on the other hand, it works fine if executed sequentially using any of the below commands-
npx nightwatch -g Test\UI_Cases\SomeFolder\JWT --dev --workers=1
npx nightwatch -g Test\UI_Cases\SomeFolder\JWT --dev
Please find below the complete configuration of
nightwatch.conf.js
file we have-Please someone help me to identify if I am missing something.
Beta Was this translation helpful? Give feedback.
All reactions