Replies: 1 comment
-
I'm not sure what you mean by alleatory. Typically what you have to be careful with here is different tests interfering with each other but based on your config that shouldn't be the case. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My problem
Details
I am creating E2E tests to my application
So on CI I create a container with a database and a container with redis
Then I run migrations in that database and seeders to E2E test and to finish I run tests
package.json scripts
To run E2E tests with ava js I created a transitional test function to not alterate my database state
transitionalTest.js
On local thats works very well, but on CI sometimes an alleatory test throwns a
test error
because some request is returning401 unauthorized
test.spec.js
Anyone can give me a hint?
If another detail is necessary, please tell me.
Beta Was this translation helpful? Give feedback.
All reactions