Site and Post Editor: Unify the DocumentBar component #89950
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Puppeteer
15m 24s
Report to GitHub
2m 28s
Annotations
11 errors and 8 notices
[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:
test/e2e/specs/site-editor/font-library.spec.js#L46
1) [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
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('button', { name: /styles/i })
============================================================
44 |
45 | test( 'should display the "Manage Fonts" icon', async ( { page } ) => {
> 46 | await page.getByRole( 'button', { name: /styles/i } ).click();
| ^
47 | await page
48 | .getByRole( 'button', { name: /typography styles/i } )
49 | .click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/font-library.spec.js:46:58
|
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode:
test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L152
1) [chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('role=region[name="Editor top bar"i]').getByRole('heading', { level: 1 })
Expected string: "Editing template: Single Entries"
Received string: "Editing template:Single Entries"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=region[name="Editor top bar"i]').getByRole('heading', { level: 1 })
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
150 | await expect(
151 | this.editorTopBar.getByRole( 'heading[level=1]' )
> 152 | ).toHaveText( 'Editing template: Single Entries' );
| ^
153 | }
154 |
155 | async createPostAndSaveDraft() {
at PostEditorTemplateMode.switchToTemplateMode (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:152:5)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:51:3
|
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode:
test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L152
1) [chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('role=region[name="Editor top bar"i]').getByRole('heading', { level: 1 })
Expected string: "Editing template: Single Entries"
Received string: "Editing template:Single Entries"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=region[name="Editor top bar"i]').getByRole('heading', { level: 1 })
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
150 | await expect(
151 | this.editorTopBar.getByRole( 'heading[level=1]' )
> 152 | ).toHaveText( 'Editing template: Single Entries' );
| ^
153 | }
154 |
155 | async createPostAndSaveDraft() {
at PostEditorTemplateMode.switchToTemplateMode (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:152:5)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:51:3
|
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode:
test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L152
1) [chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('role=region[name="Editor top bar"i]').getByRole('heading', { level: 1 })
Expected string: "Editing template: Single Entries"
Received string: "Editing template:Single Entries"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=region[name="Editor top bar"i]').getByRole('heading', { level: 1 })
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Single Entries"
150 | await expect(
151 | this.editorTopBar.getByRole( 'heading[level=1]' )
> 152 | ).toHaveText( 'Editing template: Single Entries' );
| ^
153 | }
154 |
155 | async createPostAndSaveDraft() {
at PostEditorTemplateMode.switchToTemplateMode (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:152:5)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:51:3
|
Playwright - 5
Process completed with exit code 1.
|
[webkit] › editor/various/multi-block-selection.spec.js:1168:2 › Multi-block selection › should partially select with shift + click (@webkit):
test/e2e/specs/editor/various/multi-block-selection.spec.js#L1211
1) [webkit] › editor/various/multi-block-selection.spec.js:1168:2 › Multi-block selection › should partially select with shift + click (@WebKit)
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "<strong>1</strong>|2",
+ "content": "|",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
1209 | // Ensure selection is in the correct place.
1210 | await page.keyboard.type( '|' );
> 1211 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
1212 | {
1213 | name: 'core/paragraph',
1214 | attributes: { content: '<strong>1</strong>|2' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1211:41
|
Puppeteer:
packages/e2e-tests/specs/widgets/editing-widgets.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-plugin-disables-the-css-animations"] .deactivate a` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29)
at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-plugin.js:29:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/config/setup-test-framework.js:255:2)
|
Puppeteer:
packages/e2e-tests/specs/widgets/editing-widgets.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-plugin-disables-the-css-animations"] .deactivate a` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29)
at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-plugin.js:29:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/config/setup-test-framework.js:255:2)
|
Puppeteer:
packages/e2e-tests/specs/widgets/editing-widgets.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-plugin-disables-the-css-animations"] .deactivate a` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29)
at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-plugin.js:29:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/config/setup-test-framework.js:255:2)
|
Puppeteer:
packages/e2e-tests/specs/widgets/editing-widgets.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-plugin-disables-the-css-animations"] .deactivate a` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29)
at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-plugin.js:29:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/config/setup-test-framework.js:255:2)
|
Puppeteer
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 skipped
105 passed (5.4m)
|
🎭 Playwright Run Summary
133 passed (6.8m)
|
🎭 Playwright Run Summary
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
113 passed (6.8m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result
1 skipped
151 passed (7.3m)
|
🎭 Playwright Run Summary
11 skipped
151 passed (7.0m)
|
🎭 Playwright Run Summary
135 passed (6.9m)
|
🎭 Playwright Run Summary
2 skipped
119 passed (7.1m)
|
🎭 Playwright Run Summary
1 flaky
[webkit] › editor/various/multi-block-selection.spec.js:1168:2 › Multi-block selection › should partially select with shift + click (@WebKit)
144 passed (7.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
10.6 MB |
|
flaky-tests-report
Expired
|
9.09 KB |
|