Rich text: remove double record sync on mount #103053
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/site-editor/pages.spec.js#L29
1) [chromium] › site-editor/pages.spec.js:93:2 › Pages › create a new page, edit template and toggle page template preview
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Content' }).getByRole('document', { name: 'Empty block; start writing or type forward slash to choose a block' })
27 | name: 'Empty block; start writing or type forward slash to choose a block',
28 | } )
> 29 | .click();
| ^
30 |
31 | // Insert into Page Content using default block.
32 | await editor.canvas
at addPageContent (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:29:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:99:9
|
Run the tests:
test/e2e/specs/site-editor/pages.spec.js#L29
1) [chromium] › site-editor/pages.spec.js:93:2 › Pages › create a new page, edit template and toggle page template preview
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Content' }).getByRole('document', { name: 'Empty block; start writing or type forward slash to choose a block' })
27 | name: 'Empty block; start writing or type forward slash to choose a block',
28 | } )
> 29 | .click();
| ^
30 |
31 | // Insert into Page Content using default block.
32 | await editor.canvas
at addPageContent (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:29:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:99:9
|
Run the tests:
test/e2e/specs/site-editor/pages.spec.js#L29
1) [chromium] › site-editor/pages.spec.js:93:2 › Pages › create a new page, edit template and toggle page template preview
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Content' }).getByRole('document', { name: 'Empty block; start writing or type forward slash to choose a block' })
27 | name: 'Empty block; start writing or type forward slash to choose a block',
28 | } )
> 29 | .click();
| ^
30 |
31 | // Insert into Page Content using default block.
32 | await editor.canvas
at addPageContent (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:29:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:99:9
|
Run the tests:
test/e2e/specs/site-editor/push-to-global-styles.spec.js#L47
2) [chromium] › site-editor/push-to-global-styles.spec.js:23:2 › Push to Global Styles button › should apply Heading block styles to all Heading blocks
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Advanced' })
45 | // Go to block settings and open the Advanced panel
46 | await topBar.getByRole( 'button', { name: 'Settings' } ).click();
> 47 | await page.getByRole( 'button', { name: 'Advanced' } ).click();
| ^
48 |
49 | // Push button should be disabled
50 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/push-to-global-styles.spec.js:47:58
|
Run the tests:
test/e2e/specs/site-editor/push-to-global-styles.spec.js#L47
2) [chromium] › site-editor/push-to-global-styles.spec.js:23:2 › Push to Global Styles button › should apply Heading block styles to all Heading blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Advanced' })
45 | // Go to block settings and open the Advanced panel
46 | await topBar.getByRole( 'button', { name: 'Settings' } ).click();
> 47 | await page.getByRole( 'button', { name: 'Advanced' } ).click();
| ^
48 |
49 | // Push button should be disabled
50 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/push-to-global-styles.spec.js:47:58
|
Run the tests:
test/e2e/specs/site-editor/push-to-global-styles.spec.js#L47
2) [chromium] › site-editor/push-to-global-styles.spec.js:23:2 › Push to Global Styles button › should apply Heading block styles to all Heading blocks
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Advanced' })
45 | // Go to block settings and open the Advanced panel
46 | await topBar.getByRole( 'button', { name: 'Settings' } ).click();
> 47 | await page.getByRole( 'button', { name: 'Advanced' } ).click();
| ^
48 |
49 | // Push button should be disabled
50 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/push-to-global-styles.spec.js:47:58
|
Run the tests:
test/e2e/specs/site-editor/style-variations.spec.js#L196
3) [chromium] › site-editor/style-variations.spec.js:179:2 › Global styles variations › should reflect style variations in the styles applied to the editor
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: frameLocator('[name="editor-canvas"]').locator('text="My awesome paragraph"')
Expected string: "rgb(25, 25, 17)"
Received string: ""
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('text="My awesome paragraph"')
194 | 'text="My awesome paragraph"'
195 | );
> 196 | await expect( paragraph ).toHaveCSS( 'color', 'rgb(25, 25, 17)' );
| ^
197 |
198 | const body = editor.canvas.locator( 'css=body' );
199 | await expect( body ).toHaveCSS(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/style-variations.spec.js:196:29
|
Run the tests:
test/e2e/specs/site-editor/style-variations.spec.js#L196
3) [chromium] › site-editor/style-variations.spec.js:179:2 › Global styles variations › should reflect style variations in the styles applied to the editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: frameLocator('[name="editor-canvas"]').locator('text="My awesome paragraph"')
Expected string: "rgb(25, 25, 17)"
Received string: ""
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('text="My awesome paragraph"')
194 | 'text="My awesome paragraph"'
195 | );
> 196 | await expect( paragraph ).toHaveCSS( 'color', 'rgb(25, 25, 17)' );
| ^
197 |
198 | const body = editor.canvas.locator( 'css=body' );
199 | await expect( body ).toHaveCSS(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/style-variations.spec.js:196:29
|
Run the tests:
test/e2e/specs/site-editor/style-variations.spec.js#L196
3) [chromium] › site-editor/style-variations.spec.js:179:2 › Global styles variations › should reflect style variations in the styles applied to the editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: frameLocator('[name="editor-canvas"]').locator('text="My awesome paragraph"')
Expected string: "rgb(25, 25, 17)"
Received string: ""
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('text="My awesome paragraph"')
194 | 'text="My awesome paragraph"'
195 | );
> 196 | await expect( paragraph ).toHaveCSS( 'color', 'rgb(25, 25, 17)' );
| ^
197 |
198 | const body = editor.canvas.locator( 'css=body' );
199 | await expect( body ).toHaveCSS(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/style-variations.spec.js:196:29
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/select-blocks.ts#L26
4) [chromium] › site-editor/template-part.spec.js:80:2 › Template Part › can convert a single block to a template part
TimeoutError: locator.getAttribute: Timeout 10000ms exceeded.
Call log:
- waiting for frameLocator('[name="editor-canvas"]').locator('p').locator('text="Test 2"')
at ../../../packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26
24 | : endSelectorOrLocator;
25 |
> 26 | const startClientId = await startBlock.getAttribute( 'data-block' );
| ^
27 | const endClientId = await endBlock?.getAttribute( 'data-block' );
28 |
29 | if ( endClientId ) {
at Editor.selectBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26:41)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:99:16
|
Run the tests
21 failed
[chromium] › site-editor/pages.spec.js:93:2 › Pages › create a new page, edit template and toggle page template preview
[chromium] › site-editor/push-to-global-styles.spec.js:23:2 › Push to Global Styles button › should apply Heading block styles to all Heading blocks
[chromium] › site-editor/style-variations.spec.js:179:2 › Global styles variations › should reflect style variations in the styles applied to the editor
[chromium] › site-editor/template-part.spec.js:80:2 › Template Part › can convert a single block to a template part
[chromium] › site-editor/template-part.spec.js:119:2 › Template Part › can convert multiple blocks to a template part
[chromium] › site-editor/template-part.spec.js:179:2 › Template Part › can detach blocks from a template part
[chromium] › site-editor/template-part.spec.js:257:2 › Template Part › doesn't throw a block error when clicking on a link
[chromium] › site-editor/template-part.spec.js:365:2 › Template Part › Keeps focus in place on undo in template parts
[chromium] › site-editor/zoom-out.spec.js:44:2 › Zoom Out › Zoom-out button should not steal focus when a block is focused
[chromium] › widgets/customizing-widgets.spec.js:45:2 › Widgets Customizer › should add blocks ─
[chromium] › widgets/customizing-widgets.spec.js:107:2 › Widgets Customizer › should open the inspector panel
[chromium] › widgets/customizing-widgets.spec.js:236:2 › Widgets Customizer › should move focus to the block
[chromium] › widgets/customizing-widgets.spec.js:294:2 › Widgets Customizer › should clear block selection
[chromium] › widgets/customizing-widgets.spec.js:439:2 › Widgets Customizer › should handle esc key events
[chromium] › widgets/customizing-widgets.spec.js:482:2 › Widgets Customizer › should move (inner) blocks to another sidebar
[chromium] › widgets/customizing-widgets.spec.js:537:2 › Widgets Customizer › should stay in block settings after making a change in that area
[chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter
[chromium] › widgets/editing-widgets.spec.js:148:2 › Widgets screen › Should insert content using the inline inserter
[chromium] › widgets/editing-widgets.spec.js:501:2 › Widgets screen › allows widgets to be moved between widget areas using the dropdown in the block toolbar
[chromium] › widgets/editing-widgets.spec.js:543:2 › Widgets screen › Allows widget deletion to be undone
[chromium] › widgets/editing-widgets.spec.js:627:2 › Widgets screen › allows blocks to be added on mobile viewports
1 flaky
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation
3 skipped
160 passed (18.9m)
|
Loading