Render html in post titles in visual mode and edit HTML in post title in code view #86407
Annotations
8 errors and 1 notice
test/e2e/specs/editor/various/post-title.spec.js#L44
1) [chromium] › editor/various/post-title.spec.js:21:3 › Post title › Focus handling › should focus on the post title field when creating a new post in code editor mode
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('textbox', { name: 'Add title' })
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
- waiting for getByRole('textbox', { name: 'Add title' })
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
42 | } );
43 |
> 44 | await expect( pageTitleField ).toBeFocused();
| ^
45 | } );
46 | } );
47 | test.describe( 'HTML handling', () => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-title.spec.js:44:35
|
test/e2e/specs/editor/various/post-title.spec.js#L38
1) [chromium] › editor/various/post-title.spec.js:21:3 › Post title › Focus handling › should focus on the post title field when creating a new post in code editor mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Editing code' })
- waiting for getByRole('heading', { name: 'Editing code' })
36 | name: 'Editing code',
37 | } )
> 38 | ).toBeVisible();
| ^
39 |
40 | const pageTitleField = page.getByRole( 'textbox', {
41 | name: 'Add title',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-title.spec.js:38:6
|
test/e2e/specs/editor/various/post-title.spec.js#L44
1) [chromium] › editor/various/post-title.spec.js:21:3 › Post title › Focus handling › should focus on the post title field when creating a new post in code editor mode
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('textbox', { name: 'Add title' })
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
- waiting for getByRole('textbox', { name: 'Add title' })
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
- locator resolved to <textarea rows="4" dir="auto" autocomplete="off" placehold…></textarea>
- unexpected value "not focused"
42 | } );
43 |
> 44 | await expect( pageTitleField ).toBeFocused();
| ^
45 | } );
46 | } );
47 | test.describe( 'HTML handling', () => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-title.spec.js:44:35
|
test/e2e/specs/editor/various/post-title.spec.js#L79
2) [chromium] › editor/various/post-title.spec.js:48:3 › Post title › HTML handling › should (visually) render any HTML in Post Editor's post title field when in Visual editing mode
Error: Timed out 5000ms waiting for expect(received).toHaveText(expected)
Expected string: "I am emphasis I am bold I am anchor"
Received string: ""
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('textbox', { name: 'Add title' })
- waiting for frameLocator('[name="editor-canvas"]').getByRole('textbox', { name: 'Add title' })
77 | } );
78 |
> 79 | await expect( pageTitleField ).toHaveText(
| ^
80 | 'I am emphasis I am bold I am anchor'
81 | );
82 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-title.spec.js:79:35
|
test/e2e/specs/editor/various/post-title.spec.js#L79
2) [chromium] › editor/various/post-title.spec.js:48:3 › Post title › HTML handling › should (visually) render any HTML in Post Editor's post title field when in Visual editing mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toHaveText(expected)
Expected string: "I am emphasis I am bold I am anchor"
Received string: ""
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('textbox', { name: 'Add title' })
- waiting for frameLocator('[name="editor-canvas"]').getByRole('textbox', { name: 'Add title' })
77 | } );
78 |
> 79 | await expect( pageTitleField ).toHaveText(
| ^
80 | 'I am emphasis I am bold I am anchor'
81 | );
82 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-title.spec.js:79:35
|
test/e2e/specs/editor/various/post-title.spec.js#L79
2) [chromium] › editor/various/post-title.spec.js:48:3 › Post title › HTML handling › should (visually) render any HTML in Post Editor's post title field when in Visual editing mode
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toHaveText(expected)
Expected string: "I am emphasis I am bold I am anchor"
Received string: ""
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('textbox', { name: 'Add title' })
- waiting for frameLocator('[name="editor-canvas"]').getByRole('textbox', { name: 'Add title' })
77 | } );
78 |
> 79 | await expect( pageTitleField ).toHaveText(
| ^
80 | 'I am emphasis I am bold I am anchor'
81 | );
82 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-title.spec.js:79:35
|
test/e2e/specs/editor/various/post-title.spec.js#L134
3) [chromium] › editor/various/post-title.spec.js:98:3 › Post title › HTML handling › should show raw HTML in the post title field when in Code view mode
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Editing code' })
- waiting for getByRole('heading', { name: 'Editing code' })
132 | name: 'Editing code',
133 | } )
> 134 | ).toBeVisible();
| ^
135 |
136 | const codeViewPageTitleField = page.getByRole( 'textbox', {
137 | name: 'Add title',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-title.spec.js:134:6
|
|
2 failed
[chromium] › editor/various/post-title.spec.js:21:3 › Post title › Focus handling › should focus on the post title field when creating a new post in code editor mode
[chromium] › editor/various/post-title.spec.js:48:3 › Post title › HTML handling › should (visually) render any HTML in Post Editor's post title field when in Visual editing mode
1 flaky
[chromium] › editor/various/post-title.spec.js:98:3 › Post title › HTML handling › should show raw HTML in the post title field when in Code view mode
1 skipped
250 passed (24.9m)
|
The logs for this run have expired and are no longer available.
Loading