Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs: update e2e testing documentation and plans

Steven Enamakeldb2ab0de8946
diff --git a/docs/gitbooks/en/developing/e2e-testing.md b/docs/gitbooks/en/developing/e2e-testing.md
index f2f243616e..43b2eac13d 100644
--- a/docs/gitbooks/en/developing/e2e-testing.md
+++ b/docs/gitbooks/en/developing/e2e-testing.md
@@ -205,8 +205,8 @@ proves a different contract:
| File | Native WDIO assertion | Playwright assertion |
| --- | --- | --- |
| `smoke.spec.ts` | Live Wry window, app chrome and normal embedded-core startup | Browser root/chrome, standalone core bootstrap URL/token and RPC |
-| `login-flow.spec.ts` | Desktop deep-link entry, token/profile outcome and invalid, expired or bypass cases | Browser callback entry, token/profile outcome and browser bypass |
-| `auth-access-control.spec.ts` | Device reauthentication handoff and native auth-expiry event | Account/billing/logout/revocation UI and authoritative auth state |
+| `login-flow.spec.ts` | Desktop window and deep-link token handling, including invalid, expired or bypass cases | Browser callback entry, token/profile outcome, browser bypass and onboarding |
+| `auth-access-control.spec.ts` | Desktop reauthentication and native auth-expiry event delivery | Account/billing/logout/revocation UI and authoritative auth state |
| `notifications.spec.ts` | OS permission state and real notification plugin calls | Rendered notification title/body and System Events/empty Alerts UI |
| `settings-data-management.spec.ts` | Reset IPC, user-data wipe and embedded-core restart | Clear-data confirmation and cancellation UI |
@@ -263,7 +263,10 @@ bash app/scripts/e2e-run-spec.sh test/e2e/specs/notifications.spec.ts notificati
```
The native suite uses a live `tauri-driver` session; it does not own ordinary
-notification-list RPC or page-rendering assertions.
+notification-list RPC or page-rendering assertions. The former connectivity
+banner E2Es were retired because source history removed their only UI consumer
+before the baseline; focused selector and listener unit tests still cover the
+device/backend connectivity distinction. No browser banner coverage is claimed.
---
diff --git a/docs/plans/2026-10-20-e2e-runner-consolidation.md b/docs/plans/2026-10-20-e2e-runner-consolidation.md
index b6e011caf7..38fc65f6c7 100644
--- a/docs/plans/2026-10-20-e2e-runner-consolidation.md
+++ b/docs/plans/2026-10-20-e2e-runner-consolidation.md
@@ -208,7 +208,7 @@ Collect one complete exact-candidate-SHA after run with this final strict workfl
### Narrow fallback only for proven unrelated legacy failures
-If the strict full run exposes unchanged legacy failures, first establish exact-case baseline evidence and attempt the scoped test/fixture repair. Do not restore global COE or weaken new/migrated assertions to obtain a pass. A transparent split is permitted only when the failing legacy file owns none of the migrated/retained native contracts and independent review confirms the partition. The relevant native-to-browser owners are the49 browser files in the table (all51 rows except both-copy port retirement and browser Tauri retirement), plus `command-palette-keyboard.spec.ts`, any existing browser install owner used by row44 and any companion that receives an assertion. Those files are an indivisible required set; every active case in them stays required, including browser-only stronger cases. File-level selection avoids fragile title/tag classification.
+If the strict full run exposes unchanged legacy failures, first establish exact-case baseline evidence and attempt the scoped test/fixture repair. Do not restore global COE or weaken new/migrated assertions to obtain a pass. A transparent split is permitted only when the failing legacy file owns none of the migrated/retained native contracts and independent review confirms the partition. The relevant native-to-browser owners are the48 active browser files in the table (all51 rows except connectivity retirement, both-copy port retirement and browser Tauri retirement), plus `command-palette-keyboard.spec.ts`, any existing browser install owner used by row44 and any companion that receives an assertion. Those files are an indivisible required set; every active case in them stays required, including browser-only stronger cases. File-level selection avoids fragile title/tag classification. The connectivity row is retired based on pre-baseline source history; focused selector/listener unit tests remain its behavioral coverage, with no E2E UI-equivalence claim.
Implement such an evidence-driven split in the existing scheduling script with two explicit file arrays resolved from actual discovery: required contains the full owner set and all otherwise healthy files; diagnostic contains only exact unchanged failing legacy basenames with a linked existing issue and baseline receipt. The arrays must be disjoint, cover every discovered browser spec exactly once and contain no unknown path. Feed the selected paths as positional CLI arguments to the existing web-session command; special-unit selection and ordinary grep exclusions apply only when their file is in that selection. Keep fresh core/workspace per logical unit and unique mode/lane/unit paths. The diagnostic selection must run all its active tests, preserve their traces/results and fail its command normally; only its separate job may be advisory.