Skip to content

Fix flaky 'Switch to Draft' action in Preview e2e tests #87241

Fix flaky 'Switch to Draft' action in Preview e2e tests

Fix flaky 'Switch to Draft' action in Preview e2e tests #87241

You are viewing an older attempt in the history of this workflow run. View latest attempt.
Triggered via pull request November 1, 2023 16:17
Status Failure
Total duration 31m 11s
Artifacts

end2end-test.yml

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

Annotations

5 errors and 4 notices
[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
[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) Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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
[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) Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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 - 4
Process completed with exit code 1.
Report to GitHub
Unable to find an artifact with the name: flaky-tests-report
🎭 Playwright Run Summary
1 failed [webkit] › editor/various/multi-block-selection.spec.js:1169:2 › Multi-block selection › should partially select with shift + click (@WebKit) 2 skipped 229 passed (18.3m)
🎭 Playwright Run Summary
254 passed (21.0m)
🎭 Playwright Run Summary
12 skipped 229 passed (20.0m)
🎭 Playwright Run Summary
1 skipped 232 passed (20.8m)