Skip to content

E2E Tests: Add Block Hooks Test Coverage #124803

E2E Tests: Add Block Hooks Test Coverage

E2E Tests: Add Block Hooks Test Coverage #124803

Triggered via pull request February 12, 2025 17:09
Status Failure
Total duration 23m 43s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
3s
Merge Artifacts
Report to GitHub
0s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 6 notices
Playwright - 4
Process completed with exit code 1.
Playwright - 2
Process completed with exit code 1.
[chromium] › site-editor/template-revert.spec.js:82:2 › Template Revert › should show the original content after revert and page reload: test/e2e/specs/site-editor/template-revert.spec.js#L102
1) [chromium] › site-editor/template-revert.spec.js:82:2 › Template Revert › should show the original content after revert and page reload Error: expect(received).toEqual(expected) // deep equality - Expected - 9 + Received + 8 - <!-- wp:template-part {"slug":"header","tagName":"header","theme":"emptytheme"} /--> + <!-- 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":""}} --> + + <!-- 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 --> + <div class="wp-block-query"><!-- wp:post-template --> - <!-- wp:post-title {"isLink":true} /--> + <!-- wp:post-title {"isLink":true} /--> - <!-- wp:post-excerpt /--> + + <!-- wp:post-excerpt /--> - <!-- /wp:post-template --> - </div> + <!-- /wp:post-template --></div> <!-- /wp:query --> - 100 | const contentAfter = 101 | await templateRevertUtils.getCurrentSiteEditorContent(); > 102 | expect( contentAfter ).toEqual( contentBefore ); | ^ 103 | } ); 104 | 105 | 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:102:26
🎭 Playwright Run Summary
1 flaky [chromium] › site-editor/template-revert.spec.js:82:2 › Template Revert › should show the original content after revert and page reload 2 skipped 200 passed (5.8m)
🎭 Playwright Run Summary
1 skipped 184 passed (7.5m)
🎭 Playwright Run Summary
1 skipped 173 passed (8.1m)
🎭 Playwright Run Summary
207 passed (8.9m)
🎭 Playwright Run Summary
3 skipped 188 passed (10.1m)
🎭 Playwright Run Summary
1 skipped 206 passed (11.2m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
2.32 MB
flaky-tests-report
1.52 KB