Skip to content

Console e2e: five keyboard tests type the operator token before the sign-in form shows #932

Closed

Description

@V3RON

Five console keyboard tests sign in the way #929's test does: page.goto, then Tab, type the operator token and press Enter right away. Nothing waits for the sign-in form first. While the first /v1/identity check is still running, the page shows "Signing in…" (ui/src/app/app.tsx:36-37), which has no focusable control. If the check answers late, the Tab and the typing do nothing and the form stays empty.

Test Sign-in steps
e2e/console/activity.spec.ts "the events page is usable with the keyboard alone" (helper keyboardOnly) 744-747
e2e/console/inbox.spec.ts "the Inbox view is usable with the keyboard alone" 749-752
e2e/console/long-lists.spec.ts "with 300 leases the leases view pages and stays usable with the keyboard alone" 702-705
e2e/console/queue.spec.ts "the Queue page is usable with the keyboard alone" 267-270
e2e/console/workers.spec.ts "the workers page is usable with the keyboard alone" 1270-1273

The activity test failed on CI twice, both times at activity.spec.ts:748, the first assertion after Enter (getByRole('navigation').first() not found):

  • main: run 39922638365, job 120311353642 (Console 1/4)
  • task/914: run 39940918036, job 120372404096 (Console 1/4)

shell.spec.ts:61-64 already waits for the form and checks the focus. The same fix applies to all five tests.

Found while triaging #929.

Written by an agent.

Activity

  1. added
    bug:new
    flaky-test
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:newflaky-test

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions