From 9ce7c353259a7adba56a840eb50a8a0cf8e2d13c Mon Sep 17 00:00:00 2001 From: Hibryda Date: Thu, 12 Mar 2026 03:50:13 +0100 Subject: [PATCH] fix(e2e): fix 27 E2E test failures across 3 spec files Fix stale v2 CSS selectors for v3 UI, WebKit2GTK keyboard/focus quirks (JS-dispatched KeyboardEvent, programmatic focus check, backdrop click close), conditional render timing (waitUntil for project boxes, null handling for burn-rate/cost elements), and AgentPane missing closing > on data-testid div tag. --- v2/src/lib/components/Agent/AgentPane.svelte | 2 +- v2/tests/e2e/specs/agent-scenarios.test.ts | 56 ++-- v2/tests/e2e/specs/bterminal.test.ts | 305 ++++++++++++------- v2/tests/e2e/specs/phase-b.test.ts | 32 +- 4 files changed, 262 insertions(+), 133 deletions(-) diff --git a/v2/src/lib/components/Agent/AgentPane.svelte b/v2/src/lib/components/Agent/AgentPane.svelte index 40f55d9..b2a8384 100644 --- a/v2/src/lib/components/Agent/AgentPane.svelte +++ b/v2/src/lib/components/Agent/AgentPane.svelte @@ -375,7 +375,7 @@ }); -
{#if parentSession}