E2E Tests: Add Block Hooks Test Coverage #124743
Annotations
5 errors, 8 warnings, and 8 notices
[chromium] › editor/plugins/block-hooks.spec.js:37:2 › Block Hooks API › should insert hooked block as last child of Post Content block in editor:
test/e2e/specs/editor/plugins/block-hooks.spec.js#L42
1) [chromium] › editor/plugins/block-hooks.spec.js:37:2 › Block Hooks API › should insert hooked block as last child of Post Content block in editor
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 4
+ Received + 1
<!-- wp:paragraph -->
<p>This is a test paragraph.</p>
- <!-- /wp:paragraph --><!-- wp:paragraph {"backgroundColor":"accent"} -->
- <p class="has-background has-accent-background-color">
- This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.
- </p><!-- /wp:paragraph -->
+ <!-- /wp:paragraph --><!-- wp:paragraph {"backgroundColor":"accent"} --><p class="has-background has-accent-background-color">This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.</p><!-- /wp:paragraph --><!-- wp:paragraph {"backgroundColor":"accent"} --><p class="has-background has-accent-background-color">This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.</p><!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
40 | } ) => {
41 | await admin.editPost( post.id );
> 42 | await expect
| ^
43 | .poll( editor.getEditedPostContent )
44 | .toBe(
45 | anchorBlockMarkup +
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/block-hooks.spec.js:42:3
|
[chromium] › editor/plugins/block-hooks.spec.js:37:2 › Block Hooks API › should insert hooked block as last child of Post Content block in editor:
test/e2e/specs/editor/plugins/block-hooks.spec.js#L42
1) [chromium] › editor/plugins/block-hooks.spec.js:37:2 › Block Hooks API › should insert hooked block as last child of Post Content block in editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 4
+ Received + 1
<!-- wp:paragraph -->
<p>This is a test paragraph.</p>
- <!-- /wp:paragraph --><!-- wp:paragraph {"backgroundColor":"accent"} -->
- <p class="has-background has-accent-background-color">
- This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.
- </p><!-- /wp:paragraph -->
+ <!-- /wp:paragraph --><!-- wp:paragraph {"backgroundColor":"accent"} --><p class="has-background has-accent-background-color">This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.</p><!-- /wp:paragraph --><!-- wp:paragraph {"backgroundColor":"accent"} --><p class="has-background has-accent-background-color">This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.</p><!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
40 | } ) => {
41 | await admin.editPost( post.id );
> 42 | await expect
| ^
43 | .poll( editor.getEditedPostContent )
44 | .toBe(
45 | anchorBlockMarkup +
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/block-hooks.spec.js:42:3
|
[chromium] › editor/plugins/block-hooks.spec.js:37:2 › Block Hooks API › should insert hooked block as last child of Post Content block in editor:
test/e2e/specs/editor/plugins/block-hooks.spec.js#L42
1) [chromium] › editor/plugins/block-hooks.spec.js:37:2 › Block Hooks API › should insert hooked block as last child of Post Content block in editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 4
+ Received + 1
<!-- wp:paragraph -->
<p>This is a test paragraph.</p>
- <!-- /wp:paragraph --><!-- wp:paragraph {"backgroundColor":"accent"} -->
- <p class="has-background has-accent-background-color">
- This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.
- </p><!-- /wp:paragraph -->
+ <!-- /wp:paragraph --><!-- wp:paragraph {"backgroundColor":"accent"} --><p class="has-background has-accent-background-color">This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.</p><!-- /wp:paragraph --><!-- wp:paragraph {"backgroundColor":"accent"} --><p class="has-background has-accent-background-color">This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.</p><!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
40 | } ) => {
41 | await admin.editPost( post.id );
> 42 | await expect
| ^
43 | .poll( editor.getEditedPostContent )
44 | .toBe(
45 | anchorBlockMarkup +
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/block-hooks.spec.js:42:3
|
Playwright - 2
Process completed with exit code 1.
|
Merge Artifacts
No artifacts found matching pattern 'flaky-tests-report*'
|
Playwright - 5
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Playwright - 8
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Playwright - 2
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Playwright - 3
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Playwright - 7
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Playwright - 4
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Playwright - 1
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Playwright - 6
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
🎭 Playwright Run Summary
2 skipped
200 passed (5.7m)
|
🎭 Playwright Run Summary
1 skipped
184 passed (7.2m)
|
🎭 Playwright Run Summary
1 skipped
174 passed (7.7m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › editor/plugins/block-hooks.spec.js:37:2 › Block Hooks API › should insert hooked block as last child of Post Content block in editor
1 skipped
211 passed (8.5m)
|
🎭 Playwright Run Summary
1 skipped
224 passed (9.2m)
|
🎭 Playwright Run Summary
3 skipped
188 passed (10.7m)
|
🎭 Playwright Run Summary
207 passed (10.3m)
|
🎭 Playwright Run Summary
1 skipped
206 passed (10.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
|
3.7 MB |
|