mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 03:01:22 -06: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
11 lines
359 B
Markdown
11 lines
359 B
Markdown
### 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.
|