Skip to content

Improve Block Toolbar Semantics/Accessibility #85780

Improve Block Toolbar Semantics/Accessibility

Improve Block Toolbar Semantics/Accessibility #85780

Triggered via pull request October 6, 2023 21:56
Status Failure
Total duration 32m 45s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 30s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 4 notices
[webkit] › editor/various/multi-block-selection.spec.js:1175:2 › Multi-block selection › should partially select with shift + click (@webkit): test/e2e/specs/editor/various/multi-block-selection.spec.js#L1218
1) [webkit] › editor/various/multi-block-selection.spec.js:1175:2 › Multi-block selection › should partially select with shift + click (@WebKit) Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "<strong>1</strong>|2", + "content": "|", }, "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 1216 | // Ensure selection is in the correct place. 1217 | await page.keyboard.type( '|' ); > 1218 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 1219 | { 1220 | name: 'core/paragraph', 1221 | attributes: { content: '<strong>1</strong>|2' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1218:3
[chromium] › site-editor/template-part.spec.js:363:2 › Template Part › Keeps focus in place on undo in template parts: test/e2e/specs/site-editor/template-part.spec.js#L408
1) [chromium] › site-editor/template-part.spec.js:363:2 › Template Part › Keeps focus in place on undo in template parts Error: expect(received).toBeFocused() Call log: - expect.toBeFocused with timeout 5000ms - waiting for locator('role=button[name="Change level"i]') - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - waiting for locator('role=button[name="Change level"i]') - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" 406 | await expect( 407 | page.locator( 'role=button[name="Change level"i]' ) > 408 | ).toBeFocused(); | ^ 409 | } ); 410 | } ); 411 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:408:5
[chromium] › site-editor/template-part.spec.js:363:2 › Template Part › Keeps focus in place on undo in template parts: test/e2e/specs/site-editor/template-part.spec.js#L408
1) [chromium] › site-editor/template-part.spec.js:363:2 › Template Part › Keeps focus in place on undo in template parts Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeFocused() Call log: - expect.toBeFocused with timeout 5000ms - waiting for locator('role=button[name="Change level"i]') - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - waiting for locator('role=button[name="Change level"i]') - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" 406 | await expect( 407 | page.locator( 'role=button[name="Change level"i]' ) > 408 | ).toBeFocused(); | ^ 409 | } ); 410 | } ); 411 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:408:5
[chromium] › site-editor/template-part.spec.js:363:2 › Template Part › Keeps focus in place on undo in template parts: test/e2e/specs/site-editor/template-part.spec.js#L408
1) [chromium] › site-editor/template-part.spec.js:363:2 › Template Part › Keeps focus in place on undo in template parts Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeFocused() Call log: - expect.toBeFocused with timeout 5000ms - waiting for locator('role=button[name="Change level"i]') - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - waiting for locator('role=button[name="Change level"i]') - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r2h:" type="button" tabindex="-1" data-comm…>…</button> - unexpected value "not focused" 406 | await expect( 407 | page.locator( 'role=button[name="Change level"i]' ) > 408 | ).toBeFocused(); | ^ 409 | } ); 410 | } ); 411 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:408:5
Playwright - 3
Process completed with exit code 1.
[chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded: test/e2e/specs/editor/blocks/cover.spec.js#L90
1) [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded Error: expect(received).toHaveCSS(expected) Expected string: "rgb(179, 179, 179)" Received string: "rgb(255, 255, 255)" Call log: - expect.toHaveCSS with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background') - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background') - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" 88 | const overlay = coverBlock.locator( '.wp-block-cover__background' ); 89 | > 90 | await expect( overlay ).toHaveCSS( | ^ 91 | 'background-color', 92 | 'rgb(179, 179, 179)' 93 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:90:27
[chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded: test/e2e/specs/editor/blocks/cover.spec.js#L90
1) [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveCSS(expected) Expected string: "rgb(179, 179, 179)" Received string: "rgb(255, 255, 255)" Call log: - expect.toHaveCSS with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background') - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background') - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" 88 | const overlay = coverBlock.locator( '.wp-block-cover__background' ); 89 | > 90 | await expect( overlay ).toHaveCSS( | ^ 91 | 'background-color', 92 | 'rgb(179, 179, 179)' 93 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:90:27
[chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded: test/e2e/specs/editor/blocks/cover.spec.js#L90
1) [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveCSS(expected) Expected string: "rgb(179, 179, 179)" Received string: "rgb(255, 255, 255)" Call log: - expect.toHaveCSS with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background') - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background') - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" 88 | const overlay = coverBlock.locator( '.wp-block-cover__background' ); 89 | > 90 | await expect( overlay ).toHaveCSS( | ^ 91 | 'background-color', 92 | 'rgb(179, 179, 179)' 93 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:90:27
Playwright - 1
Process completed with exit code 1.
🎭 Playwright Run Summary
231 passed (19.2m)
🎭 Playwright Run Summary
1 flaky [webkit] › editor/various/multi-block-selection.spec.js:1175:2 › Multi-block selection › should partially select with shift + click (@WebKit) 2 skipped 219 passed (19.7m)
🎭 Playwright Run Summary
1 failed [chromium] › site-editor/template-part.spec.js:363:2 › Template Part › Keeps focus in place on undo in template parts 1 skipped 229 passed (19.4m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded 11 skipped 216 passed (19.3m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
12.9 MB
flaky-tests-report Expired
4.62 KB