Site and Post Editor: Unify the DocumentBar component #89964
Annotations
4 errors and 1 notice
Run the tests:
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
|
Run the tests:
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
|
Run the tests:
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
|
Run the tests
Process completed with exit code 1.
|
Run the tests
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)
|
The logs for this run have expired and are no longer available.
Loading