E2E: Try to fix the flaky autocomplete spec #85634
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 14s
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 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 |
|