Files
cypress/packages/runner
Chris Breiding 874ae86bec Fix selector playground styles in electron (#1088)
* runner: append selector playground styles instead of using a link tag

* runner: rename selector helper to selector playground

* runner: bump react-tooltip version
2017-12-19 10:41:11 -05:00
..
2017-12-02 18:51:42 -05:00

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

Install

The runner's dependencies can be installed with:

cd packages/runner
npm install

Development

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
npm run watch

One Time Build

For development

npm run build

For production

npm run build-prod

Testing

npm test