Skip to content

[Flaky Test] Allow to switch to template mode, edit the template and check the result #34805

@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

Allow to switch to template mode, edit the template and check the result

Test path

/test/e2e/specs/editor/various/post-editor-template-mode.spec.js

Errors

[2021-09-14T11:14:11.353Z] Test passed after 1 failed attempt on trunk.
[2022-04-26T11:11:30.635Z] Test passed after 1 failed attempt on fix/ignore-selection-changes-in-not-contenteditable-nodes.
[2022-04-26T11:11:32.982Z] Test passed after 1 failed attempt on update/quote-to-nested.
[2022-04-26T13:04:43.069Z] Test passed after 1 failed attempt on fix/latest-posts-links-in-editor.
[2022-04-26T13:05:30.345Z] Test passed after 1 failed attempt on trunk.
[2022-04-27T06:22:42.332Z] Test passed after 1 failed attempt on trunk.
[2022-04-27T21:22:53.786Z] Test passed after 1 failed attempt on release/13.1.
[2022-04-28T18:14:12.446Z] Test passed after 1 failed attempt on fix/input-field-reset-behavior-moar.
[2022-05-06T14:54:54.813Z] Test passed after 2 failed attempts on wp/6.0.
[2022-05-10T13:20:08.691Z] Test passed after 2 failed attempts on wp/6.0.
[2022-05-20T13:47:09.039Z] Test passed after 2 failed attempts on wp/6.0.
[2022-09-22T10:00:18.119Z] Test passed after 1 failed attempt on try/remove-focus-event.
[2022-09-30T05:27:42.869Z] Test passed after 1 failed attempt on tag-processor/cleanup-api.
[2022-10-06T15:10:59.604Z] Test passed after 1 failed attempt on dependabot/github_actions/actions/cache-3.0.10.
[2022-10-14T16:36:57.058Z] Test passed after 1 failed attempt on trunk.
[2022-10-17T15:05:15.239Z] Test passed after 1 failed attempt on wp/5.9.
[2022-10-17T15:08:48.266Z] Test passed after 1 failed attempt on grouped-603/wp/5.9.
[2022-10-17T15:46:01.554Z] Test passed after 1 failed attempt on wp/5.9.
[2022-10-17T16:28:26.197Z] Test passed after 1 failed attempt on wp/5.9.
[2022-11-09T07:08:36.069Z] Test passed after 1 failed attempt on add/list-view-tab-to-sidebar.
[2022-12-10T01:12:47.377Z] Test passed after 1 failed attempt on add/attribute-sourcer.
[2023-01-26T14:55:32.715Z] Test passed after 1 failed attempt on add/experimental-editor-settings.
[2023-01-26T15:54:54.416Z] Test passed after 1 failed attempt on add/experimental-editor-settings.
[2023-01-27T08:12:54.310Z] Test passed after 1 failed attempt on update/spacing-visualizers-to-use-a-slot.
[2023-01-28T07:34:28.280Z] Test passed after 1 failed attempt on fix/post-visibility-tests.
[2023-01-28T08:07:07.702Z] Test passed after 1 failed attempt on fix/post-visibility-tests.
[2023-01-31T05:21:51.369Z] Test passed after 1 failed attempt on trunk.
[2023-01-31T13:35:11.094Z] Test passed after 1 failed attempt on refactor/__ExperimentalOffCanvasEditor-to-OffCanvasEditor.
[2023-01-31T16:34:03.158Z] Test passed after 1 failed attempt on trunk.
[2024-08-30T18:31:38.166Z] Test passed after 2 failed attempts on add/placeholder-comment-rich-text.
[2024-11-01T14:46:34.219Z] Test passed after 2 failed attempts on fix/complementary-area-header-layout.
[2024-11-06T18:38:11.689Z] Test passed after 2 failed attempts on try/navigation-content-only.
[2024-11-25T18:13:18.279Z] Test passed after 2 failed attempts on fix/meta-box-save.
Error: apiRequestContext.fetch: socket hang up
Call log:
  - → GET http://localhost:8889/index.php?rest_route=/wp/v2/templates
  -   user-agent: Playwright/1.48.1 (x64; ubuntu 22.04) node/20.18 CI/1
  -   accept: */*
  -   accept-encoding: gzip,deflate,br
  -   X-WP-Nonce: 5d9b621a1c
  -   cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1732730323%7C8Sm08Ujo6hK93NKcipRAVFS4OP9Xkqs16uHV73a1nzK%7C742592172a4777a53d7a55df2ee91e61d6243cd3d536762b770f3dfc2f2c7cf8; wp-settings-time-1=1732557999

    at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:119:39)
    at RequestUtils.deleteAllTemplates (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/templates.ts:38:31)
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:30:17
Error: expect.toBeVisible: Error: strict mode violation: locator('text="Just a random paragraph added to the template"') resolved to 2 elements:
    1) <p>Just a random paragraph added to the template</p> aka getByText('Just a random paragraph added').first()
    2) <p>Just a random paragraph added to the template</p> aka getByText('Just a random paragraph added').nth(1)

Call log:
  - expect.toBeVisible with timeout 5000ms
  - waiting for locator('text="Just a random paragraph added to the template"')

    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:77:5

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