Closed dimaip closed 5 years ago
Another related question is if it's possible to know from inside testcafe test script which browser it's currently running or any other info from the build. The trick is that in order to be able to run the tests in parallel we need to login each parallel test run under a different backend account, and I could use the browser version to randomize the login.
Yes, you can split invoke testcafe
multiple times if you want to run tests in different browser sequentially:
testcafe saucelabs:chrome tests && testcafe saucelabs:firefox tests
Until t.browserInfo
is implemented, you can use the workaround from this comment: https://github.com/DevExpress/testcafe/issues/481#issuecomment-477033099
Also, since we try to keep our Github repositories for bug reports and feature suggestions only, please consider creating a new question next time.
Got it, sorry. :heart:
Don't worry and feel free to contact us if you have any questions 😄
I want to run our testsuite across multiple browsers version (e.g.
"saucelabs:safari,saucelabs:chrome"
), but I need all tests to run sequentially, in order to not abuse our backend. Is it possible to do so in one command, or I'd have to split it into multiple testcafe launches?