Skip to content

Site browser tests wait for visibility after an action #1326

Closed

Description

@JacobStephens2

This was generated by AI during triage.

Part of #729.

Agent Brief

Category: enhancement
Summary: Site browser tests wait for visibility after an action instead of snapshotting it

Current behavior:
Several site browser tests click or press a key, then immediately assert isVisible(). This is a snapshot read with no waiting, so the tests race the page's event handlers and can fail intermittently.

Desired behavior:
Every visibility or state check that follows a user action uses a waiting assertion (locator.waitFor({ state }) or an equivalent polling helper already used in the suite), with the default timeout.

Key interfaces:

  • The site browser tests (see site/tests/README.md for setup and the runner)

Acceptance criteria:

  • No test asserts isVisible() (or another snapshot read) immediately after a click, key press or navigation
  • The site suite passes 10 consecutive runs locally
  • No retries are added to the test runner configuration

Out of scope:

Activity

  1. added
    enhancement
    ready-for-agent
    in-progress
    and removed
    ready-for-agent
    on Oct 25, 2026
  2. removed
    in-progress
    on Oct 25, 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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions