SlotFill: use observableMap everywhere, remove manual rerendering #120421
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L135
1) [chromium] › editor/various/rich-text.spec.js:122:2 › RichText (@Firefox, @WebKit) › should return focus when pressing formatting button (-firefox)
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "Some <strong>bold</strong>.",
+ "content": ".",
},
"name": "core/paragraph",
},
]
133 | await page.keyboard.type( '.' );
134 |
> 135 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
136 | {
137 | name: 'core/paragraph',
138 | attributes: { content: 'Some <strong>bold</strong>.' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:135:38
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L135
1) [chromium] › editor/various/rich-text.spec.js:122:2 › RichText (@Firefox, @WebKit) › should return focus when pressing formatting button (-firefox)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "Some <strong>bold</strong>.",
+ "content": ".",
},
"name": "core/paragraph",
},
]
133 | await page.keyboard.type( '.' );
134 |
> 135 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
136 | {
137 | name: 'core/paragraph',
138 | attributes: { content: 'Some <strong>bold</strong>.' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:135:38
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L135
1) [chromium] › editor/various/rich-text.spec.js:122:2 › RichText (@Firefox, @WebKit) › should return focus when pressing formatting button (-firefox)
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "Some <strong>bold</strong>.",
+ "content": ".",
},
"name": "core/paragraph",
},
]
133 | await page.keyboard.type( '.' );
134 |
> 135 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
136 | {
137 | name: 'core/paragraph',
138 | attributes: { content: 'Some <strong>bold</strong>.' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:135:38
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
2) [chromium] › editor/various/rich-text.spec.js:605:2 › RichText (@Firefox, @WebKit) › should preserve internal formatting (-webkit, -firefox)
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="More"]')
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:617:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
2) [chromium] › editor/various/rich-text.spec.js:605:2 › RichText (@Firefox, @WebKit) › should preserve internal formatting (-webkit, -firefox)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="More"]')
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:617:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
2) [chromium] › editor/various/rich-text.spec.js:605:2 › RichText (@Firefox, @WebKit) › should preserve internal formatting (-webkit, -firefox)
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="More"]')
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:617:3
|
Run the tests:
test/e2e/specs/editor/various/scheduling.spec.js#L46
3) [chromium] › editor/various/scheduling.spec.js:27:4 › Scheduling › Timezone Pacific/Honolulu › Should change publishing button text from "Publish" to "Schedule"
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Change date' })
44 | await page
45 | .getByRole( 'button', { name: 'Change date' } )
> 46 | .click();
| ^
47 |
48 | // Change the publishing date to a year in the future.
49 | await page
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/scheduling.spec.js:46:7
|
Run the tests:
test/e2e/specs/editor/various/scheduling.spec.js#L46
3) [chromium] › editor/various/scheduling.spec.js:27:4 › Scheduling › Timezone Pacific/Honolulu › Should change publishing button text from "Publish" to "Schedule"
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Change date' })
44 | await page
45 | .getByRole( 'button', { name: 'Change date' } )
> 46 | .click();
| ^
47 |
48 | // Change the publishing date to a year in the future.
49 | await page
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/scheduling.spec.js:46:7
|
Run the tests:
test/e2e/specs/editor/various/scheduling.spec.js#L46
3) [chromium] › editor/various/scheduling.spec.js:27:4 › Scheduling › Timezone Pacific/Honolulu › Should change publishing button text from "Publish" to "Schedule"
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Change date' })
44 | await page
45 | .getByRole( 'button', { name: 'Change date' } )
> 46 | .click();
| ^
47 |
48 | // Change the publishing date to a year in the future.
49 | await page
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/scheduling.spec.js:46:7
|
Run the tests:
test/e2e/specs/editor/various/scheduling.spec.js#L46
4) [chromium] › editor/various/scheduling.spec.js:27:4 › Scheduling › Timezone UTC › Should change publishing button text from "Publish" to "Schedule"
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Change date' })
44 | await page
45 | .getByRole( 'button', { name: 'Change date' } )
> 46 | .click();
| ^
47 |
48 | // Change the publishing date to a year in the future.
49 | await page
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/scheduling.spec.js:46:7
|
Run the tests
46 failed
[chromium] › editor/various/rich-text.spec.js:122:2 › RichText (@Firefox, @WebKit) › should return focus when pressing formatting button (-firefox)
[chromium] › editor/various/rich-text.spec.js:605:2 › RichText (@Firefox, @WebKit) › should preserve internal formatting (-webkit, -firefox)
[chromium] › editor/various/scheduling.spec.js:27:4 › Scheduling › Timezone Pacific/Honolulu › Should change publishing button text from "Publish" to "Schedule"
[chromium] › editor/various/scheduling.spec.js:27:4 › Scheduling › Timezone UTC › Should change publishing button text from "Publish" to "Schedule"
[chromium] › editor/various/scheduling.spec.js:27:4 › Scheduling › Timezone Australia/Sydney › Should change publishing button text from "Publish" to "Schedule"
[chromium] › editor/various/scheduling.spec.js:65:2 › Scheduling › should keep date time UI focused when the previous and next month buttons are clicked
[chromium] › editor/various/sidebar-permalink.spec.js:61:2 › Sidebar Permalink › should render URL when post is public and publicly queryable
[chromium] › editor/various/sidebar.spec.js:16:2 › Sidebar › should have sidebar visible at the start with document sidebar active on desktop
[chromium] › editor/various/sidebar.spec.js:45:2 › Sidebar › should close the sidebar when resizing from desktop to mobile
[chromium] › editor/various/sidebar.spec.js:62:2 › Sidebar › should reopen sidebar the sidebar when resizing from mobile to desktop if the sidebar was closed automatically
[chromium] › editor/various/sidebar.spec.js:77:2 › Sidebar › should preserve tab order while changing active tab
[chromium] › editor/various/sidebar.spec.js:106:2 › Sidebar › should be possible to programmatically remove Document Settings panels
[chromium] › editor/various/switch-to-draft.spec.js:34:5 › Clicking "Switch to draft" on a published/scheduled post/page › should switch a schedule-ed post to draft in a large viewport
[chromium] › editor/various/switch-to-draft.spec.js:34:5 › Clicking "Switch to draft" on a published/scheduled post/page › should switch a schedule-ed page to draft in a large viewport
[chromium] › editor/various/switch-to-draft.spec.js:34:5 › Clicking "Switch to draft" on a published/scheduled post/page › should switch a schedule-ed post to draft in a small viewport
[chromium] › editor/various/switch-to-draft.spec.js:34:5 › Clicking "Switch to draft" on a published/scheduled post/page › should switch a schedule-ed page to draft in a small viewport
[chromium] › editor/various/switch-to-draft.spec.js:34:5 › Clicking "Switch to draft" on a published/scheduled post/page › should switch a publish-ed post to draft in a large viewport
[chromium] › editor/various/switch-to-draft.spec.js:34:5 › Clicking "Switch to draft" on a published/scheduled post/page › should switch a publish-ed page to draft in a large viewport
[chromium] › editor/various/switch-to-draft.spec.js:34:5 › Clicking "Switch to draft" on a published/scheduled post/page › should switch a publish-ed post to draft in a small viewport
[chromium] › editor/various/switch-to-draft.spec.js:34:5 › Clicking "Switch to draft" on a published/scheduled post/page › should switch a publish-ed page to draft in a small viewport
[chromium] › editor/various/taxonomies.spec.js:16:2 › Taxonomies › should be able to open the categories panel and create a new main category
[chromium] › editor/various/taxonomies.spec.js:64:2 › Taxonomies › should be able to open the tags panel and create a new tag
[chromium] › editor/various/taxonomies.spec.js:101:2 › Taxonomies › should be able to create a new tag with ' on the name
[chromium] › editor/various/template-resolution.spec.js:47:3 › Template resolution › `page_for_posts` setting › Post editor proper template resolution
[chromium] › editor/various/template-resolution.spec.js:68:3 › Template resolution › `page_for_posts` setting › Site editor proper template resolution
[chromium] › editor/various/write-design-mode.spec
|
Loading