Files
compiler-explorer/docs/UsingCypress.md
Matt Godbolt a8f832f80c Bump to latest cypress (#4853)
Latest cypress:
- updated all the tests
- fixed up warnings
- got rid of isolation stuff, it's now isolated by default
- added simple docs
- added `--noLocal` to prevent any local config from screwing up when
testing locally
- store screenshot artifacts if things go wrong
2023-03-14 10:00:40 -05:00

359 B

Using Cypress

Our frontend testing is done with cypress.

To run the tests locally:

  • start a server with npm run dev -- --language c++ --noLocal - this configuration ensures your setup is clean of any local properties.
  • in another terminal run npx cypress open, then choose "end to end" and then you should be able to run tests interactively.