Yogesh A.N
Yogesh A.N

Reputation: 11

How to run Testcafe Saucelabs in jenkins

How to configure saucelabs with testcafe in Jenkins with proxy settings and all, even I have used testcafe saucelabs plugin as well, please inform me where to do those config and how.

Upvotes: 1

Views: 259

Answers (1)

Alexey Lindberg
Alexey Lindberg

Reputation: 766

Integration with Sauce Labs is described in the Run Tests on Sauce Labs with Travis CI topic. Integration with Jenkins is described in the Integrate TestCafe with Jenkins topic. If you want to combine both approaches, you should just use Jenkins instead of Travis CI to run the testcafe "saucelabs:Chrome@beta:Windows 10" tests/index-test.js command.

And if by "proxy settings and the all" you mean TestCafe settings (including the proxy one), they can be stored in the .testcaferc.json configuration file (please refer to the Configuration File topic) or passed as command-line arguments wherever you run testcafe from your CI script.

Upvotes: 3

Related Questions