Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
github-actions bot opened this issue Jan 27, 2025 · 0 comments
Labels
[Type] Flaky Test Auto-generated flaky test report issue

Comments

@github-actions
Copy link

github-actions bot commented Jan 27, 2025

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.
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: 7afa004d37
    - cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1738993210%7Cte9s7yTBiLL69Vd05iZepIMCxoZWNKMVZQ095qRvVMm%7C83c6dba38b9b2405f12943c1f99378d836ebabe12fddd6e82ea6746c6cc21617; wp-settings-time-1=1738820762

    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
@github-actions github-actions bot added the [Type] Flaky Test Auto-generated flaky test report issue label Jan 27, 2025
github-actions bot referenced this issue Jan 27, 2025
Co-authored-by: im3dabasia <im3dabasia1@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: CGastrell <cgastrell@git.wordpress.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Flaky Test Auto-generated flaky test report issue
Projects
None yet
Development

No branches or pull requests

0 participants