Block Bindings: Explore improving block bindings UI useSelect
logic
#121793
Annotations
10 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/various/a11y-region-navigation.spec.js#L31
1) [webkit] › editor/various/a11y-region-navigation.spec.js:15:2 › Region navigation (@Firefox, @WebKit) › navigates forward and back again
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' }).filter({ hasText: 'Dummy text' })
Expected: focused
Received: <element(s) not found>
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' }).filter({ hasText: 'Dummy text' })
29 | .filter( { hasText: 'Dummy text' } );
30 |
> 31 | await expect( dummyParagraph ).toBeFocused();
| ^
32 |
33 | // Navigate to first region and check that we made it. Must navigate forward 4 times as initial focus is placed in post title field.
34 | await page.keyboard.press( 'Control+`' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/a11y-region-navigation.spec.js:31:34
|
Run the tests:
test/e2e/specs/editor/various/a11y-region-navigation.spec.js#L31
1) [webkit] › editor/various/a11y-region-navigation.spec.js:15:2 › Region navigation (@Firefox, @WebKit) › navigates forward and back again
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' }).filter({ hasText: 'Dummy text' })
Expected: focused
Received: <element(s) not found>
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' }).filter({ hasText: 'Dummy text' })
29 | .filter( { hasText: 'Dummy text' } );
30 |
> 31 | await expect( dummyParagraph ).toBeFocused();
| ^
32 |
33 | // Navigate to first region and check that we made it. Must navigate forward 4 times as initial focus is placed in post title field.
34 | await page.keyboard.press( 'Control+`' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/a11y-region-navigation.spec.js:31:34
|
Run the tests:
test/e2e/specs/editor/various/a11y-region-navigation.spec.js#L31
1) [webkit] › editor/various/a11y-region-navigation.spec.js:15:2 › Region navigation (@Firefox, @WebKit) › navigates forward and back again
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' }).filter({ hasText: 'Dummy text' })
Expected: focused
Received: <element(s) not found>
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' }).filter({ hasText: 'Dummy text' })
29 | .filter( { hasText: 'Dummy text' } );
30 |
> 31 | await expect( dummyParagraph ).toBeFocused();
| ^
32 |
33 | // Navigate to first region and check that we made it. Must navigate forward 4 times as initial focus is placed in post title field.
34 | await page.keyboard.press( 'Control+`' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/a11y-region-navigation.spec.js:31:34
|
Run the tests:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L109
2) [webkit] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('role=option[name="Darth Vader yourfather"i]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="Darth Vader yourfather"i]')
107 | await expect(
108 | page.locator( `role=option[name="${ testData.optionText }"i]` )
> 109 | ).toBeVisible();
| ^
110 | const ariaOwns = await editor.canvas
111 | .locator( ':root' )
112 | .evaluate( () => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:109:6
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L23
2) [webkit] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Publish', exact: true })
- locator resolved to <button type="button" aria-disabled="true" aria-expanded="false" class="components-button editor-post-publish-panel__toggle editor-post-publish-button__button is-primary is-compact">Publish</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #21
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is n
|
Run the tests:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L109
2) [webkit] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('role=option[name="Darth Vader yourfather"i]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="Darth Vader yourfather"i]')
107 | await expect(
108 | page.locator( `role=option[name="${ testData.optionText }"i]` )
> 109 | ).toBeVisible();
| ^
110 | const ariaOwns = await editor.canvas
111 | .locator( ':root' )
112 | .evaluate( () => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:109:6
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L23
2) [webkit] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Publish', exact: true })
- locator resolved to <button type="button" aria-disabled="true" aria-expanded="false" class="components-button editor-post-publish-panel__toggle editor-post-publish-button__button is-primary is-compact">Publish</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #21
-
|
Run the tests:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L109
2) [webkit] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('role=option[name="Darth Vader yourfather"i]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="Darth Vader yourfather"i]')
107 | await expect(
108 | page.locator( `role=option[name="${ testData.optionText }"i]` )
> 109 | ).toBeVisible();
| ^
110 | const ariaOwns = await editor.canvas
111 | .locator( ':root' )
112 | .evaluate( () => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:109:6
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L23
2) [webkit] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Publish', exact: true })
- locator resolved to <button type="button" aria-disabled="true" aria-expanded="false" class="components-button editor-post-publish-panel__toggle editor-post-publish-button__button is-primary is-compact">Publish</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #21
-
|
Run the tests:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L163
3) [webkit] › editor/various/autocomplete-and-mentions.spec.js:135:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention between two other words
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('role=option[name="Jane Doe testuser"i]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="Jane Doe testuser"i]')
161 | await expect(
162 | page.locator( `role=option[name="${ testData.optionText }"i]` )
> 163 | ).toBeVisible();
| ^
164 | await page.keyboard.press( 'Enter' );
165 | await page.keyboard.type( ' ' );
166 | await expect
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:163:6
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
118 failed
[webkit] › editor/various/a11y-region-navigation.spec.js:15:2 › Region navigation (@Firefox, @WebKit) › navigates forward and back again
[webkit] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention
[webkit] › editor/various/autocomplete-and-mentions.spec.js:135:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention between two other words
[webkit] › editor/various/autocomplete-and-mentions.spec.js:171:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert two subsequent mentions
[webkit] › editor/various/autocomplete-and-mentions.spec.js:218:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should allow mention selection via click event
[webkit] › editor/various/autocomplete-and-mentions.spec.js:253:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should allow mention selection via keypress event
[webkit] › editor/various/autocomplete-and-mentions.spec.js:291:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should cancel mention selection via `Escape` keypress event
[webkit] › editor/various/autocomplete-and-mentions.spec.js:351:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should allow newlines after multiple mention completions
[webkit] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should insert option
[webkit] › editor/various/autocomplete-and-mentions.spec.js:135:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should insert option between two other words
[webkit] › editor/various/autocomplete-and-mentions.spec.js:171:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should insert two subsequent options
[webkit] › editor/various/autocomplete-and-mentions.spec.js:218:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should allow option selection via click event
[webkit] › editor/various/autocomplete-and-mentions.spec.js:253:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should allow option selection via keypress event
[webkit] › editor/various/autocomplete-and-mentions.spec.js:291:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should cancel option selection via `Escape` keypress event
[webkit] › editor/various/autocomplete-and-mentions.spec.js:330:4 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should not insert disabled options
[webkit] › editor/various/autocomplete-and-mentions.spec.js:351:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should allow newlines after multiple option completions
[webkit] › editor/various/autocomplete-and-mentions.spec.js:463:2 › Autocomplete (@Firefox, @WebKit) › should insert elements from multiple completers in a single block
[webkit] › editor/various/autocomplete-and-mentions.spec.js:504:2 › Autocomplete (@Firefox, @WebKit) › should hide UI when selection changes (by keyboard)
[webkit] › editor/various/autocomplete-and-mentions.spec.js:521:2 › Autocomplete (@Firefox, @WebKit) › should hide UI when selection changes (by mouse)
[webkit] › editor/various/autocomplete-and-mentions.spec.js:546:2 › Autocomplete (@Firefox, @WebKit) › should allow speaking number of initial results
[webkit] › editor/various/inserting-blocks.spec.js:54:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter
[webkit] › editor/various/inserting-blocks.spec.js:119:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging blocks from the global inserter by pressing Escape
[webkit] › editor/various/inserting-blocks.spec.js:172:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
[webkit] › editor/various/inserting-blocks.spec.js:234:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced patterns by dragging and dropping from the global inserter
[webkit] › editor/various/inserting-blocks.spec.js:331:2 › Inserting blocks (
|
Loading