Skip to content

Flaky test: the Explorer creates, renames, moves and trashes entries #630

Closed

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).toHaveCount(expected) failed

Locator:  locator('[data-explorer-row="C:/Users/runneradmin/AppData/Local/Temp/hide-e2e-herdr-NDJkaq/repo/dest"]')
Expected: 0
Received: 1
Timeout:  5000ms

Call log:
  - Expect "toHaveCount" locator('[data-explorer-row="C:/Users/runneradmin/AppData/Local/Temp/hide-e2e-herdr-NDJkaq/repo/dest"]') with timeout 5000ms
  - waiting for locator('[data-explorer-row="C:/Users/runneradmin/AppData/Local/Temp/hide-e2e-herdr-NDJkaq/repo/dest"]')
    14 × locator resolved to 1 element
       - unexpected value "1"

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 6, 2026
  2. yansfil commented on Oct 6, 2026

    @yansfil
    Contributor

    Closing as fixed by #634 (merged 2026-10-06 11:08Z). The trash arrived while the move before it was still running on Windows, and the core dropped it with only an internal error, nothing logged and nothing on screen. Explorer changes now wait in a core queue (at most four) and run one at a time in the order they were asked; a failed or refused change drops the ones behind it into the diagnostic log. The core test for this order failed before the fix in CI and passes with it; no recurrence since. The flaky report reopens this if it comes back.

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