Skip to content

Paste: add e2e tests for selection #103138

Paste: add e2e tests for selection

Paste: add e2e tests for selection #103138

Triggered via pull request May 3, 2024 14:52
Status Failure
Total duration 23m 55s
Artifacts 2

end2end-test.yml

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

Annotations

16 errors, 1 warning, and 8 notices
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation: test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L44
1) [chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'For a specific item' }) 42 | await page 43 | .getByRole( 'button', { name: 'For a specific item' } ) > 44 | .click(); | ^ 45 | await page.getByRole( 'option', { name: 'Demo' } ).click(); 46 | await expect( page ).toHaveURL( 47 | '/wp-admin/site-editor.php?postId=emptytheme%2F%2Fsingle-post-demo&postType=wp_template&canvas=edit' at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js:44:5
Playwright - 8
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
[firefox] › editor/various/rich-text.spec.js:582:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L604
1) [firefox] › editor/various/rich-text.spec.js:582:2 › RichText (@Firefox, @WebKit) › should apply active formatting for inline paste Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "<strong>13‸2</strong>3", + "content": "<strong>13</strong>‸<strong>2</strong>3", }, "name": "core/paragraph", }, ] 602 | await page.keyboard.type( '‸' ); 603 | > 604 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 605 | { 606 | name: 'core/paragraph', 607 | attributes: { content: '<strong>13‸2</strong>3' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:604:38
[firefox] › editor/various/rich-text.spec.js:582:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L604
1) [firefox] › editor/various/rich-text.spec.js:582:2 › RichText (@Firefox, @WebKit) › should apply active formatting for inline paste Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "<strong>13‸2</strong>3", + "content": "<strong>13</strong>‸<strong>2</strong>3", }, "name": "core/paragraph", }, ] 602 | await page.keyboard.type( '‸' ); 603 | > 604 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 605 | { 606 | name: 'core/paragraph', 607 | attributes: { content: '<strong>13‸2</strong>3' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:604:38
[firefox] › editor/various/rich-text.spec.js:582:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L604
1) [firefox] › editor/various/rich-text.spec.js:582:2 › RichText (@Firefox, @WebKit) › should apply active formatting for inline paste Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "<strong>13‸2</strong>3", + "content": "<strong>13</strong>‸<strong>2</strong>3", }, "name": "core/paragraph", }, ] 602 | await page.keyboard.type( '‸' ); 603 | > 604 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 605 | { 606 | name: 'core/paragraph', 607 | attributes: { content: '<strong>13‸2</strong>3' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:604:38
Playwright - 8
Process completed with exit code 1.
[chromium] › editor/various/rich-text.spec.js:582:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L604
1) [chromium] › editor/various/rich-text.spec.js:582:2 › RichText (@Firefox, @WebKit) › should apply active formatting for inline paste Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "<strong>13‸2</strong>3", + "content": "<strong>13</strong>‸<strong>2</strong>3", }, "name": "core/paragraph", }, ] 602 | await page.keyboard.type( '‸' ); 603 | > 604 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 605 | { 606 | name: 'core/paragraph', 607 | attributes: { content: '<strong>13‸2</strong>3' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:604:38
[chromium] › editor/various/rich-text.spec.js:582:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L604
1) [chromium] › editor/various/rich-text.spec.js:582:2 › RichText (@Firefox, @WebKit) › should apply active formatting for inline paste Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "<strong>13‸2</strong>3", + "content": "<strong>13</strong>‸<strong>2</strong>3", }, "name": "core/paragraph", }, ] 602 | await page.keyboard.type( '‸' ); 603 | > 604 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 605 | { 606 | name: 'core/paragraph', 607 | attributes: { content: '<strong>13‸2</strong>3' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:604:38
[chromium] › editor/various/rich-text.spec.js:582:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L604
1) [chromium] › editor/various/rich-text.spec.js:582:2 › RichText (@Firefox, @WebKit) › should apply active formatting for inline paste Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "<strong>13‸2</strong>3", + "content": "<strong>13</strong>‸<strong>2</strong>3", }, "name": "core/paragraph", }, ] 602 | await page.keyboard.type( '‸' ); 603 | > 604 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 605 | { 606 | name: 'core/paragraph', 607 | attributes: { content: '<strong>13‸2</strong>3' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:604:38
Playwright - 5
Process completed with exit code 1.
Playwright - 5
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
[webkit] › editor/various/rich-text.spec.js:582:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L604
1) [webkit] › editor/various/rich-text.spec.js:582:2 › RichText (@Firefox, @WebKit) › should apply active formatting for inline paste Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "<strong>13‸2</strong>3", + "content": "<strong>13</strong>‸<strong>2</strong>3", }, "name": "core/paragraph", }, ] 602 | await page.keyboard.type( '‸' ); 603 | > 604 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 605 | { 606 | name: 'core/paragraph', 607 | attributes: { content: '<strong>13‸2</strong>3' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:604:38
[webkit] › editor/various/rich-text.spec.js:582:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L604
1) [webkit] › editor/various/rich-text.spec.js:582:2 › RichText (@Firefox, @WebKit) › should apply active formatting for inline paste Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "<strong>13‸2</strong>3", + "content": "<strong>13</strong>‸<strong>2</strong>3", }, "name": "core/paragraph", }, ] 602 | await page.keyboard.type( '‸' ); 603 | > 604 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 605 | { 606 | name: 'core/paragraph', 607 | attributes: { content: '<strong>13‸2</strong>3' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:604:38
[webkit] › editor/various/rich-text.spec.js:582:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L604
1) [webkit] › editor/various/rich-text.spec.js:582:2 › RichText (@Firefox, @WebKit) › should apply active formatting for inline paste Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "<strong>13‸2</strong>3", + "content": "<strong>13</strong>‸<strong>2</strong>3", }, "name": "core/paragraph", }, ] 602 | await page.keyboard.type( '‸' ); 603 | > 604 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 605 | { 606 | name: 'core/paragraph', 607 | attributes: { content: '<strong>13‸2</strong>3' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:604:38
Playwright - 7
Process completed with exit code 1.
Playwright - 7
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
🎭 Playwright Run Summary
1 flaky [chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation 3 skipped 185 passed (6.5m)
🎭 Playwright Run Summary
1 failed [firefox] › editor/various/rich-text.spec.js:582:2 › RichText (@Firefox, @WebKit) › should apply active formatting for inline paste 3 skipped 144 passed (7.7m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/rich-text.spec.js:582:2 › RichText (@Firefox, @WebKit) › should apply active formatting for inline paste 185 passed (8.4m)
🎭 Playwright Run Summary
1 skipped 178 passed (9.0m)
🎭 Playwright Run Summary
1 skipped 181 passed (9.2m)
🎭 Playwright Run Summary
1 skipped 191 passed (9.8m)
🎭 Playwright Run Summary
11 skipped 180 passed (9.1m)
🎭 Playwright Run Summary
1 failed [webkit] › editor/various/rich-text.spec.js:582:2 › RichText (@Firefox, @WebKit) › should apply active formatting for inline paste 220 passed (12.9m)
Report to GitHub
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ./packages/report-flaky-tests. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
1.75 MB
flaky-tests-report Expired
898 Bytes