Site and Post Editor: Unify the DocumentBar component #90014
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Puppeteer
15m 53s
Report to GitHub
2m 31s
Annotations
12 errors and 8 notices
[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.
|
[chromium] › site-editor/title.spec.js:15:2 › Site editor title › displays the selected template name in the title for the index template:
test/e2e/specs/site-editor/title.spec.js#L29
1) [chromium] › site-editor/title.spec.js:15:2 › Site editor title › displays the selected template name in the title for the index template
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('role=region[name="Editor top bar"i]').locator('role=heading[level=1]')
Expected string: "Editing template: Index"
Received string: "Editing template:Index"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=region[name="Editor top bar"i]').locator('role=heading[level=1]')
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
27 | );
28 |
> 29 | await expect( title ).toHaveText( 'Editing template: Index' );
| ^
30 | } );
31 |
32 | test( 'displays the selected template name in the title for the header template', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/title.spec.js:29:25
|
[chromium] › site-editor/title.spec.js:15:2 › Site editor title › displays the selected template name in the title for the index template:
test/e2e/specs/site-editor/title.spec.js#L29
1) [chromium] › site-editor/title.spec.js:15:2 › Site editor title › displays the selected template name in the title for the index template
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('role=region[name="Editor top bar"i]').locator('role=heading[level=1]')
Expected string: "Editing template: Index"
Received string: "Editing template:Index"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=region[name="Editor top bar"i]').locator('role=heading[level=1]')
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
27 | );
28 |
> 29 | await expect( title ).toHaveText( 'Editing template: Index' );
| ^
30 | } );
31 |
32 | test( 'displays the selected template name in the title for the header template', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/title.spec.js:29:25
|
[chromium] › site-editor/title.spec.js:15:2 › Site editor title › displays the selected template name in the title for the index template:
test/e2e/specs/site-editor/title.spec.js#L29
1) [chromium] › site-editor/title.spec.js:15:2 › Site editor title › displays the selected template name in the title for the index template
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('role=region[name="Editor top bar"i]').locator('role=heading[level=1]')
Expected string: "Editing template: Index"
Received string: "Editing template:Index"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=region[name="Editor top bar"i]').locator('role=heading[level=1]')
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template:Index"
27 | );
28 |
> 29 | await expect( title ).toHaveText( 'Editing template: Index' );
| ^
30 | } );
31 |
32 | test( 'displays the selected template name in the title for the header template', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/title.spec.js:29:25
|
[chromium] › site-editor/title.spec.js:32:2 › Site editor title › displays the selected template name in the title for the header template:
test/e2e/specs/site-editor/title.spec.js#L46
2) [chromium] › site-editor/title.spec.js:32:2 › Site editor title › displays the selected template name in the title for the header template
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('role=region[name="Editor top bar"i]').locator('role=heading[level=1]')
Expected string: "Editing template part: header"
Received string: "Editing template part:header"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=region[name="Editor top bar"i]').locator('role=heading[level=1]')
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
44 | );
45 |
> 46 | await expect( title ).toHaveText( 'Editing template part: header' );
| ^
47 | } );
48 | } );
49 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/title.spec.js:46:25
|
[chromium] › site-editor/title.spec.js:32:2 › Site editor title › displays the selected template name in the title for the header template:
test/e2e/specs/site-editor/title.spec.js#L46
2) [chromium] › site-editor/title.spec.js:32:2 › Site editor title › displays the selected template name in the title for the header template
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('role=region[name="Editor top bar"i]').locator('role=heading[level=1]')
Expected string: "Editing template part: header"
Received string: "Editing template part:header"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=region[name="Editor top bar"i]').locator('role=heading[level=1]')
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
44 | );
45 |
> 46 | await expect( title ).toHaveText( 'Editing template part: header' );
| ^
47 | } );
48 | } );
49 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/title.spec.js:46:25
|
[chromium] › site-editor/title.spec.js:32:2 › Site editor title › displays the selected template name in the title for the header template:
test/e2e/specs/site-editor/title.spec.js#L46
2) [chromium] › site-editor/title.spec.js:32:2 › Site editor title › displays the selected template name in the title for the header template
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('role=region[name="Editor top bar"i]').locator('role=heading[level=1]')
Expected string: "Editing template part: header"
Received string: "Editing template part:header"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=region[name="Editor top bar"i]').locator('role=heading[level=1]')
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" cla…>…</h1>
- unexpected value "Editing template part:header"
44 | );
45 |
> 46 | await expect( title ).toHaveText( 'Editing template part: header' );
| ^
47 | } );
48 | } );
49 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/title.spec.js:46:25
|
[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
3) [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
|
Playwright - 6
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 skipped
105 passed (5.4m)
|
🎭 Playwright Run Summary
135 passed (6.2m)
|
🎭 Playwright Run Summary
145 passed (6.7m)
|
🎭 Playwright Run Summary
133 passed (7.0m)
|
🎭 Playwright Run Summary
11 skipped
151 passed (7.2m)
|
🎭 Playwright Run Summary
2 skipped
119 passed (7.3m)
|
🎭 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.1m)
|
🎭 Playwright Run Summary
2 failed
[chromium] › site-editor/title.spec.js:15:2 › Site editor title › displays the selected template name in the title for the index template
[chromium] › site-editor/title.spec.js:32:2 › Site editor title › displays the selected template name in the title for the header template
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
111 passed (7.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
15.6 MB |
|
flaky-tests-report
Expired
|
4.32 KB |
|