Skip to content

[Flaky Test] should be preserved on first navigation with data-wp-key and attachTo #75767

@github-actions

Description

@github-actions

Flaky test detected. This is an auto-generated issue by GitHub Actions. Please do NOT edit this manually.

Test title

should be preserved on first navigation with data-wp-key and attachTo

Test path

/test/e2e/specs/interactivity/router-regions.spec.ts

Errors

[2026-02-20T07:00:01.178Z] Test passed after 1 failed attempt on trunk.
[2026-02-20T07:44:30.562Z] Test passed after 1 failed attempt on trunk.
[2026-02-20T08:16:49.774Z] Test passed after 1 failed attempt on trunk.
[2026-02-20T09:26:28.291Z] Test passed after 1 failed attempt on wp/next.
Error: expect(locator).toHaveText(expected) failed

Locator:  getByTestId('region-1-ssr')
Expected: "content from page attachTo2"
Received: "content from page 1"
Timeout:  5000ms

Call log:
  - Expect "toHaveText" with timeout 5000ms
  - waiting for getByTestId('region-1-ssr')
    2 × locator resolved to <p data-testid="region-1-ssr">content from page attachTo1</p>
      - unexpected value "content from page attachTo1"
    7 × locator resolved to <p data-testid="region-1-ssr">content from page 1</p>
      - unexpected value "content from page 1"

    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/router-regions.spec.ts:585:30

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] Flaky TestAuto-generated flaky test report issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions