-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Facing Issue with Parallelism in Jenkins while running Playwright Cucumber tests #2411
Comments
Are you certain your You could try turning on debug mode which will output the resolved configuration among other things. Also just to double check, you're not expecting it to spin up 4 executors in Jenkins? |
With DEBUG=cucumber I see below
During execution, I encounter the error below in jenkins, but I don't observe it in my local run, also despite specifying parallel 4, resulting in at least 2 instances of Chrome launching in local.
|
This is the issue you need to deal with first:
Regardless of parallel settings, this will prevent any scenarios from running. Only you will have the context to understand why your |
@davidjgoss - Similar / Same issue occurring for me, but different stacktrace based on my custom playwright project with cucumber 10.8.0. we were using 10.3.1 and it was working fine and with 10.8.0 upgrade, it works fine for single thread execution but when parallel count is set to 1 or greater -- we get below error Error: Unexpected error on worker.receiveMessage
|
This issue is stale because it has been open for 3 weeks with no activity. Remove the stale label or comment or this will be closed in another 5 days. |
@onFilm you have a Playwright issue here which I can't do much to help you with. From a brief scan you have a |
@davidjgoss Thanks a lot for pointing out the port issue with Playwright. I appreciate your help and will look into configuring it to avoid this conflict. |
👓 What did you see?
I've encountered an issue while attempting to run Playwright Cucumber tests in parallel on Jenkins. Locally, specifying parallel: 4 in cucumber.mjs works as expected on Windows. However, when running the tests on Jenkins, it seems to be executing in a single worker instead of utilizing parallelism.
✅ What did you expect to see?
Tests should run in parallel, leveraging the specified number of workers.
📦 Which tool/library version are you using?
No response
🔬 How could we reproduce it?
No response
📚 Any additional context?
No response
The text was updated successfully, but these errors were encountered: