Skip to content

E2E: Try to fix the flaky autocomplete spec #85634

E2E: Try to fix the flaky autocomplete spec

E2E: Try to fix the flaky autocomplete spec #85634

Triggered via pull request October 5, 2023 11:07
Status Failure
Total duration 36m 15s
Artifacts 2

end2end-test.yml

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

Annotations

5 errors and 4 notices
[chromium] › editor/various/autocomplete-and-mentions.spec.js:426:2 › Autocomplete (@firefox: test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L458
1) [chromium] › editor/various/autocomplete-and-mentions.spec.js:426:2 › Autocomplete (@Firefox, @WebKit) › should insert elements from multiple completers in a single block Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('option', { name: 'Bilbo Baggins', selected: true }) - waiting for getByRole('option', { name: 'Bilbo Baggins', selected: true }) 456 | selected: true, 457 | } ) > 458 | ).toBeVisible(); | ^ 459 | await page.keyboard.press( 'Enter' ); 460 | 461 | await expect.poll( editor.getBlocks ).toMatchObject( [ at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:458:5
[chromium] › editor/various/autocomplete-and-mentions.spec.js:426:2 › Autocomplete (@firefox: test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L458
1) [chromium] › editor/various/autocomplete-and-mentions.spec.js:426:2 › Autocomplete (@Firefox, @WebKit) › should insert elements from multiple completers in a single block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('option', { name: 'Bilbo Baggins', selected: true }) - waiting for getByRole('option', { name: 'Bilbo Baggins', selected: true }) 456 | selected: true, 457 | } ) > 458 | ).toBeVisible(); | ^ 459 | await page.keyboard.press( 'Enter' ); 460 | 461 | await expect.poll( editor.getBlocks ).toMatchObject( [ at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:458:5
[chromium] › editor/various/autocomplete-and-mentions.spec.js:426:2 › Autocomplete (@firefox: test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L458
1) [chromium] › editor/various/autocomplete-and-mentions.spec.js:426:2 › Autocomplete (@Firefox, @WebKit) › should insert elements from multiple completers in a single block Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('option', { name: 'Bilbo Baggins', selected: true }) - waiting for getByRole('option', { name: 'Bilbo Baggins', selected: true }) 456 | selected: true, 457 | } ) > 458 | ).toBeVisible(); | ^ 459 | await page.keyboard.press( 'Enter' ); 460 | 461 | await expect.poll( editor.getBlocks ).toMatchObject( [ at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:458:5
Playwright - 2
Process completed with exit code 1.
[webkit] › editor/various/multi-block-selection.spec.js:1175:2 › Multi-block selection › should partially select with shift + click (@webkit): test/e2e/specs/editor/various/multi-block-selection.spec.js#L1214
1) [webkit] › editor/various/multi-block-selection.spec.js:1175: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 1212 | // Ensure selection is in the correct place. 1213 | await page.keyboard.type( '|' ); > 1214 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 1215 | { 1216 | name: 'core/paragraph', 1217 | attributes: { content: '<strong>1</strong>|2' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1214:3
🎭 Playwright Run Summary
1 skipped 231 passed (15.6m)
🎭 Playwright Run Summary
11 skipped 219 passed (16.1m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/autocomplete-and-mentions.spec.js:426:2 › Autocomplete (@Firefox, @WebKit) › should insert elements from multiple completers in a single block 229 passed (19.7m)
🎭 Playwright Run Summary
1 flaky [webkit] › editor/various/multi-block-selection.spec.js:1175:2 › Multi-block selection › should partially select with shift + click (@WebKit) 2 skipped 219 passed (23.2m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
7.75 MB
flaky-tests-report Expired
3.77 KB