Block editor: hooks: manage save props in one place #90853
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/site-editor/block-removal.spec.js#L40
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('Post or page content will not be displayed if you delete these blocks.')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Post or page content will not be displayed if you delete these blocks.')
38 | 'Post or page content will not be displayed if you delete these blocks.'
39 | )
> 40 | ).toBeVisible();
| ^
41 | } );
42 |
43 | 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:40:5
|
Run the tests:
test/e2e/specs/site-editor/block-removal.spec.js#L40
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('Post or page content will not be displayed if you delete these blocks.')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Post or page content will not be displayed if you delete these blocks.')
38 | 'Post or page content will not be displayed if you delete these blocks.'
39 | )
> 40 | ).toBeVisible();
| ^
41 | } );
42 |
43 | 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:40:5
|
Run the tests:
test/e2e/specs/site-editor/block-removal.spec.js#L40
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('Post or page content will not be displayed if you delete these blocks.')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Post or page content will not be displayed if you delete these blocks.')
38 | 'Post or page content will not be displayed if you delete these blocks.'
39 | )
> 40 | ).toBeVisible();
| ^
41 | } );
42 |
43 | 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:40:5
|
Run the tests:
test/e2e/specs/site-editor/block-removal.spec.js#L56
2) [chromium] › site-editor/block-removal.spec.js:43:2 › Site editor block removal prompt › should appear when attempting to remove Post Template Block
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'List View' }).getByRole('link', { name: 'Post Template' })
============================================================
54 |
55 | // Select and try to remove Post Template block
> 56 | await listView.getByRole( 'link', { name: 'Post Template' } ).click();
| ^
57 | await page.keyboard.press( 'Backspace' );
58 |
59 | // Expect the block removal prompt to have appeared
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/block-removal.spec.js:56:65
|
Run the tests:
test/e2e/specs/site-editor/block-removal.spec.js#L56
2) [chromium] › site-editor/block-removal.spec.js:43:2 › Site editor block removal prompt › should appear when attempting to remove Post Template Block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'List View' }).getByRole('link', { name: 'Post Template' })
============================================================
54 |
55 | // Select and try to remove Post Template block
> 56 | await listView.getByRole( 'link', { name: 'Post Template' } ).click();
| ^
57 | await page.keyboard.press( 'Backspace' );
58 |
59 | // Expect the block removal prompt to have appeared
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/block-removal.spec.js:56:65
|
Run the tests:
test/e2e/specs/site-editor/block-removal.spec.js#L56
2) [chromium] › site-editor/block-removal.spec.js:43:2 › Site editor block removal prompt › should appear when attempting to remove Post Template Block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'List View' }).getByRole('link', { name: 'Post Template' })
============================================================
54 |
55 | // Select and try to remove Post Template block
> 56 | await listView.getByRole( 'link', { name: 'Post Template' } ).click();
| ^
57 | await page.keyboard.press( 'Backspace' );
58 |
59 | // Expect the block removal prompt to have appeared
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/block-removal.spec.js:56:65
|
Run the tests:
test/e2e/specs/site-editor/block-removal.spec.js#L83
3) [chromium] › site-editor/block-removal.spec.js:67:2 › Site editor block removal prompt › should not appear when attempting to remove something else
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'List View' }).getByRole('link', { name: 'Post Template' })
============================================================
81 |
82 | // Select its Post Template inner block
> 83 | await listView.getByRole( 'link', { name: 'Post Template' } ).click();
| ^
84 |
85 | // Reveal its inner blocks in the list view
86 | await page.keyboard.press( 'ArrowRight' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/block-removal.spec.js:83:65
|
Run the tests:
test/e2e/specs/site-editor/block-removal.spec.js#L83
3) [chromium] › site-editor/block-removal.spec.js:67:2 › Site editor block removal prompt › should not appear when attempting to remove something else
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'List View' }).getByRole('link', { name: 'Post Template' })
============================================================
81 |
82 | // Select its Post Template inner block
> 83 | await listView.getByRole( 'link', { name: 'Post Template' } ).click();
| ^
84 |
85 | // Reveal its inner blocks in the list view
86 | await page.keyboard.press( 'ArrowRight' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/block-removal.spec.js:83:65
|
Run the tests:
test/e2e/specs/site-editor/block-removal.spec.js#L83
3) [chromium] › site-editor/block-removal.spec.js:67:2 › Site editor block removal prompt › should not appear when attempting to remove something else
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'List View' }).getByRole('link', { name: 'Post Template' })
============================================================
81 |
82 | // Select its Post Template inner block
> 83 | await listView.getByRole( 'link', { name: 'Post Template' } ).click();
| ^
84 |
85 | // Reveal its inner blocks in the list view
86 | await page.keyboard.press( 'ArrowRight' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/block-removal.spec.js:83:65
|
Run the tests:
test/e2e/specs/site-editor/template-revert.spec.js#L78
4) [chromium] › site-editor/template-revert.spec.js:61:2 › Template Revert › should show the original content after revert
Error: expect(received).toEqual(expected) // deep equality
- Expected - 6
+ 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":""}} -->
<div class="wp-block-query">
- <!-- wp:post-template -->
+
+ <!-- wp:post-template -->
- <!-- wp:post-title {"isLink":true} /-->
+ <!-- wp:post-title {"isLink":true} /-->
- <!-- wp:post-excerpt /-->
+
+ <!-- wp:post-excerpt /-->
- <!-- /wp:post-template -->
+ <!-- /wp:post-template -->
</div>
<!-- /wp:query -->
-
76 | const contentAfter =
77 | await templateRevertUtils.getCurrentSiteEditorContent();
> 78 | expect( contentAfter ).toEqual( contentBefore );
| ^
79 | } );
80 |
81 | 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:78:26
|
Run the tests
7 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:43:2 › Site editor block removal prompt › should appear when attempting to remove Post Template Block
[chromium] › site-editor/block-removal.spec.js:67:2 › Site editor block removal prompt › should not appear when attempting to remove something else
[chromium] › site-editor/template-revert.spec.js:61:2 › Template Revert › should show the original content after revert
[chromium] › site-editor/template-revert.spec.js:158:2 › Template Revert › should show the original content after revert, clicking undo then redo in the header toolbar
[chromium] › site-editor/template-revert.spec.js:190:2 › Template Revert › should show the original content after revert, clicking undo in the notice then undo in the header toolbar
[chromium] › widgets/customizing-widgets.spec.js:236:2 › Widgets Customizer › should move focus to the 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
107 passed (9.7m)
|
The logs for this run have expired and are no longer available.
Loading