Files
cypress/packages/runner
Ben Kucera 033689f8ba use typescript in driver (#5383)
* upgrade eslint-plugin-dev to 5.0.0

* more [lint fixes]

* use typescript in driver

* cleanup minor

* remove unneeded file

* mild refactor webpack configs

* fix elements.ts

* fix isTextLike signature change

* fix isType check, fix type_spec

* actually use webpack-preprocessor

* fix isType domUtil

* fix connectors_spec

* cleanup connectors_spec

* address feedback- cleanup, add comments, refac

* answer: no, need index.js
2019-10-18 12:46:46 -04:00
..
2019-10-18 12:46:46 -04:00
2019-10-18 12:46:46 -04: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

Installing

The runner's dependencies can be installed with:

cd packages/runner
npm install

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

Building

For development

npm run build

For production

npm run build-prod

Testing

npm test