-
Notifications
You must be signed in to change notification settings - Fork 675
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
Multiple Fixtures Running In Parallel with Concurrency Enabled #8113
Comments
Hello, The documentation reference implies that fixtures have 'after hooks', however, you don't use 'after hooks' in your example. |
I tried that as well, both fixture
Test 2 still started before fixture 1 completed. Also I don't expect |
Thank you for your response, |
I know this is old, but is there any workaround for it? I have two fixtures. Each contains tests that can run in parallel amongst themselves. But having both fixtures in parallel causes problems. I'd really like to run one fixture after the other, but the tests within them in parallel. |
What is your Scenario?
I am running multiple fixtures as a test run, with concurrency enabled.
What is the Current behavior?
If the concurrency level is greater than the number of tests in a fixture, or a test finishes and a concurrently open browser is available, the next fixture starts before the previous fixture finishes.
What is the Expected behavior?
Based on this documentation:
https://testcafe.io/documentation/403626/guides/intermediate-guides/run-tests-concurrently
TestCafe does not start a new fixture until after it completes the last after hook.
I am expecting the entire first fixture to finish before the next fixture starts. Even
disableConcurrency
per fixture did not helpWhat is the public URL of the test page? (attach your complete example)
no test page
What is your TestCafe test code?
sample1.ts:
sample2.ts:
Console output:
Your complete configuration file
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
TestCafe version
3.5.0
Node.js version
No response
Command-line arguments
using testcafe runner api
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response
The text was updated successfully, but these errors were encountered: