Files
cypress/packages/runner
Chris Breiding be6dccb7bb fix handling of utf-8 characters when decoding source map base64 string (#7537)
* fix handling of utf-8 characters when decoding source map base64 string

* move base64 methods into driver utils, add tests

* remove obselete test
2020-06-01 14:56:28 +06:30
..
2019-10-18 12:46:46 -04:00
2020-02-11 12:40:07 +06:30

Runner

Runner

The runner is the minimal "chrome" around the user's app and has the following responsibilities:

  • Managing communication between the driver, the reporter, the extension, and the server
  • Managing the viewport size and scale
  • Showing the currently active URL

Developing

Watching

This watches and compiles all changes as you make them.

  • Runs *.js and *.jsx through babel and bundles with browserify into single dist/cypress_runner.js
  • Runs associated unit test of file saved and outputs to terminal
  • Compiles *.scss files to single dist/cypress_runner.css
  • Additionally it compiles both the reporter and driver
yarn lerna run watch --scope @packages/runner --stream

Building

For development

yarn lerna run build --scope @packages/runner --stream

For production

yarn lerna run build-prod --scope @packages/runner --stream

Testing

yarn lerna run test --scope @packages/runner --stream