Skip to content

[Flaky Test] should show correct homepage actions based on current homepage or posts page #68892

@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 show correct homepage actions based on current homepage or posts page

Test path

/test/e2e/specs/site-editor/homepage-settings.spec.js

Errors

[2025-01-27T09:35:48.647Z] Test passed after 2 failed attempts on trunk.
[2025-02-03T09:29:14.396Z] Test passed after 2 failed attempts on fix/classic-site-editor-access.
[2025-02-06T05:55:09.501Z] Test passed after 2 failed attempts on relocate/grid-backport-file.
[2025-02-17T14:45:48.110Z] Test passed after 2 failed attempts on fix/post-editor-is-dark-theme-css-class.
[2025-02-21T13:06:07.807Z] Test passed after 2 failed attempts on fix/test-list-view-focus.
[2025-03-06T14:45:11.454Z] Test passed after 2 failed attempts on trunk.
Error: apiRequestContext.fetch: socket hang up
Call log:
  - → GET http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fpages&per_page=100&status=publish%2Cfuture%2Cdraft%2Cpending%2Cprivate%2Ctrash
    - user-agent: Playwright/1.49.1 (x64; ubuntu 24.04) node/20.18 CI/1
    - accept: */*
    - accept-encoding: gzip,deflate,br
    - X-WP-Nonce: be3f21f273
    - cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1741444080%7CDzatg7VO1Da0CKmfcKQbit9Tc8EHcRmKIxFkdjdsaZn%7C065eabdbcfc9dce38690ad33a4570bb8c6a1c746488c240df4de8f632c73400e; wp-settings-time-1=1741271663

    at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:119:39)
    at RequestUtils.deleteAllPages (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/pages.ts:47:27)
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/homepage-settings.spec.js:30:17
Error: locator.click: Error: strict mode violation: getByRole('row').filter({ has: getByRole('gridcell').getByLabel('Homepage') }) resolved to 2 elements:
    1) <div class="" id=":rm:" role="row">…</div> aka getByRole('row', { name: 'Homepage Edit Actions Author' }).first()
    2) <div class="" id=":ru:" role="row">…</div> aka getByRole('row', { name: 'Homepage Edit Actions Author' }).nth(1)

Call log:
  - waiting for getByRole('row').filter({ has: getByRole('gridcell').getByLabel('Homepage') })

    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/homepage-settings.spec.js:71:23

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Status] StaleGives the original author opportunity to update before closing. Can be reopened as needed.[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