Files
cypress/packages/reporter
Bill Glesias 3c6a0929d5 chore: update mobx from 5.15.4 to 6.13.5 and mobx-react from 6.1.8 to 9.1.1 inside @packages/reporter (#30514)
* chore: do the minimal to update mobx from 5 to 6 [run ci]

chore: update mobx-react from v7 to v9 [run ci]

bump cache [run ci]

* do not alias mobx or mobx-react. This causes an issue where webpack, in production mode, bundles the cjs production dependency of mobx (mobx.cjs.production.min.js) into cypress_runner.js (in the runner package), but @packages/app (bundled via vite), bundles mobx.esm.js, which is NOT minimized and is expecting the global store/state set by the app to also not be minimized. [run ci]

* run update on all machines [run ci]

* add changelog entry [run ci]
2024-11-04 16:29:23 -05:00
..
2022-12-29 17:26:13 +00:00

Reporter

Reporter

The reporter shows the running results of the tests. It includes the following:

  • A button to focus the list of test files
  • Stats for number of tests passed, failed, and pending
  • The total test run duration
  • Control for toggling auto-scrolling
  • Controls for various states (running, paused, stopped, etc.)
  • A command log, showing:
    • suites
    • tests
    • hooks
    • commands and assertions with detailed information
    • any failures/errors

Building

For development

yarn workspace @packages/reporter build

For production

yarn workspace @packages/reporter build-prod

Developing

To see the reporter render, see Developing the driver.

Watching

  • Runs *.js and *.jsx through babel and bundles with browserify into single dist/reporter.js
  • Compiles *.scss files to single dist/reporter.css
yarn workspace @packages/reporter watch

Testing

Run Cypress tests found in cypress/integration.

yarn workspace @packages/reporter cypress:open

You'll want to run yarn workspace @packages/reporter watch to iterate on the reporter under test while testing.

You'll want to run yarn workspace @packages/runner watch to get changes to the main Cypress reporter while testing.