Reputation: 1046
I have an angular-typescript program at work where I use testcafe for parallel e2e tests lately. The problem is, when I configure -c 3
for concurrency tests, the tests always fail at project creation.
To not get too much into details. I basically let it test: Create Project -> Some other tests running under that specific project and move to the next project creation.
I usually get these two errors 403 Tokenization failed
and the for the tests running under the project I get 401 unauthorized
. I tried to fix the 403 with a mutex like this pseudo code below
if(token exists)
continue
else
create new token
But it did not fix the parallel test problem. Do you guys have any idea or hint for me? Thanks in advance.
Upvotes: 0
Views: 284
Reputation: 1047
I can't reproduce the issue without an example project that shows it. Please share your detailed example in the testcafe repository using the following template: https://github.com/DevExpress/testcafe/issues/new?assignees=&labels=TYPE%3A+bug&template=bug_report.yaml. You can use the following instruction to create a minimal working example: https://testcafe.io/402636/faq#how-to-create-a-minimal-working-example-when-you-submit-an-issue
Upvotes: 1