Skip to content

Update: Move template actions to the editor store. #100835

Update: Move template actions to the editor store.

Update: Move template actions to the editor store. #100835

Triggered via pull request April 4, 2024 11:38
Status Failure
Total duration 23m 3s
Artifacts 2

end2end-test.yml

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

Annotations

10 errors, 9 warnings, and 8 notices
[chromium] › site-editor/template-revert.spec.js:29:2 › Template Revert › should delete the template after saving the reverted template: test/e2e/specs/site-editor/template-revert.spec.js#L57
1) [chromium] › site-editor/template-revert.spec.js:29:2 › Template Revert › should delete the template after saving the reverted template Error: Timed out 5000ms waiting for expect(locator).toBeHidden() Locator: locator('role=region[name="Editor settings"i]').locator('role=button[name="Actions"i]') Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 5000ms - waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name="Actions"i]') - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" 55 | 'role=region[name="Editor settings"i] >> role=button[name="Actions"i]' 56 | ) > 57 | ).toBeHidden(); | ^ 58 | } ); 59 | 60 | test( 'should show the original content after revert', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:57:5
[chromium] › site-editor/template-revert.spec.js:29:2 › Template Revert › should delete the template after saving the reverted template: test/e2e/specs/site-editor/template-revert.spec.js#L57
1) [chromium] › site-editor/template-revert.spec.js:29:2 › Template Revert › should delete the template after saving the reverted template Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeHidden() Locator: locator('role=region[name="Editor settings"i]').locator('role=button[name="Actions"i]') Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 5000ms - waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name="Actions"i]') - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" 55 | 'role=region[name="Editor settings"i] >> role=button[name="Actions"i]' 56 | ) > 57 | ).toBeHidden(); | ^ 58 | } ); 59 | 60 | test( 'should show the original content after revert', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:57:5
[chromium] › site-editor/template-revert.spec.js:29:2 › Template Revert › should delete the template after saving the reverted template: test/e2e/specs/site-editor/template-revert.spec.js#L57
1) [chromium] › site-editor/template-revert.spec.js:29:2 › Template Revert › should delete the template after saving the reverted template Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeHidden() Locator: locator('role=region[name="Editor settings"i]').locator('role=button[name="Actions"i]') Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 5000ms - waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name="Actions"i]') - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" - locator resolved to <button type="button" aria-haspopup="true" aria-label="A…>…</button> - unexpected value "visible" 55 | 'role=region[name="Editor settings"i] >> role=button[name="Actions"i]' 56 | ) > 57 | ).toBeHidden(); | ^ 58 | } ); 59 | 60 | test( 'should show the original content after revert', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:57:5
[chromium] › site-editor/template-revert.spec.js:79:2 › Template Revert › should show the original content after revert and page reload: test/e2e/specs/site-editor/template-revert.spec.js#L97
2) [chromium] › site-editor/template-revert.spec.js:79:2 › Template Revert › should show the original content after revert and page reload Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 4 @@ -5,5 +5,9 @@ <!-- wp:post-title {"isLink":true} /--> <!-- wp:post-excerpt /--> <!-- /wp:post-template --></div> <!-- /wp:query --> + + <!-- wp:paragraph --> + <p>Test</p> + <!-- /wp:paragraph --> 95 | const contentAfter = 96 | await templateRevertUtils.getCurrentSiteEditorContent(); > 97 | expect( contentAfter ).toEqual( contentBefore ); | ^ 98 | } ); 99 | 100 | test( 'should show the edited content after revert and clicking undo in the header toolbar', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:97:26
[chromium] › site-editor/template-revert.spec.js:79:2 › Template Revert › should show the original content after revert and page reload: test/e2e/specs/site-editor/template-revert.spec.js#L97
2) [chromium] › site-editor/template-revert.spec.js:79:2 › Template Revert › should show the original content after revert and page reload Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 4 @@ -5,5 +5,9 @@ <!-- wp:post-title {"isLink":true} /--> <!-- wp:post-excerpt /--> <!-- /wp:post-template --></div> <!-- /wp:query --> + + <!-- wp:paragraph --> + <p>Test</p> + <!-- /wp:paragraph --> 95 | const contentAfter = 96 | await templateRevertUtils.getCurrentSiteEditorContent(); > 97 | expect( contentAfter ).toEqual( contentBefore ); | ^ 98 | } ); 99 | 100 | test( 'should show the edited content after revert and clicking undo in the header toolbar', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:97:26
[chromium] › site-editor/template-revert.spec.js:79:2 › Template Revert › should show the original content after revert and page reload: test/e2e/specs/site-editor/template-revert.spec.js#L97
2) [chromium] › site-editor/template-revert.spec.js:79:2 › Template Revert › should show the original content after revert and page reload Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 4 @@ -5,5 +5,9 @@ <!-- wp:post-title {"isLink":true} /--> <!-- wp:post-excerpt /--> <!-- /wp:post-template --></div> <!-- /wp:query --> + + <!-- wp:paragraph --> + <p>Test</p> + <!-- /wp:paragraph --> 95 | const contentAfter = 96 | await templateRevertUtils.getCurrentSiteEditorContent(); > 97 | expect( contentAfter ).toEqual( contentBefore ); | ^ 98 | } ); 99 | 100 | test( 'should show the edited content after revert and clicking undo in the header toolbar', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:97:26
[chromium] › site-editor/template-revert.spec.js:100:2 › Template Revert › should show the edited content after revert and clicking undo in the header toolbar: test/e2e/specs/site-editor/template-revert.spec.js#L117
3) [chromium] › site-editor/template-revert.spec.js:100:2 › Template Revert › should show the edited content after revert and clicking undo in the header toolbar Error: expect(received).not.toEqual(expected) // deep equality Expected: not "<!-- wp:template-part {\"slug\":\"header\",\"theme\":\"emptytheme\",\"tagName\":\"header\"} /-->· <!-- wp:query {\"queryId\":1,\"query\":{\"offset\":0,\"postType\":\"post\",\"order\":\"desc\",\"orderBy\":\"date\",\"author\":\"\",\"search\":\"\",\"sticky\":\"\",\"perPage\":10}} --> <div class=\"wp-block-query\"><!-- wp:post-template --> <!-- wp:post-title {\"isLink\":true} /-->· <!-- wp:post-excerpt /--> <!-- /wp:post-template --></div> <!-- /wp:query -->· <!-- wp:paragraph --> <p>Test</p> <!-- /wp:paragraph -->" 115 | const contentAfterSave = 116 | await templateRevertUtils.getCurrentSiteEditorContent(); > 117 | expect( contentAfterSave ).not.toEqual( contentBefore ); | ^ 118 | 119 | // Undo revert by clicking header button and check state again. 120 | await page.click( at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:117:34
[chromium] › site-editor/template-revert.spec.js:100:2 › Template Revert › should show the edited content after revert and clicking undo in the header toolbar: test/e2e/specs/site-editor/template-revert.spec.js#L117
3) [chromium] › site-editor/template-revert.spec.js:100:2 › Template Revert › should show the edited content after revert and clicking undo in the header toolbar Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).not.toEqual(expected) // deep equality Expected: not "<!-- wp:template-part {\"slug\":\"header\",\"theme\":\"emptytheme\",\"tagName\":\"header\"} /-->· <!-- wp:query {\"queryId\":1,\"query\":{\"offset\":0,\"postType\":\"post\",\"order\":\"desc\",\"orderBy\":\"date\",\"author\":\"\",\"search\":\"\",\"sticky\":\"\",\"perPage\":10}} --> <div class=\"wp-block-query\"><!-- wp:post-template --> <!-- wp:post-title {\"isLink\":true} /-->· <!-- wp:post-excerpt /--> <!-- /wp:post-template --></div> <!-- /wp:query -->· <!-- wp:paragraph --> <p>Test</p> <!-- /wp:paragraph -->" 115 | const contentAfterSave = 116 | await templateRevertUtils.getCurrentSiteEditorContent(); > 117 | expect( contentAfterSave ).not.toEqual( contentBefore ); | ^ 118 | 119 | // Undo revert by clicking header button and check state again. 120 | await page.click( at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:117:34
[chromium] › site-editor/template-revert.spec.js:100:2 › Template Revert › should show the edited content after revert and clicking undo in the header toolbar: test/e2e/specs/site-editor/template-revert.spec.js#L117
3) [chromium] › site-editor/template-revert.spec.js:100:2 › Template Revert › should show the edited content after revert and clicking undo in the header toolbar Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).not.toEqual(expected) // deep equality Expected: not "<!-- wp:template-part {\"slug\":\"header\",\"theme\":\"emptytheme\",\"tagName\":\"header\"} /-->· <!-- wp:query {\"queryId\":1,\"query\":{\"offset\":0,\"postType\":\"post\",\"order\":\"desc\",\"orderBy\":\"date\",\"author\":\"\",\"search\":\"\",\"sticky\":\"\",\"perPage\":10}} --> <div class=\"wp-block-query\"><!-- wp:post-template --> <!-- wp:post-title {\"isLink\":true} /-->· <!-- wp:post-excerpt /--> <!-- /wp:post-template --></div> <!-- /wp:query -->· <!-- wp:paragraph --> <p>Test</p> <!-- /wp:paragraph -->" 115 | const contentAfterSave = 116 | await templateRevertUtils.getCurrentSiteEditorContent(); > 117 | expect( contentAfterSave ).not.toEqual( contentBefore ); | ^ 118 | 119 | // Undo revert by clicking header button and check state again. 120 | await page.click( at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:117:34
[chromium] › site-editor/template-revert.spec.js:60:2 › Template Revert › should show the original content after revert: test/e2e/specs/site-editor/template-revert.spec.js#L76
4) [chromium] › site-editor/template-revert.spec.js:60:2 › Template Revert › should show the original content after revert Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 4 @@ -5,5 +5,9 @@ <!-- wp:post-title {"isLink":true} /--> <!-- wp:post-excerpt /--> <!-- /wp:post-template --></div> <!-- /wp:query --> + + <!-- wp:paragraph --> + <p>Test</p> + <!-- /wp:paragraph --> 74 | const contentAfter = 75 | await templateRevertUtils.getCurrentSiteEditorContent(); > 76 | expect( contentAfter ).toEqual( contentBefore ); | ^ 77 | } ); 78 | 79 | test( 'should show the original content after revert and page reload', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:76:26
Playwright - 6
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 5
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Report to GitHub
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, ./packages/report-flaky-tests. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
3 failed [chromium] › site-editor/template-revert.spec.js:29:2 › Template Revert › should delete the template after saving the reverted template [chromium] › site-editor/template-revert.spec.js:79:2 › Template Revert › should show the original content after revert and page reload [chromium] › site-editor/template-revert.spec.js:100:2 › Template Revert › should show the edited content after revert and clicking undo in the header toolbar 1 flaky [chromium] › site-editor/template-revert.spec.js:60:2 › Template Revert › should show the original content after revert 3 skipped 179 passed (6.8m)
🎭 Playwright Run Summary
3 skipped 144 passed (8.1m)
🎭 Playwright Run Summary
1 skipped 176 passed (8.9m)
🎭 Playwright Run Summary
185 passed (8.9m)
🎭 Playwright Run Summary
11 skipped 180 passed (9.2m)
🎭 Playwright Run Summary
1 skipped 191 passed (9.9m)
🎭 Playwright Run Summary
1 skipped 179 passed (9.4m)
🎭 Playwright Run Summary
220 passed (12.5m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
13.7 MB
flaky-tests-report Expired
1.02 KB