Skip to content

Improve text and design of the block removal warnings #90261

Improve text and design of the block removal warnings

Improve text and design of the block removal warnings #90261

Triggered via pull request December 7, 2023 17:49
@annezazuannezazu
synchronize #56869
fix/52392
Status Failure
Total duration 18m 24s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Report to GitHub
2m 29s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 8 notices
[chromium] › site-editor/block-removal.spec.js:23:2 › Site editor block removal prompt › should appear when attempting to remove Query Block: test/e2e/specs/site-editor/block-removal.spec.js#L38
1) [chromium] › site-editor/block-removal.spec.js:23:2 › Site editor block removal prompt › should appear when attempting to remove Query Block Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Query Loop displays a list of posts or pages.') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Query Loop displays a list of posts or pages.') 36 | await expect( 37 | page.getByText( 'Query Loop displays a list of posts or pages.' ) > 38 | ).toBeVisible(); | ^ 39 | } ); 40 | 41 | test( 'should appear when attempting to remove Post Template Block', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/block-removal.spec.js:38:5
[chromium] › site-editor/block-removal.spec.js:23:2 › Site editor block removal prompt › should appear when attempting to remove Query Block: test/e2e/specs/site-editor/block-removal.spec.js#L38
1) [chromium] › site-editor/block-removal.spec.js:23:2 › Site editor block removal prompt › should appear when attempting to remove Query Block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Query Loop displays a list of posts or pages.') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Query Loop displays a list of posts or pages.') 36 | await expect( 37 | page.getByText( 'Query Loop displays a list of posts or pages.' ) > 38 | ).toBeVisible(); | ^ 39 | } ); 40 | 41 | test( 'should appear when attempting to remove Post Template Block', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/block-removal.spec.js:38:5
[chromium] › site-editor/block-removal.spec.js:23:2 › Site editor block removal prompt › should appear when attempting to remove Query Block: test/e2e/specs/site-editor/block-removal.spec.js#L38
1) [chromium] › site-editor/block-removal.spec.js:23:2 › Site editor block removal prompt › should appear when attempting to remove Query Block Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Query Loop displays a list of posts or pages.') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Query Loop displays a list of posts or pages.') 36 | await expect( 37 | page.getByText( 'Query Loop displays a list of posts or pages.' ) > 38 | ).toBeVisible(); | ^ 39 | } ); 40 | 41 | test( 'should appear when attempting to remove Post Template Block', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/block-removal.spec.js:38:5
[chromium] › site-editor/block-removal.spec.js:41:2 › Site editor block removal prompt › should appear when attempting to remove Post Template Block: test/e2e/specs/site-editor/block-removal.spec.js#L62
2) [chromium] › site-editor/block-removal.spec.js:41:2 › Site editor block removal prompt › should appear when attempting to remove Post Template Block Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Post Template displays each post or page in a Query Loop.') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Post Template displays each post or page in a Query Loop.') 60 | 'Post Template displays each post or page in a Query Loop.' 61 | ) > 62 | ).toBeVisible(); | ^ 63 | } ); 64 | 65 | test( 'should not appear when attempting to remove something else', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/block-removal.spec.js:62:5
[chromium] › site-editor/block-removal.spec.js:41:2 › Site editor block removal prompt › should appear when attempting to remove Post Template Block: test/e2e/specs/site-editor/block-removal.spec.js#L62
2) [chromium] › site-editor/block-removal.spec.js:41:2 › Site editor block removal prompt › should appear when attempting to remove Post Template Block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Post Template displays each post or page in a Query Loop.') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Post Template displays each post or page in a Query Loop.') 60 | 'Post Template displays each post or page in a Query Loop.' 61 | ) > 62 | ).toBeVisible(); | ^ 63 | } ); 64 | 65 | test( 'should not appear when attempting to remove something else', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/block-removal.spec.js:62:5
[chromium] › site-editor/block-removal.spec.js:41:2 › Site editor block removal prompt › should appear when attempting to remove Post Template Block: test/e2e/specs/site-editor/block-removal.spec.js#L62
2) [chromium] › site-editor/block-removal.spec.js:41:2 › Site editor block removal prompt › should appear when attempting to remove Post Template Block Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Post Template displays each post or page in a Query Loop.') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Post Template displays each post or page in a Query Loop.') 60 | 'Post Template displays each post or page in a Query Loop.' 61 | ) > 62 | ).toBeVisible(); | ^ 63 | } ); 64 | 65 | test( 'should not appear when attempting to remove something else', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/block-removal.spec.js:62:5
[chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon: test/e2e/specs/site-editor/font-library.spec.js#L42
3) [chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for frameLocator('[name="editor-canvas"]').locator('body') ============================================================ 40 | postType: 'wp_template', 41 | } ); > 42 | await editor.canvas.locator( 'body' ).click(); | ^ 43 | } ); 44 | 45 | test( 'should display the "Manage Fonts" icon', async ( { page } ) => { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/font-library.spec.js:42:42
Playwright - 6
Process completed with exit code 1.
🎭 Playwright Run Summary
1 skipped 105 passed (5.2m)
🎭 Playwright Run Summary
133 passed (6.7m)
🎭 Playwright Run Summary
1 skipped 152 passed (6.7m)
🎭 Playwright Run Summary
135 passed (6.3m)
🎭 Playwright Run Summary
2 skipped 119 passed (7.0m)
🎭 Playwright Run Summary
145 passed (6.7m)
🎭 Playwright Run Summary
2 failed [chromium] › site-editor/block-removal.spec.js:23:2 › Site editor block removal prompt › should appear when attempting to remove Query Block [chromium] › site-editor/block-removal.spec.js:41:2 › Site editor block removal prompt › should appear when attempting to remove Post Template Block 1 flaky [chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon 1 skipped 111 passed (7.5m)
🎭 Playwright Run Summary
11 skipped 151 passed (7.6m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
9.6 MB
flaky-tests-report Expired
2.94 KB