Skip to content

Block Styles: Make block style variations control scale for increased number of variations #98244

Block Styles: Make block style variations control scale for increased number of variations

Block Styles: Make block style variations control scale for increased number of variations #98244

Triggered via pull request February 29, 2024 07:00
Status Failure
Total duration 16m 7s
Artifacts 1

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Report to GitHub
6s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 9 warnings, and 8 notices
[chromium] › editor/various/style-variation.spec.js:7:2 › adding blocks › Should switch to the plain style of the quote block: test/e2e/specs/editor/various/style-variation.spec.js#L29
1) [chromium] › editor/various/style-variation.spec.js:7:2 › adding blocks › Should switch to the plain style of the quote block Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - <!-- wp:quote {"style":{"variation":"plain"},"className":"is-style-plain"} --> + <!-- wp:quote {"className":"is-style-plain"} --> <blockquote class="wp-block-quote is-style-plain"><!-- wp:paragraph --> <p>Quote content</p> <!-- /wp:paragraph --></blockquote> <!-- /wp:quote --> 27 | // Check the content 28 | const content = await editor.getEditedPostContent(); > 29 | expect( content ).toBe( | ^ 30 | `<!-- wp:quote {"style":{"variation":"plain"},"className":"is-style-plain"} --> 31 | <blockquote class="wp-block-quote is-style-plain"><!-- wp:paragraph --> 32 | <p>Quote content</p> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/style-variation.spec.js:29:21
[chromium] › editor/various/style-variation.spec.js:7:2 › adding blocks › Should switch to the plain style of the quote block: test/e2e/specs/editor/various/style-variation.spec.js#L29
1) [chromium] › editor/various/style-variation.spec.js:7:2 › adding blocks › Should switch to the plain style of the quote block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - <!-- wp:quote {"style":{"variation":"plain"},"className":"is-style-plain"} --> + <!-- wp:quote {"className":"is-style-plain"} --> <blockquote class="wp-block-quote is-style-plain"><!-- wp:paragraph --> <p>Quote content</p> <!-- /wp:paragraph --></blockquote> <!-- /wp:quote --> 27 | // Check the content 28 | const content = await editor.getEditedPostContent(); > 29 | expect( content ).toBe( | ^ 30 | `<!-- wp:quote {"style":{"variation":"plain"},"className":"is-style-plain"} --> 31 | <blockquote class="wp-block-quote is-style-plain"><!-- wp:paragraph --> 32 | <p>Quote content</p> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/style-variation.spec.js:29:21
[chromium] › editor/various/style-variation.spec.js:7:2 › adding blocks › Should switch to the plain style of the quote block: test/e2e/specs/editor/various/style-variation.spec.js#L29
1) [chromium] › editor/various/style-variation.spec.js:7:2 › adding blocks › Should switch to the plain style of the quote block Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - <!-- wp:quote {"style":{"variation":"plain"},"className":"is-style-plain"} --> + <!-- wp:quote {"className":"is-style-plain"} --> <blockquote class="wp-block-quote is-style-plain"><!-- wp:paragraph --> <p>Quote content</p> <!-- /wp:paragraph --></blockquote> <!-- /wp:quote --> 27 | // Check the content 28 | const content = await editor.getEditedPostContent(); > 29 | expect( content ).toBe( | ^ 30 | `<!-- wp:quote {"style":{"variation":"plain"},"className":"is-style-plain"} --> 31 | <blockquote class="wp-block-quote is-style-plain"><!-- wp:paragraph --> 32 | <p>Quote content</p> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/style-variation.spec.js:29:21
Playwright - 5
Process completed with exit code 1.
Playwright - 4
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
[chromium] › editor/various/dropdown-menu.spec.js:11:2 › Dropdown Menu › keyboard navigiation: test/e2e/specs/editor/various/dropdown-menu.spec.js#L26
1) [chromium] › editor/various/dropdown-menu.spec.js:11:2 › Dropdown Menu › keyboard navigiation › allows navigation through each item using arrow keys Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: locator('[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]').first() Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for locator('[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]').first() - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" 24 | await test.step( 'allows navigation through each item using arrow keys', async () => { 25 | // Expect the first menu item to be focused. > 26 | await expect( menuItems.first() ).toBeFocused(); | ^ 27 | 28 | // Arrow down to the last item. 29 | await pageUtils.pressKeys( 'ArrowDown', { times: totalItems - 1 } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/dropdown-menu.spec.js:26:38 at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/dropdown-menu.spec.js:24:14
[chromium] › editor/various/dropdown-menu.spec.js:11:2 › Dropdown Menu › keyboard navigiation: test/e2e/specs/editor/various/dropdown-menu.spec.js#L26
1) [chromium] › editor/various/dropdown-menu.spec.js:11:2 › Dropdown Menu › keyboard navigiation › allows navigation through each item using arrow keys Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: locator('[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]').first() Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for locator('[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]').first() - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" 24 | await test.step( 'allows navigation through each item using arrow keys', async () => { 25 | // Expect the first menu item to be focused. > 26 | await expect( menuItems.first() ).toBeFocused(); | ^ 27 | 28 | // Arrow down to the last item. 29 | await pageUtils.pressKeys( 'ArrowDown', { times: totalItems - 1 } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/dropdown-menu.spec.js:26:38 at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/dropdown-menu.spec.js:24:14
[chromium] › editor/various/dropdown-menu.spec.js:11:2 › Dropdown Menu › keyboard navigiation: test/e2e/specs/editor/various/dropdown-menu.spec.js#L26
1) [chromium] › editor/various/dropdown-menu.spec.js:11:2 › Dropdown Menu › keyboard navigiation › allows navigation through each item using arrow keys Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: locator('[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]').first() Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for locator('[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]').first() - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" - locator resolved to <a href="#" class="ab-item" role="menuitem" aria-ex…>…</a> - unexpected value "not focused" 24 | await test.step( 'allows navigation through each item using arrow keys', async () => { 25 | // Expect the first menu item to be focused. > 26 | await expect( menuItems.first() ).toBeFocused(); | ^ 27 | 28 | // Arrow down to the last item. 29 | await pageUtils.pressKeys( 'ArrowDown', { times: totalItems - 1 } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/dropdown-menu.spec.js:26:38 at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/dropdown-menu.spec.js:24:14
Playwright - 4
Process completed with exit code 1.
Report to GitHub
Unable to download artifact(s): Artifact not found for name: flaky-tests-report Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact. For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md
Puppeteer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 5
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 6
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
11 skipped 152 passed (7.1m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/style-variation.spec.js:7:2 › adding blocks › Should switch to the plain style of the quote block 1 skipped 161 passed (7.5m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/dropdown-menu.spec.js:11:2 › Dropdown Menu › keyboard navigiation ── 161 passed (8.1m)
🎭 Playwright Run Summary
1 skipped 161 passed (8.0m)
🎭 Playwright Run Summary
3 skipped 129 passed (7.5m)
🎭 Playwright Run Summary
4 skipped 157 passed (8.0m)
🎭 Playwright Run Summary
165 passed (8.1m)
🎭 Playwright Run Summary
189 passed (7.5m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
4.65 MB