Block Bindings: enhance block attribute binding to external sources #97467
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Puppeteer
7m 35s
Report to GitHub
3m 35s
Annotations
13 errors, 10 warnings, and 8 notices
[chromium] › editor/blocks/navigation-list-view.spec.js:385:2 › Navigation block - List view editing › can add submenus:
test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L419
1) [chromium] › editor/blocks/navigation-list-view.spec.js:385:2 › Navigation block - List view editing › can add submenus
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Page Link' }).filter({ hasText: 'Block 1 of 2, Level 1' }).locator('xpath=..').getByRole('button', { name: 'Options for Page Link' })
============================================================
417 |
418 | // Open the options menu.
> 419 | await firstItemOptions.click();
| ^
420 |
421 | // Add the submenu.
422 | // usage of `page` is required because the options menu is rendered into a slot
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:419:26
|
[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
2) [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/various/pattern-overrides.spec.js:29:2 › Pattern Overrides › Create a pattern with overrides:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L89
1) [chromium] › editor/various/pattern-overrides.spec.js:29:2 › Pattern Overrides › Create a pattern with overrides › Create a synced pattern and assign blocks to allow overrides
TimeoutError: locator.setChecked: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor settings' }).getByRole('checkbox', { name: 'Allow instance overrides' })
locator resolved to <input value="1" type="checkbox" id="inspector-checkbox…/>
attempting click action
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
performing click action
click action done
waiting for scheduled navigations to finish
navigations have finished
============================================================
87 | await editorSettings
88 | .getByRole( 'checkbox', { name: 'Allow instance overrides' } )
> 89 | .setChecked( true );
| ^
90 |
91 | await expect.poll( editor.getBlocks ).toMatchObject( [
92 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:89:6
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:37:3
|
[chromium] › editor/various/pattern-overrides.spec.js:29:2 › Pattern Overrides › Create a pattern with overrides:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L89
1) [chromium] › editor/various/pattern-overrides.spec.js:29:2 › Pattern Overrides › Create a pattern with overrides › Create a synced pattern and assign blocks to allow overrides
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.setChecked: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor settings' }).getByRole('checkbox', { name: 'Allow instance overrides' })
locator resolved to <input value="1" type="checkbox" id="inspector-checkbox…/>
attempting click action
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
performing click action
click action done
waiting for scheduled navigations to finish
navigations have finished
============================================================
87 | await editorSettings
88 | .getByRole( 'checkbox', { name: 'Allow instance overrides' } )
> 89 | .setChecked( true );
| ^
90 |
91 | await expect.poll( editor.getBlocks ).toMatchObject( [
92 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:89:6
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:37:3
|
[chromium] › editor/various/pattern-overrides.spec.js:29:2 › Pattern Overrides › Create a pattern with overrides:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L89
1) [chromium] › editor/various/pattern-overrides.spec.js:29:2 › Pattern Overrides › Create a pattern with overrides › Create a synced pattern and assign blocks to allow overrides
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.setChecked: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor settings' }).getByRole('checkbox', { name: 'Allow instance overrides' })
locator resolved to <input value="1" type="checkbox" id="inspector-checkbox…/>
attempting click action
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
performing click action
click action done
waiting for scheduled navigations to finish
navigations have finished
============================================================
87 | await editorSettings
88 | .getByRole( 'checkbox', { name: 'Allow instance overrides' } )
> 89 | .setChecked( true );
| ^
90 |
91 | await expect.poll( editor.getBlocks ).toMatchObject( [
92 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:89:6
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:37:3
|
[chromium] › editor/various/pattern-overrides.spec.js:225:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L261
2) [chromium] › editor/various/pattern-overrides.spec.js:225:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "edited Editable",
+ "content": "Editable",
"metadata": undefined,
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
259 |
260 | // Check that the overrides remain.
> 261 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
262 | {
263 | name: 'core/paragraph',
264 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:261:41
|
[chromium] › editor/various/pattern-overrides.spec.js:225:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L261
2) [chromium] › editor/various/pattern-overrides.spec.js:225:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "edited Editable",
+ "content": "Editable",
"metadata": undefined,
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
259 |
260 | // Check that the overrides remain.
> 261 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
262 | {
263 | name: 'core/paragraph',
264 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:261:41
|
[chromium] › editor/various/pattern-overrides.spec.js:225:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L261
2) [chromium] › editor/various/pattern-overrides.spec.js:225:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "edited Editable",
+ "content": "Editable",
"metadata": undefined,
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
259 |
260 | // Check that the overrides remain.
> 261 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
262 | {
263 | name: 'core/paragraph',
264 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:261:41
|
[chromium] › editor/various/pattern-overrides.spec.js:272:2 › Pattern Overrides › handles button's link settings:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L301
3) [chromium] › editor/various/pattern-overrides.spec.js:272:2 › Pattern Overrides › handles button's link settings
TimeoutError: locator.focus: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Button' }).getByRole('textbox', { name: 'Button text' })
============================================================
299 | .getByRole( 'document', { name: 'Block: Button' } )
300 | .getByRole( 'textbox', { name: 'Button text' } )
> 301 | .focus();
| ^
302 | await expect(
303 | page.getByRole( 'link', { name: 'wp.org' } )
304 | ).toContainText( 'opens in a new tab' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:301:5
|
[chromium] › editor/various/pattern-overrides.spec.js:272:2 › Pattern Overrides › handles button's link settings:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L301
3) [chromium] › editor/various/pattern-overrides.spec.js:272:2 › Pattern Overrides › handles button's link settings
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.focus: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Button' }).getByRole('textbox', { name: 'Button text' })
============================================================
299 | .getByRole( 'document', { name: 'Block: Button' } )
300 | .getByRole( 'textbox', { name: 'Button text' } )
> 301 | .focus();
| ^
302 | await expect(
303 | page.getByRole( 'link', { name: 'wp.org' } )
304 | ).toContainText( 'opens in a new tab' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:301:5
|
[chromium] › editor/various/pattern-overrides.spec.js:272:2 › Pattern Overrides › handles button's link settings:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L301
3) [chromium] › editor/various/pattern-overrides.spec.js:272:2 › Pattern Overrides › handles button's link settings
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.focus: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Button' }).getByRole('textbox', { name: 'Button text' })
============================================================
299 | .getByRole( 'document', { name: 'Block: Button' } )
300 | .getByRole( 'textbox', { name: 'Button text' } )
> 301 | .focus();
| ^
302 | await expect(
303 | page.getByRole( 'link', { name: 'wp.org' } )
304 | ).toContainText( 'opens in a new tab' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:301:5
|
[chromium] › editor/various/pattern-overrides.spec.js:383:2 › Pattern Overrides › disables editing of nested patterns:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L417
4) [chromium] › editor/various/pattern-overrides.spec.js:383:2 › Pattern Overrides › disables editing of nested patterns
Error: locator.fill: Error: Element is not an <input>, <textarea> or [contenteditable] element
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' })
locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
elementHandle.fill("Outer heading (edited)")
waiting for element to be visible, enabled and editable
Element is not an <input>, <textarea> or [contenteditable] element
============================================================
415 | await editor.canvas
416 | .getByRole( 'document', { name: 'Block: Heading' } )
> 417 | .fill( 'Outer heading (edited)' );
| ^
418 |
419 | const postId = await editor.publishPost();
420 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:417:5
|
Playwright - 5
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 - 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 - 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 - 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 - 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/.
|
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.0m)
|
🎭 Playwright Run Summary
189 passed (7.3m)
|
🎭 Playwright Run Summary
11 skipped
152 passed (7.5m)
|
🎭 Playwright Run Summary
163 passed (7.7m)
|
🎭 Playwright Run Summary
4 skipped
158 passed (7.7m)
|
🎭 Playwright Run Summary
164 passed (7.9m)
|
🎭 Playwright Run Summary
2 flaky
[chromium] › editor/blocks/navigation-list-view.spec.js:385:2 › Navigation block - List view editing › can add submenus
[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
160 passed (8.1m)
|
🎭 Playwright Run Summary
6 failed
[chromium] › editor/various/pattern-overrides.spec.js:29:2 › Pattern Overrides › Create a pattern with overrides
[chromium] › editor/various/pattern-overrides.spec.js:225:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks
[chromium] › editor/various/pattern-overrides.spec.js:272:2 › Pattern Overrides › handles button's link settings
[chromium] › editor/various/pattern-overrides.spec.js:383:2 › Pattern Overrides › disables editing of nested patterns
[chromium] › editor/various/pattern-overrides.spec.js:502:2 › Pattern Overrides › resets overrides after clicking the reset button
[chromium] › editor/various/pattern-overrides.spec.js:594:2 › Pattern Overrides › overridden empty images should not have upload button
1 skipped
157 passed (10.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
2.63 MB |
|
flaky-tests-report
Expired
|
1.86 KB |
|