Skip to content

fix(e2e): keyboard console tests wait for the sign-in form before tabbing - #936

Merged
V3RON merged 2 commits into
mainfrom
bug/929
Oct 24, 2026
Merged

V3RON merged 2 commits into
mainfrom
bug/929

Conversation

@V3RON

@V3RON V3RON commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Status

Implement: build done (6/6 green), audit done, fix done (1/1) Review: clean after round 2 Hardware: n/a Gate: not run (maintainer merges)
Next: merge; then close #932 by hand

  • The six keyboard tests wait for the "Operator token" field to be visible and enabled, press Tab, check it has focus, and only then type the token (helper signInWithKeyboard, e2e/console/fixtures.ts; used in leases.spec.ts:669, activity.spec.ts, inbox.spec.ts, long-lists.spec.ts, queue.spec.ts, workers.spec.ts)

Checked with a temporary 1 s delay on the first /v1/identity answer (the #929 repro, not in this PR): all six tests fail without the change and pass with it, in Chromium and WebKit (Alt+Tab). The leases test keeps a 1 s hold on the first /v1/identity check (round 2 probe: dropping the helper's wait turns it red at toBeFocused).

Assumptions

  • None.

Review

Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 1 blocking, 1 fixed, 0 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Rounds: 2. Tokens: 0.9M.
Runs: 10. Cost USD: 1.673. Agent seconds: 1308.
Assessment: complete

Closes #929

Also covers #932 (the five other keyboard tests); close it by hand after merge, since one branch closes one issue.

Written by an agent.

@V3RON

V3RON commented Oct 24, 2026

Copy link
Copy Markdown
Contributor Author

Decision taken

Question: the PR body said Closes #929 and Closes #932, but the Branch name closes its issue check allows one branch to close one issue only, so CI was red.

Options:

Taken: the first. The fix for both issues is one helper; splitting it would duplicate it or stack two PRs for one change.

Reverting: move the five call sites to a bug/932 PR.

Written by an agent.

…so the sign-in race is lost without the wait (#929)
@V3RON

V3RON commented Oct 24, 2026

Copy link
Copy Markdown
Contributor Author

Review ledger

Round 1: ac688b5
Round 2: 7c2bb5c

Runs: 10. Cost USD: 1.673. Agent seconds: 1308.
Tokens input 190, output 39211, cache read 2453783, cache write 301040.
- build 1 implementer: claude-sonnet-5-5 353 s $0.2324
- audit implementer: claude-sonnet-5-5 227 s $0.1445
- review 1 reviewer: claude-sonnet-5-5 171 s $0.2163
- review 1 reviewer spec: claude-sonnet-5-5 17 s $0.0866
- review 1 reviewer code: claude-opus-5-5 98 s $0.3046
- review 1 reviewer claims: claude-sonnet-5-5 14 s $0.0749
- fix 1 implementer: claude-sonnet-5-5 119 s $0.105
- review 2 reviewer: claude-sonnet-5-5 179 s $0.1691
- review 2 code tests: claude-opus-5-5 114 s $0.2605
- review 2 claims: claude-sonnet-5-5 16 s $0.0791
Finding outcomes: {"fixed":1}. Classes: {"spec line undelivered: held identity route":1}.
{"findings":[{"id":"R1","role":"code","class":"spec line undelivered: held identity route","outcome":"fixed","path":"e2e/console/leases.spec.ts","round":"1","fix":"7c2bb5c02cd984ba01652dcf2610262d84c91fad"}]}

Written by an agent.

@V3RON
V3RON marked this pull request as ready for review October 24, 2026 06:40
@V3RON
V3RON merged commit 615eed4 into main Oct 24, 2026
69 of 70 checks passed
@V3RON
V3RON deleted the bug/929 branch October 24, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant