Skip to content

Rich text: remove preserveWhiteSpace serialisation differences #87972

Rich text: remove preserveWhiteSpace serialisation differences

Rich text: remove preserveWhiteSpace serialisation differences #87972

Triggered via pull request November 10, 2023 15:01
Status Failure
Total duration 36m 47s
Artifacts 2

end2end-test.yml

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

Annotations

5 errors and 4 notices
[chromium] › editor/various/undo.spec.js:87:2 › undo › should undo typing after non input change: test/e2e/specs/editor/various/undo.spec.js#L120
1) [chromium] › editor/various/undo.spec.js:87:2 › undo › should undo typing after non input change Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 2 Object { "blockIndex": 0, - "endOffset": 16, - "startOffset": 16, + "endOffset": 15, + "startOffset": 15, } Call Log: - Timeout 5000ms exceeded while waiting on the predicate 118 | }, 119 | ] ); > 120 | await expect.poll( undoUtils.getSelection ).toEqual( { | ^ 121 | blockIndex: 0, 122 | startOffset: 'before keyboard '.length, 123 | endOffset: 'before keyboard '.length, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:120:3
[chromium] › editor/various/undo.spec.js:87:2 › undo › should undo typing after non input change: test/e2e/specs/editor/various/undo.spec.js#L120
1) [chromium] › editor/various/undo.spec.js:87:2 › undo › should undo typing after non input change Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 2 Object { "blockIndex": 0, - "endOffset": 16, - "startOffset": 16, + "endOffset": 15, + "startOffset": 15, } Call Log: - Timeout 5000ms exceeded while waiting on the predicate 118 | }, 119 | ] ); > 120 | await expect.poll( undoUtils.getSelection ).toEqual( { | ^ 121 | blockIndex: 0, 122 | startOffset: 'before keyboard '.length, 123 | endOffset: 'before keyboard '.length, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:120:3
[chromium] › editor/various/undo.spec.js:87:2 › undo › should undo typing after non input change: test/e2e/specs/editor/various/undo.spec.js#L120
1) [chromium] › editor/various/undo.spec.js:87:2 › undo › should undo typing after non input change Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 2 Object { "blockIndex": 0, - "endOffset": 16, - "startOffset": 16, + "endOffset": 15, + "startOffset": 15, } Call Log: - Timeout 5000ms exceeded while waiting on the predicate 118 | }, 119 | ] ); > 120 | await expect.poll( undoUtils.getSelection ).toEqual( { | ^ 121 | blockIndex: 0, 122 | startOffset: 'before keyboard '.length, 123 | endOffset: 'before keyboard '.length, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:120:3
Playwright - 3
Process completed with exit code 1.
[chromium] › editor/blocks/image.spec.js:341:2 › Image › allows rotating using the crop tools: test/e2e/specs/editor/blocks/image.spec.js#L375
1) [chromium] › editor/blocks/image.spec.js:341:2 › Image › allows rotating using the crop tools ─ Error: Screenshot comparison failed: 50 pixels (ratio 0.50 of all image pixels) are different. Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-image-Image-allows-rotating-using-the-crop-tools-chromium/Image-allows-rotating-using-the-crop-tools-1-expected.png Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-image-Image-allows-rotating-using-the-crop-tools-chromium/Image-allows-rotating-using-the-crop-tools-1-actual.png Diff: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-image-Image-allows-rotating-using-the-crop-tools-chromium/Image-allows-rotating-using-the-crop-tools-1-diff.png 373 | expect( 374 | await imageBlockUtils.getImageBuffer( updatedImageSrc ) > 375 | ).toMatchSnapshot(); | ^ 376 | } ); 377 | 378 | test( 'should undo without broken temporary state', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:375:5
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/undo.spec.js:87:2 › undo › should undo typing after non input change 1 skipped 249 passed (12.7m)
🎭 Playwright Run Summary
248 passed (19.9m)
🎭 Playwright Run Summary
1 flaky [chromium] › editor/blocks/image.spec.js:341:2 › Image › allows rotating using the crop tools ── 12 skipped 235 passed (22.7m)
🎭 Playwright Run Summary
2 skipped 240 passed (24.5m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
8.22 MB
flaky-tests-report Expired
4.97 KB