Improve text and design of the block removal warnings #90238
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Puppeteer
16m 15s
Report to GitHub
2m 43s
Annotations
14 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.
|
Puppeteer:
packages/e2e-tests/specs/site-editor/settings-sidebar.test.js#L813
TimeoutError: waiting for selector `div[data-slug="emptytheme"].active` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29)
at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-theme.js:31:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/site-editor/settings-sidebar.test.js:42:3)
|
Puppeteer:
packages/e2e-tests/specs/site-editor/settings-sidebar.test.js#L813
TimeoutError: waiting for selector `div[data-slug="emptytheme"].active` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29)
at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-theme.js:31:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/site-editor/settings-sidebar.test.js:42:3)
|
Puppeteer:
packages/e2e-tests/specs/site-editor/settings-sidebar.test.js#L813
TimeoutError: waiting for selector `div[data-slug="emptytheme"].active` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29)
at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-theme.js:31:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/site-editor/settings-sidebar.test.js:42:3)
|
Puppeteer:
packages/e2e-tests/specs/site-editor/settings-sidebar.test.js#L813
TimeoutError: waiting for selector `div[data-slug="emptytheme"].active` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29)
at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-theme.js:31:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/site-editor/settings-sidebar.test.js:42:3)
|
Puppeteer:
packages/e2e-tests/specs/site-editor/settings-sidebar.test.js#L813
TimeoutError: waiting for selector `div[data-slug="emptytheme"].active` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29)
at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-theme.js:31:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/site-editor/settings-sidebar.test.js:42:3)
|
Puppeteer
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 skipped
105 passed (5.3m)
|
🎭 Playwright Run Summary
145 passed (6.7m)
|
🎭 Playwright Run Summary
135 passed (6.3m)
|
🎭 Playwright Run Summary
133 passed (6.8m)
|
🎭 Playwright Run Summary
2 skipped
119 passed (7.1m)
|
🎭 Playwright Run Summary
1 skipped
152 passed (6.9m)
|
🎭 Playwright Run Summary
11 skipped
151 passed (7.5m)
|
🎭 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.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
9.57 MB |
|
flaky-tests-report
Expired
|
4.23 KB |
|