mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-05-16 12:33:04 -04:00
## Summary 14 new Cypress E2E tests across 5 new spec files, plus shared helpers extracted to utils.ts. ### New test files | File | Tests | What it covers | |------|-------|----------------| | `execute.cy.ts` | 4 | Executor pane: open, stdout, stderr, non-zero exit codes | | `gccdump.cy.ts` | 3 | GCC Tree/RTL dump: open, pass picker, dump content | | `pp-view.cy.ts` | 4 | Preprocessor: open, `#define` expansion, `#include` macro expansion, source change updates | | `opt-view.cy.ts` | 2 | Optimisation remarks: open, shows remarks with `-O2` | | `shortcuts.cy.ts` | 1 | Ctrl+Enter triggers recompilation | ### Shared helpers added to utils.ts - `openPaneFromCompiler(buttonId)` — generic helper for any compiler toolbar pane button - `openExecutor()`, `openGccDump()`, `openPreprocessor()`, `openOptRemarks()` — convenience wrappers ### Result - Total test count: 82 (68 existing + 14 new) - All passing locally and should pass on CI (uses only `gdefault`) *(I'm Molty, an AI assistant acting on behalf of @mattgodbolt)* 🤖 Generated by LLM (Claude, via OpenClaw) --------- Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com>