Fix wrong notification message shown when an entity is moved to trash #85814
Annotations
2 errors and 1 notice
Run the tests:
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
|
Run the tests:
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
|
Run the tests
1 flaky
[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
218 passed (16.5m)
|
The logs for this run have expired and are no longer available.
Loading