mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-06 07:10:12 -06:00
* 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>
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
*.jsand*.jsxthrough babel and bundles with browserify into singledist/cypress_runner.js - Runs associated unit test of file saved and outputs to terminal
- Compiles
*.scssfiles to singledist/cypress_runner.css - Additionally it compiles both the
reporteranddriver
npm run watch
Building
For development
npm run build
For production
npm run build-prod
Testing
npm test
