Commit 1434101
fix(test): vendor CodeMirror 6 bundle so richtext tests don't depend on esm.sh
The CodeMirror 6 rich-text fixture imported codemirror@6.0.1 from esm.sh,
which fans out to the entire @codemirror/* + @lezer/* module graph over many
serial requests. In CI this reliably exceeded the 30s waitForFunction timeout,
so window.__editorReady never became true and all four CodeMirror 6 fillField
tests timed out across Playwright, Puppeteer and WebDriver. Pre-existing on 4.x
and unrelated to the junit change on this branch.
Vendor the self-contained esm.sh bundle locally and import it same-origin,
making the test network-independent and deterministic. Exclude the vendored
blob from eslint and prettier.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 5a6b7d2 commit 1434101
4 files changed
Lines changed: 21 additions & 2 deletions
File tree
- test/data/app
- js
- view/form/richtext
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments