You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add Playwright smoke test for editor playground in docs CI #25383
The playground editor at https://github.github.com/gh-aw/editor/ broke silently due to esm.sh CDN resolving duplicate @codemirror/state versions (see #25381). It was discovered manually — no test or monitoring caught it.
Root cause of the gap: Playwright tests exist in docs/tests/ (homepage links, copy button, mermaid rendering, mobile responsive) but:
None cover the editor playground (/editor/)
None run in CI — docs.yml builds and deploys without executing npm run test
Proposal
1. New Playwright spec: docs/tests/editor-playground.spec.ts
A minimal smoke test that:
Navigates to /gh-aw/editor/
Waits for the WASM compiler to load (status badge text becomes "Ready")
Verifies the CodeMirror editor mounted (.cm-editor element exists with content)
Asserts no console errors matching Unrecognized extension or multiple instances
Optionally: triggers a compile and verifies the output panel renders YAML
Activity