1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Playwright config — runs every spec under BOTH renderer projects so
// the xterm-default (real-user) path and the sterk-experimental path
// both get CI coverage. The previous attempt (PR #94 → reverted in
// PR #96) only exercised sterk and shipped a regression that bricked
// the TWA on first load. See PR #95 / the relanding PR for context.
//
// How renderer selection works:
// 1. The page-level boot script in `render_terminal_page()` reads
// `localStorage['mobux:renderer']` (default 'xterm') and
// synchronously injects the matching bundle script tag.
// 2. The shared fixture in `test/fixtures.cjs` reads
// `testInfo.project.use.renderer` and seeds the localStorage key
// via `context.addInitScript` so the boot script picks the right
// bundle. The 'xterm' project actively REMOVES the key so the
// first-time boot defaults to xterm — i.e. the path real users
// hit on a fresh device.
const = require;
module.exports = ;