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] Allow to switch to template mode, edit the template and check the result #34805

Closed
github-actions bot opened this issue Sep 14, 2021 · 3 comments · Fixed by #40175 or #40325
Closed
Labels
[Type] Flaky Test Auto-generated flaky test report issue

Comments

@github-actions
Copy link

github-actions bot commented Sep 14, 2021

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
@github-actions github-actions bot added the [Type] Flaky Test Auto-generated flaky test report issue label Sep 14, 2021
@priethor priethor added the [Feature] Template Editing Mode Related to the template editor available in the Block Editor label Sep 23, 2021
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Apr 8, 2022
@github-actions github-actions bot reopened this Apr 12, 2022
@kevin940726
Copy link
Member

The new error was from an outdated branch, closing it again.

@github-actions
Copy link
Author

This issue has gone 30 days without any activity.

@github-actions github-actions bot added the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Aug 28, 2022
@github-actions github-actions bot reopened this Sep 22, 2022
@github-actions github-actions bot reopened this Sep 30, 2022
@github-actions github-actions bot closed this as completed Oct 2, 2022
@github-actions github-actions bot reopened this Oct 6, 2022
@github-actions github-actions bot removed the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Oct 8, 2022
@github-actions
Copy link
Author

This issue has gone 30 days without any activity.

@github-actions github-actions bot added the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Jan 10, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 15, 2023
@github-actions github-actions bot reopened this Jan 26, 2023
github-actions bot referenced this issue Jan 31, 2023
* Always pass layout to inner blocks

* Fix migration eligibility rule.

* Use stable fallback object.

* Add deprecation fixture.

* Use existing EMPTY_OBJECT pattern

* Check if block has layout support before adding layout to context.

* Simplify deprecation fixture markup.
github-actions bot referenced this issue Jan 31, 2023
* Bump Android minSdkVersion to 24

* Update react-native-editor changelog
@github-actions github-actions bot reopened this Aug 30, 2024
@Mamaduka Mamaduka removed [Status] In Progress Tracking issues with work in progress [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. labels Aug 31, 2024
@Mamaduka Mamaduka removed the [Feature] Template Editing Mode Related to the template editor available in the Block Editor label Aug 31, 2024
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
3 participants