Skip to content

Flaky test: an Agent tab gets back the View it had in front, and an agent in another tab opens its View behind the operator's #494

Closed as not planned

Description

@github-actions

CI found this test flaky: it failed, then passed on the one retry in the same job, so the run passed.

First attempt's failure:

Error: expect(locator).toHaveAttribute(expected) failed

Locator:  locator('[data-agent-tab-bar] [data-tab="w1:t2"]')
Expected: "true"
Received: "false"
Timeout:  5000ms

Call log:
  - Expect "toHaveAttribute" locator('[data-agent-tab-bar] [data-tab="w1:t2"]') with timeout 5000ms
  - waiting for locator('[data-agent-tab-bar] [data-tab="w1:t2"]')
    13 × locator resolved to <div role="tab" tabindex="0" data-tab="w1:t2" data-state="closed" data-closing="false" aria-selected="false" data-tab-kind="herdr" data-slot="tooltip-trigger" aria-label="Terminal tab second" class="group relative flex min-

Fix the cause or delete the test by the expiry date; a flaky test is not left running. A longer timeout, more retries or a lower expectation does not end this issue. Each later flaky run adds a comment here.

Activity

  1. added
    bug
    quarantine
    on Oct 5, 2026
  2. yansfil commented on Oct 6, 2026

    @yansfil
    Contributor

    This test no longer runs on Windows.
    It has no @platform tag (web/e2e/view-bookmarks.spec.ts:48 on main), and since #566 (f2cc994) Windows runs only the @platform web tests, in the pull request's windows e2e lane and in nightly.
    The failure was seen only on Windows, in runs that predate #566; the test keeps running on Linux, where this was never reported.
    If it fails on Linux, the flaky report opens a new issue there.

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

    bugquarantine

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions