Template Actions: Fix console error when resetting template #104944
Annotations
2 errors, 1 warning, and 8 notices
[chromium] › site-editor/zoom-out.spec.js:40:2 › Zoom Out › Clicking on inserter while on zoom-out should open the patterns tab on the inserter:
test/e2e/specs/site-editor/zoom-out.spec.js#L55
1) [chromium] › site-editor/zoom-out.spec.js:40:2 › Zoom Out › Clicking on inserter while on zoom-out should open the patterns tab on the inserter
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByLabel('Add pattern')
Expected: 2
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByLabel('Add pattern')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
53 | await expect( page.getByLabel( 'Add pattern' ) ).toHaveCount( 3 );
54 | await page.getByLabel( 'Add pattern' ).first().click();
> 55 | await expect( page.getByLabel( 'Add pattern' ) ).toHaveCount( 2 );
| ^
56 |
57 | await expect(
58 | page
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/zoom-out.spec.js:55:52
|
[firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@firefox:
packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts#L57
1) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for locator('.edit-site-canvas-loader, .edit-site-canvas-spinner') to be visible
at ../../../packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:57
55 | // Wait for the canvas loader to appear first, so that the locator that
56 | // waits for the hidden state doesn't resolve prematurely.
> 57 | await canvasLoader.waitFor( { state: 'visible' } );
| ^
58 | await canvasLoader.waitFor( {
59 | state: 'hidden',
60 | // Bigger timeout is needed for larger entities, like the Large Post
at Admin.visitSiteEditor (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:57:22)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:353:4
|
🎭 Playwright Run Summary
1 flaky
[chromium] › site-editor/zoom-out.spec.js:40:2 › Zoom Out › Clicking on inserter while on zoom-out should open the patterns tab on the inserter
3 skipped
186 passed (6.0m)
|
🎭 Playwright Run Summary
182 passed (8.6m)
|
🎭 Playwright Run Summary
1 skipped
188 passed (9.2m)
|
|
🎭 Playwright Run Summary
1 skipped
188 passed (9.4m)
|
🎭 Playwright Run Summary
190 passed (9.5m)
|
🎭 Playwright Run Summary
1 skipped
189 passed (9.4m)
|
🎭 Playwright Run Summary
222 passed (12.1m)
|
Report to GitHub
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ./packages/report-flaky-tests. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
5.08 MB |
|
flaky-tests-report
Expired
|
2.06 KB |
|