Block Styles: Extend block style variations as mechanism for achieving section styling #96944
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Puppeteer
6m 50s
Report to GitHub
3m 47s
Annotations
14 errors, 10 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 {"className":"is-style-plain"} -->
+ <!-- wp:quote {"style":{"variation":"plain"},"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 {"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 {"className":"is-style-plain"} -->
+ <!-- wp:quote {"style":{"variation":"plain"},"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 {"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 {"className":"is-style-plain"} -->
+ <!-- wp:quote {"style":{"variation":"plain"},"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 {"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.
|
[webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@webkit):
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L20
1) [webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit)
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Save', exact: true })
locator resolved to <button type="button" aria-label="Save" aria-disabled="f…>Save</button>
attempting click action
waiting for element to be visible, enabled and stable
element was detached from the DOM, retrying
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20
18 | await editorTopBar
19 | .getByRole( 'button', { name: 'Save', exact: true } )
> 20 | .click();
| ^
21 |
22 | // Second Save button in the entities panel.
23 | await savePanel
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:42:17
|
Playwright - 7
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
Playwright - 2
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
[chromium] › editor/blocks/navigation-list-view.spec.js:49:2 › Navigation block - List view editing › show a list view in the inspector controls:
test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L64
1) [chromium] › editor/blocks/navigation-list-view.spec.js:49:2 › Navigation block - List view editing › show a list view in the inspector controls
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('tab', { name: 'List View' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('tab', { name: 'List View' })
62 | name: 'List View',
63 | } )
> 64 | ).toBeVisible();
| ^
65 |
66 | const listViewPanel = page.getByRole( 'tabpanel', {
67 | name: 'List View',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:64:5
|
[chromium] › editor/blocks/navigation-list-view.spec.js:253:2 › Navigation block - List view editing › can remove menu items:
test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L270
2) [chromium] › editor/blocks/navigation-list-view.spec.js:253:2 › Navigation block - List view editing › can remove menu items
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('button', { name: 'Options for Submenu' })
============================================================
268 |
269 | // Open the options menu.
> 270 | await submenuOptions.click();
| ^
271 |
272 | // usage of `page` is required because the options menu is rendered into a slot
273 | // outside of the treegrid.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:270:24
|
[chromium] › editor/blocks/navigation.spec.js:180:3 › Navigation block › As a user I want to create submenus using the navigation block › create a submenu:
test/e2e/specs/editor/blocks/navigation.spec.js#L197
3) [chromium] › editor/blocks/navigation.spec.js:180:3 › Navigation block › As a user I want to create submenus using the navigation block › create a submenu
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').getByRole('button', { name: 'Add block' })
============================================================
195 | name: 'Add block',
196 | } );
> 197 | await navBlockInserter.click();
| ^
198 |
199 | await page.keyboard.type( 'https://example.com' );
200 | await page.keyboard.press( 'Enter' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:197:27
|
[chromium] › editor/blocks/navigation.spec.js:180:3 › Navigation block › As a user I want to create submenus using the navigation block › create a submenu:
test/e2e/specs/editor/blocks/navigation.spec.js#L197
3) [chromium] › editor/blocks/navigation.spec.js:180:3 › Navigation block › As a user I want to create submenus using the navigation block › create a submenu
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').getByRole('button', { name: 'Add block' })
============================================================
195 | name: 'Add block',
196 | } );
> 197 | await navBlockInserter.click();
| ^
198 |
199 | await page.keyboard.type( 'https://example.com' );
200 | await page.keyboard.press( 'Enter' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:197:27
|
[chromium] › editor/blocks/navigation.spec.js:217:3 › Navigation block › As a user I want to create submenus using the navigation block › submenu converts to link automatically:
test/e2e/specs/editor/blocks/navigation.spec.js#L236
4) [chromium] › editor/blocks/navigation.spec.js:217:3 › Navigation block › As a user I want to create submenus using the navigation block › submenu converts to link automatically
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').locator('role=textbox[name="Navigation link text"i]').locator('text="WordPress"')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('role=textbox[name="Navigation link text"i]').locator('text="WordPress"')
234 | `role=textbox[name="Navigation link text"i] >> text="WordPress"`
235 | )
> 236 | ).toBeVisible();
| ^
237 |
238 | const navigationBlock = editor.canvas.getByRole( 'document', {
239 | name: 'Block: Navigation',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:236:6
|
[chromium] › editor/blocks/navigation.spec.js:217:3 › Navigation block › As a user I want to create submenus using the navigation block › submenu converts to link automatically:
test/e2e/specs/editor/blocks/navigation.spec.js#L236
4) [chromium] › editor/blocks/navigation.spec.js:217:3 › Navigation block › As a user I want to create submenus using the navigation block › submenu converts to link automatically
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').locator('role=textbox[name="Navigation link text"i]').locator('text="WordPress"')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('role=textbox[name="Navigation link text"i]').locator('text="WordPress"')
234 | `role=textbox[name="Navigation link text"i] >> text="WordPress"`
235 | )
> 236 | ).toBeVisible();
| ^
237 |
238 | const navigationBlock = editor.canvas.getByRole( 'document', {
239 | name: 'Block: Navigation',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:236:6
|
Playwright - 2
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
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 - 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 - 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 - 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 - 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 - 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 - 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/.
|
Report to GitHub
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, ./packages/report-flaky-tests. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
🎭 Playwright Run Summary
3 skipped
129 passed (7.8m)
|
🎭 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 (8.3m)
|
🎭 Playwright Run Summary
11 skipped
152 passed (8.1m)
|
🎭 Playwright Run Summary
162 passed (8.7m)
|
🎭 Playwright Run Summary
4 skipped
157 passed (8.4m)
|
🎭 Playwright Run Summary
165 passed (8.5m)
|
🎭 Playwright Run Summary
1 flaky
[webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit)
188 passed (8.4m)
|
🎭 Playwright Run Summary
4 flaky
[chromium] › editor/blocks/navigation-list-view.spec.js:49:2 › Navigation block - List view editing › show a list view in the inspector controls
[chromium] › editor/blocks/navigation-list-view.spec.js:253:2 › Navigation block - List view editing › can remove menu items
[chromium] › editor/blocks/navigation.spec.js:180:3 › Navigation block › As a user I want to create submenus using the navigation block › create a submenu
[chromium] › editor/blocks/navigation.spec.js:217:3 › Navigation block › As a user I want to create submenus using the navigation block › submenu converts to link automatically
1 skipped
157 passed (9.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
4.73 MB |
|
flaky-tests-report
Expired
|
1.23 KB |
|