/sauce-cypress-runner

Sauce Labs test runner image for saucectl to run Cypress tests using Sauce Labs Testrunner Toolkit.

Primary LanguageJavaScriptMIT LicenseMIT

Sauce Cypress Runner

Sauce Labs test runner image for saucectl to run Cypress tests using saucectl. This repository contains the code that is being executed in Sauce Labs when running saucectl run.

If you are interested to contribute to this project, please have a look into our contribution guidelines.

Run Tests

Integration tests

npm run test-integration triggers the integration tests script. Which triggers the tests in (/tests/integration/fixtures/cypress-tests) and runs them through cypress-runner.js.

Env Variables

SAUCE_CYPRESS_VIDEO_RECORDING

This env variable is for controlling cypress native video recording. true/1 will enable cypress native video recording. false/0 will stop cypress native video recording.

saucectl run -e SAUCE_CYPRESS_VIDEO_RECORDING=true

BROWSER_NAME

Name of the browser to run the test on

SAUCE_BROWSER_PATH

Points to the browser binary path