Extensibility: Make Block Bindings work with editor.BlockEdit
hook
#120354
Annotations
42 errors and 8 notices
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation:
test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L44
1) [chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'For a specific item' })
42 | await page
43 | .getByRole( 'button', { name: 'For a specific item' } )
> 44 | .click();
| ^
45 | await page.getByRole( 'option', { name: 'Demo' } ).click();
46 | await expect( page ).toHaveURL(
47 | '/wp-admin/site-editor.php?p=%2Fwp_template%2Femptytheme%2F%2Fsingle-post-demo&canvas=edit'
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js:44:5
|
[chromium] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L557
1) [chromium] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@Firefox, @WebKit) › inserts a block in proper place after having clicked `Browse All` from block appender
Error: locator.click: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r5k:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r5m:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
555 | .getByRole( 'listbox', { name: 'Text' } )
556 | .getByRole( 'option', { name: 'Paragraph' } )
> 557 | .click();
| ^
558 | await editor.canvas
559 | .getByRole( 'document', { name: 'Empty block' } )
560 | .fill( 'Paragraph inside group' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:557:5
|
[chromium] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L557
1) [chromium] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@Firefox, @WebKit) › inserts a block in proper place after having clicked `Browse All` from block appender
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r5k:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r5m:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
555 | .getByRole( 'listbox', { name: 'Text' } )
556 | .getByRole( 'option', { name: 'Paragraph' } )
> 557 | .click();
| ^
558 | await editor.canvas
559 | .getByRole( 'document', { name: 'Empty block' } )
560 | .fill( 'Paragraph inside group' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:557:5
|
[chromium] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L557
1) [chromium] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@Firefox, @WebKit) › inserts a block in proper place after having clicked `Browse All` from block appender
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r5k:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r5m:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
555 | .getByRole( 'listbox', { name: 'Text' } )
556 | .getByRole( 'option', { name: 'Paragraph' } )
> 557 | .click();
| ^
558 | await editor.canvas
559 | .getByRole( 'document', { name: 'Empty block' } )
560 | .fill( 'Paragraph inside group' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:557:5
|
[chromium] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L659
2) [chromium] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@Firefox, @WebKit) › shows block preview when hovering over block in inserter
Error: locator.hover: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r1b:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r1d:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
657 | .getByRole( 'listbox', { name: 'Text' } )
658 | .getByRole( 'option', { name: 'Paragraph' } )
> 659 | .hover();
| ^
660 |
661 | await expect(
662 | page.locator( '.block-editor-inserter__preview' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:659:5
|
[chromium] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L659
2) [chromium] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@Firefox, @WebKit) › shows block preview when hovering over block in inserter
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.hover: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r1b:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r1d:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
657 | .getByRole( 'listbox', { name: 'Text' } )
658 | .getByRole( 'option', { name: 'Paragraph' } )
> 659 | .hover();
| ^
660 |
661 | await expect(
662 | page.locator( '.block-editor-inserter__preview' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:659:5
|
[chromium] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L659
2) [chromium] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@Firefox, @WebKit) › shows block preview when hovering over block in inserter
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.hover: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r1b:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r1d:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
657 | .getByRole( 'listbox', { name: 'Text' } )
658 | .getByRole( 'option', { name: 'Paragraph' } )
> 659 | .hover();
| ^
660 |
661 | await expect(
662 | page.locator( '.block-editor-inserter__preview' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:659:5
|
Playwright - 4
Process completed with exit code 1.
|
[chromium] › editor/various/block-bindings/custom-sources.spec.js:600:3 › Registered sources › setValues › should be possible to edit the value of the url custom field from the button:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L637
1) [chromium] › editor/various/block-bindings/custom-sources.spec.js:600:3 › Registered sources › setValues › should be possible to edit the value of the url custom field from the button
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Edit link', exact: true })
635 | await page
636 | .getByRole( 'button', { name: 'Edit link', exact: true } )
> 637 | .click();
| ^
638 | await page
639 | .getByPlaceholder( 'Search or type URL' )
640 | .fill( '#url-custom-field-modified' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:637:6
|
[chromium] › editor/various/block-bindings/custom-sources.spec.js:600:3 › Registered sources › setValues › should be possible to edit the value of the url custom field from the button:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L637
1) [chromium] › editor/various/block-bindings/custom-sources.spec.js:600:3 › Registered sources › setValues › should be possible to edit the value of the url custom field from the button
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Edit link', exact: true })
635 | await page
636 | .getByRole( 'button', { name: 'Edit link', exact: true } )
> 637 | .click();
| ^
638 | await page
639 | .getByPlaceholder( 'Search or type URL' )
640 | .fill( '#url-custom-field-modified' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:637:6
|
[chromium] › editor/various/block-bindings/custom-sources.spec.js:600:3 › Registered sources › setValues › should be possible to edit the value of the url custom field from the button:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L637
1) [chromium] › editor/various/block-bindings/custom-sources.spec.js:600:3 › Registered sources › setValues › should be possible to edit the value of the url custom field from the button
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Edit link', exact: true })
635 | await page
636 | .getByRole( 'button', { name: 'Edit link', exact: true } )
> 637 | .click();
| ^
638 | await page
639 | .getByPlaceholder( 'Search or type URL' )
640 | .fill( '#url-custom-field-modified' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:637:6
|
[chromium] › editor/various/block-hierarchy-navigation.spec.js:40:2 › Navigating the block hierarchy › should navigate using the list view sidebar:
test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js#L57
2) [chromium] › editor/various/block-hierarchy-navigation.spec.js:40:2 › Navigating the block hierarchy › should navigate using the list view sidebar
Error: expect.toBeVisible: Error: strict mode violation: getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r2s:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r2u:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('option', { name: 'Paragraph' })
55 | // Add a paragraph in the first column.
56 | const paragraph = page.getByRole( 'option', { name: 'Paragraph' } );
> 57 | await expect( paragraph ).toBeVisible();
| ^
58 | await paragraph.click();
59 | await page.keyboard.type( 'First column' );
60 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js:57:29
|
[chromium] › editor/various/block-hierarchy-navigation.spec.js:40:2 › Navigating the block hierarchy › should navigate using the list view sidebar:
test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js#L57
2) [chromium] › editor/various/block-hierarchy-navigation.spec.js:40:2 › Navigating the block hierarchy › should navigate using the list view sidebar
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r2s:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r2u:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('option', { name: 'Paragraph' })
55 | // Add a paragraph in the first column.
56 | const paragraph = page.getByRole( 'option', { name: 'Paragraph' } );
> 57 | await expect( paragraph ).toBeVisible();
| ^
58 | await paragraph.click();
59 | await page.keyboard.type( 'First column' );
60 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js:57:29
|
[chromium] › editor/various/block-hierarchy-navigation.spec.js:40:2 › Navigating the block hierarchy › should navigate using the list view sidebar:
test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js#L57
2) [chromium] › editor/various/block-hierarchy-navigation.spec.js:40:2 › Navigating the block hierarchy › should navigate using the list view sidebar
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r2s:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r2u:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('option', { name: 'Paragraph' })
55 | // Add a paragraph in the first column.
56 | const paragraph = page.getByRole( 'option', { name: 'Paragraph' } );
> 57 | await expect( paragraph ).toBeVisible();
| ^
58 | await paragraph.click();
59 | await page.keyboard.type( 'First column' );
60 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js:57:29
|
[chromium] › editor/various/block-hierarchy-navigation.spec.js:95:2 › Navigating the block hierarchy › should navigate block hierarchy using only the keyboard:
test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js#L112
3) [chromium] › editor/various/block-hierarchy-navigation.spec.js:95:2 › Navigating the block hierarchy › should navigate block hierarchy using only the keyboard
Error: expect.toBeVisible: Error: strict mode violation: getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r2s:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r2u:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('option', { name: 'Paragraph' })
110 | // Add a paragraph in the first column.
111 | const paragraph = page.getByRole( 'option', { name: 'Paragraph' } );
> 112 | await expect( paragraph ).toBeVisible();
| ^
113 | await paragraph.click();
114 | await page.keyboard.type( 'First column' );
115 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js:112:29
|
[chromium] › editor/various/block-hierarchy-navigation.spec.js:95:2 › Navigating the block hierarchy › should navigate block hierarchy using only the keyboard:
test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js#L112
3) [chromium] › editor/various/block-hierarchy-navigation.spec.js:95:2 › Navigating the block hierarchy › should navigate block hierarchy using only the keyboard
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r2s:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r2u:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('option', { name: 'Paragraph' })
110 | // Add a paragraph in the first column.
111 | const paragraph = page.getByRole( 'option', { name: 'Paragraph' } );
> 112 | await expect( paragraph ).toBeVisible();
| ^
113 | await paragraph.click();
114 | await page.keyboard.type( 'First column' );
115 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js:112:29
|
[chromium] › editor/various/block-hierarchy-navigation.spec.js:95:2 › Navigating the block hierarchy › should navigate block hierarchy using only the keyboard:
test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js#L112
3) [chromium] › editor/various/block-hierarchy-navigation.spec.js:95:2 › Navigating the block hierarchy › should navigate block hierarchy using only the keyboard
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r2s:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r2u:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('option', { name: 'Paragraph' })
110 | // Add a paragraph in the first column.
111 | const paragraph = page.getByRole( 'option', { name: 'Paragraph' } );
> 112 | await expect( paragraph ).toBeVisible();
| ^
113 | await paragraph.click();
114 | await page.keyboard.type( 'First column' );
115 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js:112:29
|
[chromium] › editor/various/block-hierarchy-navigation.spec.js:190:2 › Navigating the block hierarchy › should select the wrapper div for a group:
test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js#L208
4) [chromium] › editor/various/block-hierarchy-navigation.spec.js:190:2 › Navigating the block hierarchy › should select the wrapper div for a group
Error: expect.toBeVisible: Error: strict mode violation: getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r1t:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r1v:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('option', { name: 'Paragraph' })
206 | // Add some random blocks.
207 | const paragraph = page.getByRole( 'option', { name: 'Paragraph' } );
> 208 | await expect( paragraph ).toBeVisible();
| ^
209 | await paragraph.click();
210 | await page.keyboard.type( 'just a paragraph' );
211 | await page.keyboard.press( 'Enter' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js:208:29
|
[firefox] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L557
1) [firefox] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@Firefox, @WebKit) › inserts a block in proper place after having clicked `Browse All` from block appender
Error: locator.click: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r5k:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r5m:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
555 | .getByRole( 'listbox', { name: 'Text' } )
556 | .getByRole( 'option', { name: 'Paragraph' } )
> 557 | .click();
| ^
558 | await editor.canvas
559 | .getByRole( 'document', { name: 'Empty block' } )
560 | .fill( 'Paragraph inside group' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:557:5
|
[firefox] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L557
1) [firefox] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@Firefox, @WebKit) › inserts a block in proper place after having clicked `Browse All` from block appender
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r5k:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r5m:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
555 | .getByRole( 'listbox', { name: 'Text' } )
556 | .getByRole( 'option', { name: 'Paragraph' } )
> 557 | .click();
| ^
558 | await editor.canvas
559 | .getByRole( 'document', { name: 'Empty block' } )
560 | .fill( 'Paragraph inside group' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:557:5
|
[firefox] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L557
1) [firefox] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@Firefox, @WebKit) › inserts a block in proper place after having clicked `Browse All` from block appender
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r5k:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r5m:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
555 | .getByRole( 'listbox', { name: 'Text' } )
556 | .getByRole( 'option', { name: 'Paragraph' } )
> 557 | .click();
| ^
558 | await editor.canvas
559 | .getByRole( 'document', { name: 'Empty block' } )
560 | .fill( 'Paragraph inside group' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:557:5
|
[firefox] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L659
2) [firefox] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@Firefox, @WebKit) › shows block preview when hovering over block in inserter
Error: locator.hover: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r1b:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r1d:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
657 | .getByRole( 'listbox', { name: 'Text' } )
658 | .getByRole( 'option', { name: 'Paragraph' } )
> 659 | .hover();
| ^
660 |
661 | await expect(
662 | page.locator( '.block-editor-inserter__preview' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:659:5
|
[firefox] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L659
2) [firefox] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@Firefox, @WebKit) › shows block preview when hovering over block in inserter
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.hover: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r1b:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r1d:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
657 | .getByRole( 'listbox', { name: 'Text' } )
658 | .getByRole( 'option', { name: 'Paragraph' } )
> 659 | .hover();
| ^
660 |
661 | await expect(
662 | page.locator( '.block-editor-inserter__preview' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:659:5
|
[firefox] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L659
2) [firefox] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@Firefox, @WebKit) › shows block preview when hovering over block in inserter
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.hover: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r1b:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r1d:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
657 | .getByRole( 'listbox', { name: 'Text' } )
658 | .getByRole( 'option', { name: 'Paragraph' } )
> 659 | .hover();
| ^
660 |
661 | await expect(
662 | page.locator( '.block-editor-inserter__preview' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:659:5
|
Playwright - 8
Process completed with exit code 1.
|
[chromium] › editor/plugins/allowed-blocks.spec.js:19:2 › Allowed Blocks Filter › should restrict the allowed blocks in the inserter:
test/e2e/specs/editor/plugins/allowed-blocks.spec.js#L37
1) [chromium] › editor/plugins/allowed-blocks.spec.js:19:2 › Allowed Blocks Filter › should restrict the allowed blocks in the inserter
Error: expect.toBeVisible: Error: strict mode violation: getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r1b:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r1d:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('option', { name: 'Paragraph' })
35 | await expect(
36 | page.getByRole( 'option', { name: 'Paragraph' } )
> 37 | ).toBeVisible();
| ^
38 |
39 | // The gallery block is not available.
40 | await searchbox.click( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/allowed-blocks.spec.js:37:5
|
[chromium] › editor/plugins/allowed-blocks.spec.js:19:2 › Allowed Blocks Filter › should restrict the allowed blocks in the inserter:
test/e2e/specs/editor/plugins/allowed-blocks.spec.js#L37
1) [chromium] › editor/plugins/allowed-blocks.spec.js:19:2 › Allowed Blocks Filter › should restrict the allowed blocks in the inserter
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r1b:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r1d:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('option', { name: 'Paragraph' })
35 | await expect(
36 | page.getByRole( 'option', { name: 'Paragraph' } )
> 37 | ).toBeVisible();
| ^
38 |
39 | // The gallery block is not available.
40 | await searchbox.click( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/allowed-blocks.spec.js:37:5
|
[chromium] › editor/plugins/allowed-blocks.spec.js:19:2 › Allowed Blocks Filter › should restrict the allowed blocks in the inserter:
test/e2e/specs/editor/plugins/allowed-blocks.spec.js#L37
1) [chromium] › editor/plugins/allowed-blocks.spec.js:19:2 › Allowed Blocks Filter › should restrict the allowed blocks in the inserter
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r1b:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r1d:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('option', { name: 'Paragraph' })
35 | await expect(
36 | page.getByRole( 'option', { name: 'Paragraph' } )
> 37 | ).toBeVisible();
| ^
38 |
39 | // The gallery block is not available.
40 | await searchbox.click( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/allowed-blocks.spec.js:37:5
|
[chromium] › editor/plugins/block-variations.spec.js:62:2 › Block variations › Search for the Paragraph block with 2 additional variations:
test/e2e/specs/editor/plugins/block-variations.spec.js#L80
2) [chromium] › editor/plugins/block-variations.spec.js:62:2 › Block variations › Search for the Paragraph block with 2 additional variations
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- Expected - 0
+ Received + 11
Array [
"Paragraph",
"Success Message",
"Warning Message",
+ "(WD4D) Date-enabled Paragraph",
+ "Animated Text by bPluginsDisplay text or paragraph as animation.Install block",
+ "Sticky by SenffThe Gutenberg Sticky Block will stick at the top of the page once you scroll down.Install block",
+ "Markdown Comment by Rich TaborAdd markdown inspired comments to posts that render only within the block editor.Install block",
+ "Todo List by Rich TaborAdd todo lists to posts that render only within the block editor.Install block",
+ "Safelayout Elegant Icons by SafelayoutBeautiful SVG icons. Adds an easy-to-use and powerful icon block to the WordPress block editor and classic editor.Install block",
+ "Listicles by LezWatch.TVCreate beautiful listicle blocks.Install block",
+ "Counter by omnipressteamOmnipress is a ready-made WordPress Design Blocks, similar to the Gutenberg WordPress block editor, that takes a holistic approach to changing your co …Install block",
+ "Overlapping Images by Peter SteeleShows decoratively overlapping image and text content.Install block",
+ "Sentiment Analysis With Tensorflowjs by Ujwol BastakotiGuternberg block to detect sentiment of the paragraph as you write using TensorflowjsInstall block",
+ "PDF by Andy FragenEmbed a PDF from the Media Library or elsewhere via oEmbed or as a block into an iframe tag.Install block",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 14 elements
- locator resolved to 14 elements
- locator resolved to 14 elements
78 | .getByRole( 'listbox', { name: 'Blocks' } )
79 | .getByRole( 'option' )
> 80 | ).toHaveText( [ 'Paragraph', 'Success Message', 'Warning Message' ] );
| ^
81 | } );
82 |
83 | test( 'Insert the Success Message block variation', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/block-variations.spec.js:80:5
|
[chromium] › editor/plugins/block-variations.spec.js:62:2 › Block variations › Search for the Paragraph block with 2 additional variations:
test/e2e/specs/editor/plugins/block-variations.spec.js#L80
2) [chromium] › editor/plugins/block-variations.spec.js:62:2 › Block variations › Search for the Paragraph block with 2 additional variations
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- Expected - 0
+ Received + 11
Array [
"Paragraph",
"Success Message",
"Warning Message",
+ "(WD4D) Date-enabled Paragraph",
+ "Animated Text by bPluginsDisplay text or paragraph as animation.Install block",
+ "Sticky by SenffThe Gutenberg Sticky Block will stick at the top of the page once you scroll down.Install block",
+ "Markdown Comment by Rich TaborAdd markdown inspired comments to posts that render only within the block editor.Install block",
+ "Todo List by Rich TaborAdd todo lists to posts that render only within the block editor.Install block",
+ "Safelayout Elegant Icons by SafelayoutBeautiful SVG icons. Adds an easy-to-use and powerful icon block to the WordPress block editor and classic editor.Install block",
+ "Listicles by LezWatch.TVCreate beautiful listicle blocks.Install block",
+ "Counter by omnipressteamOmnipress is a ready-made WordPress Design Blocks, similar to the Gutenberg WordPress block editor, that takes a holistic approach to changing your co …Install block",
+ "Overlapping Images by Peter SteeleShows decoratively overlapping image and text content.Install block",
+ "Sentiment Analysis With Tensorflowjs by Ujwol BastakotiGuternberg block to detect sentiment of the paragraph as you write using TensorflowjsInstall block",
+ "PDF by Andy FragenEmbed a PDF from the Media Library or elsewhere via oEmbed or as a block into an iframe tag.Install block",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 4 elements
- locator resolved to 14 elements
- locator resolved to 14 elements
- locator resolved to 14 elements
- locator resolved to 14 elements
- locator resolved to 14 elements
78 | .getByRole( 'listbox', { name: 'Blocks' } )
79 | .getByRole( 'option' )
> 80 | ).toHaveText( [ 'Paragraph', 'Success Message', 'Warning Message' ] );
| ^
81 | } );
82 |
83 | test( 'Insert the Success Message block variation', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/block-variations.spec.js:80:5
|
[chromium] › editor/plugins/block-variations.spec.js:62:2 › Block variations › Search for the Paragraph block with 2 additional variations:
test/e2e/specs/editor/plugins/block-variations.spec.js#L80
2) [chromium] › editor/plugins/block-variations.spec.js:62:2 › Block variations › Search for the Paragraph block with 2 additional variations
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- Expected - 0
+ Received + 11
Array [
"Paragraph",
"Success Message",
"Warning Message",
+ "(WD4D) Date-enabled Paragraph",
+ "Animated Text by bPluginsDisplay text or paragraph as animation.Install block",
+ "Sticky by SenffThe Gutenberg Sticky Block will stick at the top of the page once you scroll down.Install block",
+ "Markdown Comment by Rich TaborAdd markdown inspired comments to posts that render only within the block editor.Install block",
+ "Todo List by Rich TaborAdd todo lists to posts that render only within the block editor.Install block",
+ "Safelayout Elegant Icons by SafelayoutBeautiful SVG icons. Adds an easy-to-use and powerful icon block to the WordPress block editor and classic editor.Install block",
+ "Listicles by LezWatch.TVCreate beautiful listicle blocks.Install block",
+ "Counter by omnipressteamOmnipress is a ready-made WordPress Design Blocks, similar to the Gutenberg WordPress block editor, that takes a holistic approach to changing your co …Install block",
+ "Overlapping Images by Peter SteeleShows decoratively overlapping image and text content.Install block",
+ "Sentiment Analysis With Tensorflowjs by Ujwol BastakotiGuternberg block to detect sentiment of the paragraph as you write using TensorflowjsInstall block",
+ "PDF by Andy FragenEmbed a PDF from the Media Library or elsewhere via oEmbed or as a block into an iframe tag.Install block",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 14 elements
- locator resolved to 14 elements
- locator resolved to 14 elements
- locator resolved to 14 elements
- locator resolved to 14 elements
78 | .getByRole( 'listbox', { name: 'Blocks' } )
79 | .getByRole( 'option' )
> 80 | ).toHaveText( [ 'Paragraph', 'Success Message', 'Warning Message' ] );
| ^
81 | } );
82 |
83 | test( 'Insert the Success Message block variation', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/block-variations.spec.js:80:5
|
[chromium] › editor/plugins/child-blocks.spec.js:69:2 › Child Blocks › display in a parent block with allowedItems:
test/e2e/specs/editor/plugins/child-blocks.spec.js#L99
3) [chromium] › editor/plugins/child-blocks.spec.js:69:2 › Child Blocks › display in a parent block with allowedItems
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('region', { name: 'Block Library' }).locator('.block-editor-inserter__insertable-blocks-at-selection').getByRole('option')
- Expected - 0
+ Received + 1
Array [
"Paragraph",
+ "(WD4D) Date-enabled Paragraph",
"Child Blocks Child",
"Image",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('region', { name: 'Block Library' }).locator('.block-editor-inserter__insertable-blocks-at-selection').getByRole('option')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
97 | await blockInserter.click();
98 | await expect( blockLibrary ).toBeVisible();
> 99 | await expect( blockLibrary.getByRole( 'option' ) ).toHaveText( [
| ^
100 | 'Paragraph',
101 | 'Child Blocks Child',
102 | 'Image',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/child-blocks.spec.js:99:54
|
[chromium] › editor/plugins/child-blocks.spec.js:69:2 › Child Blocks › display in a parent block with allowedItems:
test/e2e/specs/editor/plugins/child-blocks.spec.js#L99
3) [chromium] › editor/plugins/child-blocks.spec.js:69:2 › Child Blocks › display in a parent block with allowedItems
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('region', { name: 'Block Library' }).locator('.block-editor-inserter__insertable-blocks-at-selection').getByRole('option')
- Expected - 0
+ Received + 1
Array [
"Paragraph",
+ "(WD4D) Date-enabled Paragraph",
"Child Blocks Child",
"Image",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('region', { name: 'Block Library' }).locator('.block-editor-inserter__insertable-blocks-at-selection').getByRole('option')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
97 | await blockInserter.click();
98 | await expect( blockLibrary ).toBeVisible();
> 99 | await expect( blockLibrary.getByRole( 'option' ) ).toHaveText( [
| ^
100 | 'Paragraph',
101 | 'Child Blocks Child',
102 | 'Image',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/child-blocks.spec.js:99:54
|
[chromium] › editor/plugins/child-blocks.spec.js:69:2 › Child Blocks › display in a parent block with allowedItems:
test/e2e/specs/editor/plugins/child-blocks.spec.js#L99
3) [chromium] › editor/plugins/child-blocks.spec.js:69:2 › Child Blocks › display in a parent block with allowedItems
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('region', { name: 'Block Library' }).locator('.block-editor-inserter__insertable-blocks-at-selection').getByRole('option')
- Expected - 0
+ Received + 1
Array [
"Paragraph",
+ "(WD4D) Date-enabled Paragraph",
"Child Blocks Child",
"Image",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('region', { name: 'Block Library' }).locator('.block-editor-inserter__insertable-blocks-at-selection').getByRole('option')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
97 | await blockInserter.click();
98 | await expect( blockLibrary ).toBeVisible();
> 99 | await expect( blockLibrary.getByRole( 'option' ) ).toHaveText( [
| ^
100 | 'Paragraph',
101 | 'Child Blocks Child',
102 | 'Image',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/child-blocks.spec.js:99:54
|
[chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:64:2 › Allowed Blocks Setting on InnerBlocks › limits the blocks if the allowed blocks setting was set:
test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js#L106
4) [chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:64:2 › Allowed Blocks Setting on InnerBlocks › limits the blocks if the allowed blocks setting was set
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('region', { name: 'Block Library' }).locator('.block-editor-inserter__insertable-blocks-at-selection').getByRole('option')
- Expected - 0
+ Received + 1
Array [
"Paragraph",
+ "(WD4D) Date-enabled Paragraph",
"Heading",
"Image",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('region', { name: 'Block Library' }).locator('.block-editor-inserter__insertable-blocks-at-selection').getByRole('option')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
104 | await blockInserter.click();
105 | await expect( blockLibrary ).toBeVisible();
> 106 | await expect( blockLibrary.getByRole( 'option' ) ).toHaveText( [
| ^
107 | 'Paragraph',
108 | 'Heading',
109 | 'Image',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:106:54
|
[webkit] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L557
1) [webkit] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@Firefox, @WebKit) › inserts a block in proper place after having clicked `Browse All` from block appender
Error: locator.click: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r5k:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r5m:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
555 | .getByRole( 'listbox', { name: 'Text' } )
556 | .getByRole( 'option', { name: 'Paragraph' } )
> 557 | .click();
| ^
558 | await editor.canvas
559 | .getByRole( 'document', { name: 'Empty block' } )
560 | .fill( 'Paragraph inside group' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:557:5
|
[webkit] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L557
1) [webkit] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@Firefox, @WebKit) › inserts a block in proper place after having clicked `Browse All` from block appender
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r5k:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r5m:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
555 | .getByRole( 'listbox', { name: 'Text' } )
556 | .getByRole( 'option', { name: 'Paragraph' } )
> 557 | .click();
| ^
558 | await editor.canvas
559 | .getByRole( 'document', { name: 'Empty block' } )
560 | .fill( 'Paragraph inside group' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:557:5
|
[webkit] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L557
1) [webkit] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@Firefox, @WebKit) › inserts a block in proper place after having clicked `Browse All` from block appender
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r5k:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r5m:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByLabel('Block Library').getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
555 | .getByRole( 'listbox', { name: 'Text' } )
556 | .getByRole( 'option', { name: 'Paragraph' } )
> 557 | .click();
| ^
558 | await editor.canvas
559 | .getByRole( 'document', { name: 'Empty block' } )
560 | .fill( 'Paragraph inside group' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:557:5
|
[webkit] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L659
2) [webkit] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@Firefox, @WebKit) › shows block preview when hovering over block in inserter
Error: locator.hover: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r1b:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r1d:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
657 | .getByRole( 'listbox', { name: 'Text' } )
658 | .getByRole( 'option', { name: 'Paragraph' } )
> 659 | .hover();
| ^
660 |
661 | await expect(
662 | page.locator( '.block-editor-inserter__preview' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:659:5
|
[webkit] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L659
2) [webkit] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@Firefox, @WebKit) › shows block preview when hovering over block in inserter
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.hover: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r1b:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r1d:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
657 | .getByRole( 'listbox', { name: 'Text' } )
658 | .getByRole( 'option', { name: 'Paragraph' } )
> 659 | .hover();
| ^
660 |
661 | await expect(
662 | page.locator( '.block-editor-inserter__preview' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:659:5
|
[webkit] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L659
2) [webkit] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@Firefox, @WebKit) › shows block preview when hovering over block in inserter
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.hover: Error: strict mode violation: getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' }) resolved to 2 elements:
1) <button id=":r1b:" tabindex="0" type="button" role="option" data-active-item="true" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph is-next-40px-default-size">…</button> aka getByRole('option', { name: 'Paragraph', exact: true })
2) <button id=":r1d:" type="button" role="option" tabindex="-1" class="components-button block-editor-block-types-list__item editor-block-list-item-paragraph/date is-next-40px-default-size">…</button> aka getByRole('option', { name: '(WD4D) Date-enabled Paragraph' })
Call log:
- waiting for getByRole('listbox', { name: 'Text' }).getByRole('option', { name: 'Paragraph' })
657 | .getByRole( 'listbox', { name: 'Text' } )
658 | .getByRole( 'option', { name: 'Paragraph' } )
> 659 | .hover();
| ^
660 |
661 | await expect(
662 | page.locator( '.block-editor-inserter__preview' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:659:5
|
Playwright - 7
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 flaky
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation
2 skipped
195 passed (6.6m)
|
🎭 Playwright Run Summary
2 failed
[chromium] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@Firefox, @WebKit) › inserts a block in proper place after having clicked `Browse All` from block appender
[chromium] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@Firefox, @WebKit) › shows block preview when hovering over block in inserter
1 skipped
186 passed (10.0m)
|
🎭 Playwright Run Summary
4 failed
[chromium] › editor/various/block-bindings/custom-sources.spec.js:600:3 › Registered sources › setValues › should be possible to edit the value of the url custom field from the button
[chromium] › editor/various/block-hierarchy-navigation.spec.js:40:2 › Navigating the block hierarchy › should navigate using the list view sidebar
[chromium] › editor/various/block-hierarchy-navigation.spec.js:95:2 › Navigating the block hierarchy › should navigate block hierarchy using only the keyboard
[chromium] › editor/various/block-hierarchy-navigation.spec.js:190:2 › Navigating the block hierarchy › should select the wrapper div for a group
1 skipped
197 passed (10.5m)
|
🎭 Playwright Run Summary
2 failed
[firefox] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@Firefox, @WebKit) › inserts a block in proper place after having clicked `Browse All` from block appender
[firefox] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@Firefox, @WebKit) › shows block preview when hovering over block in inserter
3 skipped
186 passed (10.5m)
|
🎭 Playwright Run Summary
1 skipped
195 passed (9.3m)
|
🎭 Playwright Run Summary
4 failed
[chromium] › editor/plugins/allowed-blocks.spec.js:19:2 › Allowed Blocks Filter › should restrict the allowed blocks in the inserter
[chromium] › editor/plugins/block-variations.spec.js:62:2 › Block variations › Search for the Paragraph block with 2 additional variations
[chromium] › editor/plugins/child-blocks.spec.js:69:2 › Child Blocks › display in a parent block with allowedItems
[chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:64:2 › Allowed Blocks Setting on InnerBlocks › limits the blocks if the allowed blocks setting was set
1 skipped
190 passed (10.4m)
|
🎭 Playwright Run Summary
2 failed
[webkit] › editor/various/inserting-blocks.spec.js:531:2 › Inserting blocks (@Firefox, @WebKit) › inserts a block in proper place after having clicked `Browse All` from block appender
[webkit] › editor/various/inserting-blocks.spec.js:647:2 › Inserting blocks (@Firefox, @WebKit) › shows block preview when hovering over block in inserter
1 skipped
195 passed (11.1m)
|
🎭 Playwright Run Summary
199 passed (10.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
|
70.8 MB |
|
flaky-tests-report
|
988 Bytes |
|