Skip to content

Remove the verb Toggle from the Block Inserter button. #116369

Remove the verb Toggle from the Block Inserter button.

Remove the verb Toggle from the Block Inserter button. #116369

Triggered via pull request October 9, 2024 11:01
Status Failure
Total duration 20m 1s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
11s
Merge Artifacts
Report to GitHub
0s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

28 errors and 8 notices
[chromium] › site-editor/site-editor-inserter.spec.js:41:2 › Site Editor Inserter › should close the inserter when clicking on the toggle button: test/e2e/specs/site-editor/site-editor-inserter.spec.js#L62
1) [chromium] › site-editor/site-editor-inserter.spec.js:41:2 › Site Editor Inserter › should close the inserter when clicking on the toggle button Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r4:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 60 | .toMatchObject( [ ...beforeBlocks, { name: 'core/buttons' } ] ); 61 | > 62 | await inserterButton.click(); | ^ 63 | 64 | await expect( blockLibrary ).toBeHidden(); 65 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-inserter.spec.js:62:24
[chromium] › site-editor/site-editor-inserter.spec.js:41:2 › Site Editor Inserter › should close the inserter when clicking on the toggle button: test/e2e/specs/site-editor/site-editor-inserter.spec.js#L62
1) [chromium] › site-editor/site-editor-inserter.spec.js:41:2 › Site Editor Inserter › should close the inserter when clicking on the toggle button Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r4:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 60 | .toMatchObject( [ ...beforeBlocks, { name: 'core/buttons' } ] ); 61 | > 62 | await inserterButton.click(); | ^ 63 | 64 | await expect( blockLibrary ).toBeHidden(); 65 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-inserter.spec.js:62:24
[chromium] › site-editor/site-editor-inserter.spec.js:41:2 › Site Editor Inserter › should close the inserter when clicking on the toggle button: test/e2e/specs/site-editor/site-editor-inserter.spec.js#L62
1) [chromium] › site-editor/site-editor-inserter.spec.js:41:2 › Site Editor Inserter › should close the inserter when clicking on the toggle button Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r4:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 60 | .toMatchObject( [ ...beforeBlocks, { name: 'core/buttons' } ] ); 61 | > 62 | await inserterButton.click(); | ^ 63 | 64 | await expect( blockLibrary ).toBeHidden(); 65 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-inserter.spec.js:62:24
Playwright - 6
Process completed with exit code 1.
[chromium] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L406
1) [chromium] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@Firefox, @WebKit) › should close the inserter when clicking on the toggle button Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 404 | .toMatchObject( [ { name: 'core/buttons' } ] ); 405 | > 406 | await inserterButton.click(); | ^ 407 | 408 | await expect( blockLibrary ).toBeHidden(); 409 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:406:24
[chromium] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L406
1) [chromium] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@Firefox, @WebKit) › should close the inserter when clicking on the toggle button Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 404 | .toMatchObject( [ { name: 'core/buttons' } ] ); 405 | > 406 | await inserterButton.click(); | ^ 407 | 408 | await expect( blockLibrary ).toBeHidden(); 409 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:406:24
[chromium] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L406
1) [chromium] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@Firefox, @WebKit) › should close the inserter when clicking on the toggle button Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 404 | .toMatchObject( [ { name: 'core/buttons' } ] ); 405 | > 406 | await inserterButton.click(); | ^ 407 | 408 | await expect( blockLibrary ).toBeHidden(); 409 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:406:24
[chromium] › editor/various/pattern-overrides.spec.js:30:2 › Pattern Overrides › Create a pattern with overrides: test/e2e/specs/editor/various/pattern-overrides.spec.js#L158
2) [chromium] › editor/various/pattern-overrides.spec.js:30:2 › Pattern Overrides › Create a pattern with overrides › Create a post and insert the pattern with overrides Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected) Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Pattern' }).first().getByRole('document', { name: 'Block: Paragraph' }).last() Expected string: "true" Received string: "" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Pattern' }).first().getByRole('document', { name: 'Block: Paragraph' }).last() - locator resolved to <p tabindex="-1" role="document" data-empty="false" aria-multiline="true" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-764a9cb7-8ddd-4225-a0f9-c989623ee46e" data-block="764a9cb7-8ddd-4225-a0f9-c989623ee46e" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-editing-disabled wp-block-paragraph rich-text">This one can't</p> - unexpected value "null" - locator resolved to <p tabindex="-1" role="document" data-empty="false" aria-multiline="true" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-764a9cb7-8ddd-4225-a0f9-c989623ee46e" data-block="764a9cb7-8ddd-4225-a0f9-c989623ee46e" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-editing-disabled wp-block-paragraph rich-text">This one can't</p> - unexpected value "null" - locator resolved to <p tabindex="-1" role="document" data-empty="false" aria-multiline="true" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-764a9cb7-8ddd-4225-a0f9-c989623ee46e" data-block="764a9cb7-8ddd-4225-a0f9-c989623ee46e" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-editing-disabled wp-block-paragraph rich-text">This one can't</p> - unexpected value "null" - locator resolved to <p tabindex="-1" role="document" data-empty="false" aria-multiline="true" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-764a9cb7-8ddd-4225-a0f9-c989623ee46e" data-block="764a9cb7-8ddd-4225-a0f9-c989623ee46e" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-editing-disabled wp-block-paragraph rich-text">This one can't</p> - unexpected value "null" - locator resolved to <p tabindex="-1" role="document" data-empty="false" aria-multiline="true" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-764a9cb7-8ddd-4225-a0f9-c989623ee46e" data-block="764a9cb7-8ddd-4225-a0f9-c989623ee46e" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-editing-disabled wp-block-paragraph rich-text">This one can't</p> - unexpected value "null" - locator resolved to <p tabindex="-1" role="document" data-empty="false" aria-multiline="true" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-764a9cb7-8ddd-4225-a0f9-c989623ee46e" data-block="764a9cb7-8ddd-4225-a0f9-c989623ee46e" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-editing-disabled wp-block-paragraph rich-text">This one can't</p> - unexpected value "null" - locator resolved to <p tabindex="-1" role="document" data-empty="false" aria-multiline="true" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-a
Playwright - 4
Process completed with exit code 1.
[chromium] › editor/various/block-visibility.spec.js:29:2 › Block Visibility › should hide/show the block: test/e2e/specs/editor/various/block-visibility.spec.js#L60
1) [chromium] › editor/various/block-visibility.spec.js:29:2 › Block Visibility › should hide/show the block Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 58 | ).toBeHidden(); 59 | > 60 | await page.getByRole( 'button', { name: 'Block Inserter' } ).click(); | ^ 61 | 62 | // Show heading block again. 63 | await BlockVisibilityUtils.openBlockVisibilityManager(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-visibility.spec.js:60:64
[chromium] › editor/various/block-visibility.spec.js:29:2 › Block Visibility › should hide/show the block: test/e2e/specs/editor/various/block-visibility.spec.js#L60
1) [chromium] › editor/various/block-visibility.spec.js:29:2 › Block Visibility › should hide/show the block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 58 | ).toBeHidden(); 59 | > 60 | await page.getByRole( 'button', { name: 'Block Inserter' } ).click(); | ^ 61 | 62 | // Show heading block again. 63 | await BlockVisibilityUtils.openBlockVisibilityManager(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-visibility.spec.js:60:64
[chromium] › editor/various/block-visibility.spec.js:29:2 › Block Visibility › should hide/show the block: test/e2e/specs/editor/various/block-visibility.spec.js#L60
1) [chromium] › editor/various/block-visibility.spec.js:29:2 › Block Visibility › should hide/show the block Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 58 | ).toBeHidden(); 59 | > 60 | await page.getByRole( 'button', { name: 'Block Inserter' } ).click(); | ^ 61 | 62 | // Show heading block again. 63 | await BlockVisibilityUtils.openBlockVisibilityManager(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-visibility.spec.js:60:64
[chromium] › editor/various/block-visibility.spec.js:98:2 › Block Visibility › should hide/show all blocks in a category at once: test/e2e/specs/editor/various/block-visibility.spec.js#L123
2) [chromium] › editor/various/block-visibility.spec.js:98:2 › Block Visibility › should hide/show all blocks in a category at once Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 121 | ).toBeHidden(); 122 | > 123 | await page.getByRole( 'button', { name: 'Block Inserter' } ).click(); | ^ 124 | 125 | // Show Media category blocks again. 126 | await BlockVisibilityUtils.openBlockVisibilityManager(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-visibility.spec.js:123:64
[chromium] › editor/various/block-visibility.spec.js:98:2 › Block Visibility › should hide/show all blocks in a category at once: test/e2e/specs/editor/various/block-visibility.spec.js#L123
2) [chromium] › editor/various/block-visibility.spec.js:98:2 › Block Visibility › should hide/show all blocks in a category at once Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 121 | ).toBeHidden(); 122 | > 123 | await page.getByRole( 'button', { name: 'Block Inserter' } ).click(); | ^ 124 | 125 | // Show Media category blocks again. 126 | await BlockVisibilityUtils.openBlockVisibilityManager(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-visibility.spec.js:123:64
[chromium] › editor/various/block-visibility.spec.js:98:2 › Block Visibility › should hide/show all blocks in a category at once: test/e2e/specs/editor/various/block-visibility.spec.js#L123
2) [chromium] › editor/various/block-visibility.spec.js:98:2 › Block Visibility › should hide/show all blocks in a category at once Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 121 | ).toBeHidden(); 122 | > 123 | await page.getByRole( 'button', { name: 'Block Inserter' } ).click(); | ^ 124 | 125 | // Show Media category blocks again. 126 | await BlockVisibilityUtils.openBlockVisibilityManager(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-visibility.spec.js:123:64
Playwright - 3
Process completed with exit code 1.
[chromium] › editor/blocks/image.spec.js:423:2 › Image › can be replaced by dragging-and-dropping images from the inserter: test/e2e/specs/editor/blocks/image.spec.js#L443
1) [chromium] › editor/blocks/image.spec.js:423:2 › Image › can be replaced by dragging-and-dropping images from the inserter Error: locator.getAttribute: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 441 | } ); 442 | const isClosed = > 443 | ( await blockInserter.getAttribute( 'aria-pressed' ) ) === | ^ 444 | 'false'; 445 | 446 | if ( isClosed ) { at openMediaTab (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:443:27) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:491:9
[chromium] › editor/blocks/image.spec.js:423:2 › Image › can be replaced by dragging-and-dropping images from the inserter: test/e2e/specs/editor/blocks/image.spec.js#L443
1) [chromium] › editor/blocks/image.spec.js:423:2 › Image › can be replaced by dragging-and-dropping images from the inserter Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.getAttribute: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 441 | } ); 442 | const isClosed = > 443 | ( await blockInserter.getAttribute( 'aria-pressed' ) ) === | ^ 444 | 'false'; 445 | 446 | if ( isClosed ) { at openMediaTab (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:443:27) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:491:9
[chromium] › editor/blocks/image.spec.js:423:2 › Image › can be replaced by dragging-and-dropping images from the inserter: test/e2e/specs/editor/blocks/image.spec.js#L443
1) [chromium] › editor/blocks/image.spec.js:423:2 › Image › can be replaced by dragging-and-dropping images from the inserter Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.getAttribute: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 441 | } ); 442 | const isClosed = > 443 | ( await blockInserter.getAttribute( 'aria-pressed' ) ) === | ^ 444 | 'false'; 445 | 446 | if ( isClosed ) { at openMediaTab (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:443:27) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:491:9
Playwright - 1
Process completed with exit code 1.
[webkit] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L406
1) [webkit] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@Firefox, @WebKit) › should close the inserter when clicking on the toggle button Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 404 | .toMatchObject( [ { name: 'core/buttons' } ] ); 405 | > 406 | await inserterButton.click(); | ^ 407 | 408 | await expect( blockLibrary ).toBeHidden(); 409 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:406:24
[webkit] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L406
1) [webkit] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@Firefox, @WebKit) › should close the inserter when clicking on the toggle button Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 404 | .toMatchObject( [ { name: 'core/buttons' } ] ); 405 | > 406 | await inserterButton.click(); | ^ 407 | 408 | await expect( blockLibrary ).toBeHidden(); 409 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:406:24
[webkit] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L406
1) [webkit] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@Firefox, @WebKit) › should close the inserter when clicking on the toggle button Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 404 | .toMatchObject( [ { name: 'core/buttons' } ] ); 405 | > 406 | await inserterButton.click(); | ^ 407 | 408 | await expect( blockLibrary ).toBeHidden(); 409 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:406:24
Playwright - 7
Process completed with exit code 1.
[firefox] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L406
1) [firefox] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@Firefox, @WebKit) › should close the inserter when clicking on the toggle button Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 404 | .toMatchObject( [ { name: 'core/buttons' } ] ); 405 | > 406 | await inserterButton.click(); | ^ 407 | 408 | await expect( blockLibrary ).toBeHidden(); 409 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:406:24
[firefox] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L406
1) [firefox] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@Firefox, @WebKit) › should close the inserter when clicking on the toggle button Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 404 | .toMatchObject( [ { name: 'core/buttons' } ] ); 405 | > 406 | await inserterButton.click(); | ^ 407 | 408 | await expect( blockLibrary ).toBeHidden(); 409 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:406:24
[firefox] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L406
1) [firefox] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@Firefox, @WebKit) › should close the inserter when clicking on the toggle button Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Block Inserter' }) resolved to 2 elements: 1) <button id=":r1:" type="button" aria-pressed="true" aria-expanded="true" data-active-item="true" data-toolbar-item="true" aria-label="Block Inserter" class="components-button editor-document-tools__inserter-toggle is-primary is-pressed has-icon">…</button> aka getByLabel('Block Inserter', { exact: true }) 2) <button type="button" aria-label="Close block inserter" class="components-button block-editor-tabbed-sidebar__close-button is-small has-icon">…</button> aka getByLabel('Close block inserter') Call log: - waiting for getByRole('button', { name: 'Block Inserter' }) 404 | .toMatchObject( [ { name: 'core/buttons' } ] ); 405 | > 406 | await inserterButton.click(); | ^ 407 | 408 | await expect( blockLibrary ).toBeHidden(); 409 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:406:24
Playwright - 8
Process completed with exit code 1.
🎭 Playwright Run Summary
1 failed [chromium] › site-editor/site-editor-inserter.spec.js:41:2 › Site Editor Inserter › should close the inserter when clicking on the toggle button 3 skipped 192 passed (6.5m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@Firefox, @WebKit) › should close the inserter when clicking on the toggle button 1 flaky [chromium] › editor/various/pattern-overrides.spec.js:30:2 › Pattern Overrides › Create a pattern with overrides 1 skipped 185 passed (10.1m)
🎭 Playwright Run Summary
1 skipped 195 passed (9.3m)
🎭 Playwright Run Summary
2 failed [chromium] › editor/various/block-visibility.spec.js:29:2 › Block Visibility › should hide/show the block [chromium] › editor/various/block-visibility.spec.js:98:2 › Block Visibility › should hide/show all blocks in a category at once 1 skipped 198 passed (9.8m)
🎭 Playwright Run Summary
1 skipped 194 passed (9.4m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/blocks/image.spec.js:423:2 › Image › can be replaced by dragging-and-dropping images from the inserter 198 passed (10.2m)
🎭 Playwright Run Summary
1 failed [webkit] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@Firefox, @WebKit) › should close the inserter when clicking on the toggle button 1 skipped 196 passed (10.7m)
🎭 Playwright Run Summary
1 failed [firefox] › editor/various/inserting-blocks.spec.js:384:2 › Inserting blocks (@Firefox, @WebKit) › should close the inserter when clicking on the toggle button 3 skipped 186 passed (10.4m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
44.4 MB
flaky-tests-report
1.43 KB