Render html in post titles in visual mode and edit HTML in post title in code view #86407
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 16s
Annotations
9 errors and 4 notices
[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:
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
|
[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:
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
|
[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:
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
|
[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:
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
|
[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:
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
|
[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:
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
|
[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 :
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
|
Playwright - 2
Process completed with exit code 1.
|
[webkit] › editor/various/multi-block-selection.spec.js:1169:2 › Multi-block selection › should partially select with shift + click (@webkit):
test/e2e/specs/editor/various/multi-block-selection.spec.js#L1212
1) [webkit] › editor/various/multi-block-selection.spec.js:1169: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
1210 | // Ensure selection is in the correct place.
1211 | await page.keyboard.type( '|' );
> 1212 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
1213 | {
1214 | name: 'core/paragraph',
1215 | attributes: { content: '<strong>1</strong>|2' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1212:3
|
🎭 Playwright Run Summary
1 skipped
222 passed (18.0m)
|
🎭 Playwright Run Summary
11 skipped
235 passed (22.1m)
|
🎭 Playwright Run Summary
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)
|
🎭 Playwright Run Summary
1 flaky
[webkit] › editor/various/multi-block-selection.spec.js:1169:2 › Multi-block selection › should partially select with shift + click (@WebKit)
2 skipped
232 passed (25.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
9.95 MB |
|
flaky-tests-report
Expired
|
6.46 KB |
|