Improve Block Toolbar Semantics/Accessibility #85878
Annotations
4 errors and 1 notice
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
|
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
|
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
|
|
|
The logs for this run have expired and are no longer available.
Loading