diff --git a/apps/desktop-tauri/scripts/proof-check.mjs b/apps/desktop-tauri/scripts/proof-check.mjs index d54851a31e..a7a62a9abc 100644 --- a/apps/desktop-tauri/scripts/proof-check.mjs +++ b/apps/desktop-tauri/scripts/proof-check.mjs @@ -15,7 +15,7 @@ // Scenario steps (scripts/proof-scenarios.json), run in order: // expectText / expectNoText page text includes / excludes each string // expectSelector a DOM selector matches -// expectTheme documentElement dataset.theme +// expectTheme documentElement dataset.theme (waits for the value) // expectField a native ` popups keep their pinned dark theme. + ## Drive the app Drive the app without taking the user's focus or keyboard. Don't use cua-driver's `bring_to_front`, foreground mode, `hotkey` or `type_text`. @@ -263,6 +273,7 @@ URL parameters: | `tab` | any settings tab id, or `providers:` | `general` | | `fixture` | `default`, `two-codex-accounts`, `errors`, `empty`, `claude-plan-hidden`, `kpi-long-titles`, `codex-conversations`, `codex-conversations-private` | `default` | | `theme` | `dark`, `light`, `auto` (overrides the fixture) | fixture value | +| `system` | `dark`, `light`: the Windows app theme that `get_system_theme` reports, which Settings follows under `auto` | `dark` | Example: `proof.html?window=settings&tab=providers:codex&fixture=two-codex-accounts`.