agent-orchestrator/tests/e2e/specs
Hibryda 6a8181f33a fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP
Root cause: WebDriverIO devtools protocol wraps functions in a polyfill
that puts `return` inside eval() (not a function body) → "Illegal return".

Fix: exec() wrapper in helpers/execute.ts converts function args to IIFE
strings before passing to browser.execute(). Works identically on both
WebDriver (Tauri) and CDP/devtools (Electrobun CEF).

- 35 spec files updated (browser.execute → exec)
- 4 config files updated (string-form expressions)
- helpers/actions.ts + assertions.ts updated
- 560 vitest + 116 cargo passing
2026-03-22 06:33:55 +01:00
..
agent.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
comms.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
context.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
diagnostics.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
features.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
files.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
groups.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
keyboard.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
llm-judged.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
notifications.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
phase-a-agent.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
phase-a-navigation.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
phase-a-structure.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
phase-b-grid.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
phase-b-llm.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
phase-c-llm.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
phase-c-tabs.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
phase-c-ui.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
phase-d-errors.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
phase-d-settings.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
phase-e-agents.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
phase-e-health.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
phase-f-llm.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
phase-f-search.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
search.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
settings.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
smoke.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
splash.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
status-bar.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
tasks.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
terminal-theme.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
terminal.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
theme.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
workspace.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00
worktree.test.ts fix(e2e): cross-protocol browser.execute() — works with both WebDriver + CDP 2026-03-22 06:33:55 +01:00