Files
cypress/packages/runner
Dickson Tan df01397208 Improve accessibility for screen readers (#3851)
* reporter: add accessible labels for header controls

* Add labels for the refresh runs list and selector playground buttons

* Make the Collapsable and Test components screen reader accessible and keyboard operable, move the visually-hidden style to the root stylesheets

* Correct import

* Write tests for expand/collapse of tests + suites

* Add instructions on how to run reporter tests in Cypress


Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2019-04-02 13:29:44 +06:30
..
2019-02-25 11:46:20 -05:00
2019-03-31 23:39:10 -04:00
2018-03-09 14:58:56 -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

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