Skip to content

Render html in post titles in visual mode and edit HTML in post title in code view #85396

Render html in post titles in visual mode and edit HTML in post title in code view

Render html in post titles in visual mode and edit HTML in post title in code view #85396

Triggered via pull request October 3, 2023 13:40
Status Failure
Total duration 56m 7s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 32s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 notices
[chromium] › site-editor/patterns.spec.js:30:2 › Patterns › create a new pattern: test/e2e/specs/site-editor/patterns.spec.js#L75
1) [chromium] › site-editor/patterns.spec.js:30:2 › Patterns › create a new pattern ────────────── Error: Timed out 5000ms waiting for expect(received).toBeDisabled() Call log: - expect.toBeDisabled with timeout 5000ms - waiting for getByRole('dialog', { name: 'Create pattern' }).getByRole('button', { name: 'Create' }) - waiting for getByRole('dialog', { name: 'Create pattern' }).getByRole('button', { name: 'Create' }) 73 | await expect( 74 | createPatternDialog.getByRole( 'button', { name: 'Create' } ) > 75 | ).toBeDisabled(); | ^ 76 | 77 | await expect( page ).toHaveTitle( /^My pattern/ ); 78 | await expect( at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/patterns.spec.js:75:5
[chromium] › editor/various/post-title.spec.js:137:3 › Post title › HTML handling › should retain HTML tags when pasting string of HTML into the post title field in Code view mode: test/e2e/specs/editor/various/post-title.spec.js#L169
1) [chromium] › editor/various/post-title.spec.js:137:3 › Post title › HTML handling › should retain HTML tags when pasting string of HTML into the post title field in Code view mode Error: expect(received).toHaveText(expected) Expected string: "I am <em>emphasis</em> I am <strong>bold</strong> I am <a href=\"#\">anchor</a>" Received string: "" Call log: - expect.toHaveText with timeout 5000ms - waiting for getByRole('textbox', { name: 'Add title' }) - locator resolved to <textarea rows="1" placeholder="Add title" class="block-ed…></textarea> - unexpected value "" - waiting for getByRole('textbox', { name: 'Add title' }) - locator resolved to <textarea rows="1" placeholder="Add title" class="block-ed…></textarea> - unexpected value "" - locator resolved to <textarea rows="1" placeholder="Add title" class="block-ed…></textarea> - unexpected value "" - locator resolved to <textarea rows="1" placeholder="Add title" class="block-ed…></textarea> - unexpected value "" - locator resolved to <textarea rows="1" placeholder="Add title" class="block-ed…></textarea> - unexpected value "" - locator resolved to <textarea rows="1" placeholder="Add title" class="block-ed…></textarea> - unexpected value "" - locator resolved to <textarea rows="1" placeholder="Add title" class="block-ed…></textarea> - unexpected value "" - locator resolved to <textarea rows="1" placeholder="Add title" class="block-ed…></textarea> - unexpected value "" - locator resolved to <textarea rows="1" placeholder="Add title" class="block-ed…></textarea> - unexpected value "" 167 | await pageUtils.pressKeys( 'primary+v' ); 168 | > 169 | await expect( pageTitleField ).toHaveText( | ^ 170 | 'I am <em>emphasis</em> I am <strong>bold</strong> I am <a href="#">anchor</a>' 171 | ); 172 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-title.spec.js:169:35
[chromium] › editor/various/post-title.spec.js:137:3 › Post title › HTML handling › should retain HTML tags when pasting string of HTML into the post title field in Code view mode: test/e2e/specs/editor/various/post-title.spec.js#L1
1) [chromium] › editor/various/post-title.spec.js:137:3 › Post title › HTML handling › should retain HTML tags when pasting string of HTML into the post title field in Code view mode Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── AggregateError: All promises were rejected
[chromium] › editor/various/post-title.spec.js:137:3 › Post title › HTML handling › should retain HTML tags when pasting string of HTML into the post title field in Code view mode: test/e2e/specs/editor/various/post-title.spec.js#L1
1) [chromium] › editor/various/post-title.spec.js:137:3 › Post title › HTML handling › should retain HTML tags when pasting string of HTML into the post title field in Code view mode Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── AggregateError: All promises were rejected
[chromium] › editor/various/post-title.spec.js:174:3 › Post title › HTML handling › should strip HTML tags from block contents when pasted text is transformed to blocks: test/e2e/specs/editor/various/post-title.spec.js#L1
2) [chromium] › editor/various/post-title.spec.js:174:3 › Post title › HTML handling › should strip HTML tags from block contents when pasted text is transformed to blocks AggregateError: All promises were rejected
[chromium] › editor/various/post-title.spec.js:174:3 › Post title › HTML handling › should strip HTML tags from block contents when pasted text is transformed to blocks: test/e2e/specs/editor/various/post-title.spec.js#L1
2) [chromium] › editor/various/post-title.spec.js:174:3 › Post title › HTML handling › should strip HTML tags from block contents when pasted text is transformed to blocks Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── AggregateError: All promises were rejected
[chromium] › editor/various/post-title.spec.js:174:3 › Post title › HTML handling › should strip HTML tags from block contents when pasted text is transformed to blocks: test/e2e/specs/editor/various/post-title.spec.js#L1
2) [chromium] › editor/various/post-title.spec.js:174:3 › Post title › HTML handling › should strip HTML tags from block contents when pasted text is transformed to blocks Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── AggregateError: All promises were rejected
[chromium] › editor/various/post-visibility.spec.js:8:3 › Post visibility › can be changed when the viewport is large: test/e2e/specs/editor/various/post-visibility.spec.js#L1
3) [chromium] › editor/various/post-visibility.spec.js:8:3 › Post visibility › can be changed when the viewport is large AggregateError: All promises were rejected
[chromium] › editor/various/post-visibility.spec.js:8:3 › Post visibility › can be changed when the viewport is large: test/e2e/specs/editor/various/post-visibility.spec.js#L1
3) [chromium] › editor/various/post-visibility.spec.js:8:3 › Post visibility › can be changed when the viewport is large Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── AggregateError: All promises were rejected
[chromium] › editor/various/post-visibility.spec.js:8:3 › Post visibility › can be changed when the viewport is large: test/e2e/specs/editor/various/post-visibility.spec.js#L1
3) [chromium] › editor/various/post-visibility.spec.js:8:3 › Post visibility › can be changed when the viewport is large Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── AggregateError: All promises were rejected
[chromium] › editor/various/post-visibility.spec.js:37:3 › Post visibility › can be canceled when the viewport is large: test/e2e/specs/editor/various/post-visibility.spec.js#L1
4) [chromium] › editor/various/post-visibility.spec.js:37:3 › Post visibility › can be canceled when the viewport is large AggregateError: All promises were rejected
🎭 Playwright Run Summary
1 flaky [chromium] › site-editor/patterns.spec.js:30:2 › Patterns › create a new pattern ─────────────── 1 skipped 229 passed (14.8m)
🎭 Playwright Run Summary
2 skipped 220 passed (20.8m)
🎭 Playwright Run Summary
11 skipped 218 passed (23.5m)
🎭 Playwright Run Summary
46 failed [chromium] › editor/various/post-title.spec.js:137:3 › Post title › HTML handling › should retain HTML tags when pasting string of HTML into the post title field in Code view mode [chromium] › editor/various/post-title.spec.js:174:3 › Post title › HTML handling › should strip HTML tags from block contents when pasted text is transformed to blocks [chromium] › editor/various/post-visibility.spec.js:8:3 › Post visibility › can be changed when the viewport is large [chromium] › editor/various/post-visibility.spec.js:37:3 › Post visibility › can be canceled when the viewport is large [chromium] › editor/various/post-visibility.spec.js:8:3 › Post visibility › can be changed when the viewport is small [chromium] › editor/various/post-visibility.spec.js:37:3 › Post visibility › can be canceled when the viewport is small [chromium] › editor/various/post-visibility.spec.js:73:2 › Post visibility › visibility remains private even if the publish date is in the future [chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post [chromium] › editor/various/preview.spec.js:102:2 › Preview › should not revert title during a preview right after a save draft [chromium] › editor/various/preview.spec.js:152:2 › Preview › should display the correct preview when switching between published and draft statuses [chromium] › editor/various/preview.spec.js:222:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview [chromium] › editor/various/preview.spec.js:289:2 › Preview with private custom post type › should not show the Preview Externally link [chromium] › editor/various/publish-panel.spec.js:11:2 › Post publish panel › should move focus back to the Publish panel toggle button when canceling [chromium] › editor/various/publish-panel.spec.js:36:2 › Post publish panel › should move focus back to the Publish panel toggle button after publishing and closing the panel [chromium] › editor/various/rich-text-deprecated-multiline.spec.js:49:2 › RichText deprecated multiline › should save [chromium] › editor/various/rich-text-deprecated-multiline.spec.js:71:2 › RichText deprecated multiline › should split in middle [chromium] › editor/various/rich-text-deprecated-multiline.spec.js:88:2 › RichText deprecated multiline › should merge two lines [chromium] › editor/various/rich-text-deprecated-multiline.spec.js:107:2 › RichText deprecated multiline › should merge two lines (forward) [chromium] › editor/various/rich-text.spec.js:11:2 › RichText › should handle change in tag name gracefully [chromium] › editor/various/rich-text.spec.js:33:2 › RichText › should apply formatting with primary shortcut [chromium] › editor/various/rich-text.spec.js:51:2 › RichText › should apply formatting when selection is collapsed [chromium] › editor/various/rich-text.spec.js:71:2 › RichText › should apply multiple formats when selection is collapsed [chromium] › editor/various/rich-text.spec.js:92:2 › RichText › should not highlight more than one format [chromium] › editor/various/rich-text.spec.js:113:2 › RichText › should return focus when pressing formatting button [chromium] › editor/various/rich-text.spec.js:132:2 › RichText › should transform backtick to code [chromium] › editor/various/rich-text.spec.js:154:2 › RichText › should undo backtick transform with backspace [chromium] › editor/various/rich-text.spec.js:170:2 › RichText › should not undo backtick transform with backspace after typing [chromium] › editor/various/rich-text.spec.js:183:2 › RichText › should not undo backtick transform with backspace after selection change [chromium] › editor/various/rich-text.spec.js:199:2 › RichText › should not format text after code backtick [chromium] › editor/various/rich-text.spec.js:214:2 › RichText › should transform when typing backtick over selection [chromium] › editor/various/rich-text.spec.js:244:2 › RichText › shou

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
130 MB
flaky-tests-report Expired
2.85 KB