mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
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
359 B
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.