Does't it possible to run tests in parallel against multiple environments in the same time? #15074
Replies: 2 comments 4 replies
-
Yes, it is possible. Read this blog post that runs the same tests in parallel for different browser timezones. Using different environments could be done in the same way https://glebbahmutov.com/blog/testing-timezones/ or even simpler if you have config files. Something like this:
|
Beta Was this translation helpful? Give feedback.
-
Hi @bahmutov, Sorry because I insist on this, but it can be a nice feature. Imagine like this you have the same version of an app. This app is deployed on 3 machines. Before/after every test you want to reset the db or something else to leave the environment in the same state for all your tests. If you are doing it in parallel with cypress that is possible to broke other tests. if it will be possible to set at runtime the base_url for your tests you can avoid this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I have a question regarding parallelization. I want to run my tests in parallel, I noticed cypress can do something to run the tests in parallel, but it solves just half of the problem because cypress is running in parallel against only one environment. I want to do something like this: I have 3 tests(testA, TestB, TestC) and two environments(Env1 and Env2). Is it possible to configure cypress to execute the tests in parallel against these two environments at the same time? In java, I did for TestNG and Junit.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions