Files
cypress/packages/runner
Ben Kucera f77ec01c18 chore:fix ui-components dependencies, web-config deps for yarn (#6534)
- add needed deps in `ui-components` package
- upgrade `@cypress/webpack-preprocessor`
- refactor some eslint code, remove unused eslint scripts
- rename `build-js` scripts to `build-prod` since they'll only need to run when building for prod / checking for tsc errors
2020-02-26 20:21:23 +00:00
..
2020-02-11 12:40:07 +06:30
2019-10-18 12:46:46 -04:00
2020-02-11 12:40:07 +06:30
2020-01-27 23:10:26 +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