Skip to content

[Flaky Test] should move focus back to the Publish panel toggle button when canceling #77708

Description

@github-actions

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

Test title

should move focus back to the Publish panel toggle button when canceling

Test path

/test/e2e/specs/editor/various/publish-panel.spec.js

Errors

[2026-04-27T16:46:36.366Z] Test passed after 1 failed attempt on wp/7.0.
[2026-04-27T20:23:09.489Z] Test passed after 1 failed attempt on add/dialog-sticky-chrome.
[2026-05-27T08:24:57.853Z] Test passed after 1 failed attempt on add/boot-strap-initial-core-abilities-post-management.
[2026-06-04T10:57:44.558Z] Test passed after 1 failed attempt on trunk.
[2026-06-05T04:21:56.594Z] Test passed after 1 failed attempt on update/media-editor-zoom-controls.
Error: expect(locator).toHaveAttribute(expected) failed

Locator:  getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Publish', exact: true })
Expected: "false"
Received: "true"
Timeout:  5000ms

Call log:
  - Expect "toHaveAttribute" with timeout 5000ms
  - waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Publish', exact: true })
    9 × locator resolved to <button type="button" aria-expanded="true" aria-disabled="false" class="components-button editor-post-publish-panel__toggle editor-post-publish-button__button is-primary is-compact">Publish</button>
      - unexpected value "true"

    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/publish-panel.spec.js:35:44

Activity

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

    [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