Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saucelabs/sauce-cypress-runner

Sauce Labs test runner image for saucectl to run Cypress tests using Sauce Labs Testrunner Toolkit.
https://github.com/saucelabs/sauce-cypress-runner

cypress saucectl saucelabs testrunner-toolkit

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

Sauce Cypress Runner
====================

Sauce Labs test runner image for [`saucectl`](https://github.com/saucelabs/saucectl) to run [Cypress](https://www.cypress.io/) tests using [saucectl](https://docs.saucelabs.com/dev/cli/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](https://github.com/saucelabs/sauce-cypress-runner/blob/main/CONTRIBUTING.md).

## Run Tests

### Integration tests

`npm run test` triggers the [integration tests script](/tests/integration/integration-tests.sh). Which triggers the [tests](/tests/integration/) 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.

```sh
saucectl run -e SAUCE_CYPRESS_VIDEO_RECORDING=true
```