Skip to content

E2E Utils: Use frameLocator for retrieving editor canvas #85376

E2E Utils: Use frameLocator for retrieving editor canvas

E2E Utils: Use frameLocator for retrieving editor canvas #85376

Re-run triggered October 3, 2023 09:53
Status Failure
Total duration 36m 39s
Artifacts 2

end2end-test.yml

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

Annotations

10 errors and 4 notices
[webkit] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L81
1) [webkit] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter Error: Timeout 5000ms exceeded while waiting on the predicate 79 | } 80 | // Expect the indicator to be below the paragraph block. > 81 | await expect | ^ 82 | .poll( () => 83 | insertingBlocksUtils.indicator 84 | .boundingBox() at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:81:3
[webkit] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L81
1) [webkit] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timeout 5000ms exceeded while waiting on the predicate 79 | } 80 | // Expect the indicator to be below the paragraph block. > 81 | await expect | ^ 82 | .poll( () => 83 | insertingBlocksUtils.indicator 84 | .boundingBox() at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:81:3
[webkit] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L81
1) [webkit] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timeout 5000ms exceeded while waiting on the predicate 79 | } 80 | // Expect the indicator to be below the paragraph block. > 81 | await expect | ^ 82 | .poll( () => 83 | insertingBlocksUtils.indicator 84 | .boundingBox() at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:81:3
[webkit] › editor/various/inserting-blocks.spec.js:165:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L222
2) [webkit] › editor/various/inserting-blocks.spec.js:165:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('data-testid=block-list-insertion-point-indicator') - waiting for locator('data-testid=block-list-insertion-point-indicator') 220 | } 221 | > 222 | await expect( insertingBlocksUtils.indicator ).toBeVisible(); | ^ 223 | // Expect the indicator to be below the paragraph block. 224 | await expect 225 | .poll( () => at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:222:50
[webkit] › editor/various/inserting-blocks.spec.js:165:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L222
2) [webkit] › editor/various/inserting-blocks.spec.js:165:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('data-testid=block-list-insertion-point-indicator') - waiting for locator('data-testid=block-list-insertion-point-indicator') 220 | } 221 | > 222 | await expect( insertingBlocksUtils.indicator ).toBeVisible(); | ^ 223 | // Expect the indicator to be below the paragraph block. 224 | await expect 225 | .poll( () => at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:222:50
[webkit] › editor/various/inserting-blocks.spec.js:165:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L222
2) [webkit] › editor/various/inserting-blocks.spec.js:165:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('data-testid=block-list-insertion-point-indicator') - waiting for locator('data-testid=block-list-insertion-point-indicator') 220 | } 221 | > 222 | await expect( insertingBlocksUtils.indicator ).toBeVisible(); | ^ 223 | // Expect the indicator to be below the paragraph block. 224 | await expect 225 | .poll( () => at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:222:50
[webkit] › editor/various/writing-flow.spec.js:276:2 › Writing Flow (@firefox: test/e2e/specs/editor/various/writing-flow.spec.js#L284
3) [webkit] › editor/various/writing-flow.spec.js:276:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end Error: expect(received).toBe(expected) // Object.is equality Expected: "<!-- wp:paragraph --> <p>a<br></p> <!-- /wp:paragraph -->" Received: "" Call Log: - Timeout 5000ms exceeded while waiting on the predicate 282 | await page.keyboard.type( 'a' ); 283 | await pageUtils.pressKeys( 'shift+Enter' ); > 284 | await expect.poll( editor.getEditedPostContent ) | ^ 285 | .toBe( `<!-- wp:paragraph --> 286 | <p>a<br></p> 287 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:284:3
[webkit] › editor/various/writing-flow.spec.js:276:2 › Writing Flow (@firefox: test/e2e/specs/editor/various/writing-flow.spec.js#L284
3) [webkit] › editor/various/writing-flow.spec.js:276:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "<!-- wp:paragraph --> <p>a<br></p> <!-- /wp:paragraph -->" Received: "" Call Log: - Timeout 5000ms exceeded while waiting on the predicate 282 | await page.keyboard.type( 'a' ); 283 | await pageUtils.pressKeys( 'shift+Enter' ); > 284 | await expect.poll( editor.getEditedPostContent ) | ^ 285 | .toBe( `<!-- wp:paragraph --> 286 | <p>a<br></p> 287 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:284:3
[webkit] › editor/various/writing-flow.spec.js:276:2 › Writing Flow (@firefox: test/e2e/specs/editor/various/writing-flow.spec.js#L284
3) [webkit] › editor/various/writing-flow.spec.js:276:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "<!-- wp:paragraph --> <p>a<br></p> <!-- /wp:paragraph -->" Received: "" Call Log: - Timeout 5000ms exceeded while waiting on the predicate 282 | await page.keyboard.type( 'a' ); 283 | await pageUtils.pressKeys( 'shift+Enter' ); > 284 | await expect.poll( editor.getEditedPostContent ) | ^ 285 | .toBe( `<!-- wp:paragraph --> 286 | <p>a<br></p> 287 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:284:3
[webkit] › editor/various/a11y-region-navigation.spec.js:15:2 › Region navigation (@firefox: test/e2e/specs/editor/various/a11y-region-navigation.spec.js#L33
4) [webkit] › editor/various/a11y-region-navigation.spec.js:15:2 › Region navigation (@Firefox, @WebKit) › navigates forward and back again Error: expect(received).toBeFocused() Call log: - expect.toBeFocused with timeout 5000ms - waiting for locator('role=region[name="Editor top bar"i]') - locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div> - unexpected value "not focused" - waiting for locator('role=region[name="Editor top bar"i]') - locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div> - unexpected value "not focused" - locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div> - unexpected value "not focused" - locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div> - unexpected value "not focused" - locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div> - unexpected value "not focused" - locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div> - unexpected value "not focused" - locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div> - unexpected value "not focused" - locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div> - unexpected value "not focused" - locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div> - unexpected value "not focused" 31 | 'role=region[name="Editor top bar"i]' 32 | ); > 33 | await expect( editorTopBar ).toBeFocused(); | ^ 34 | 35 | // Navigate to next/second region and check that we made it. 36 | await page.keyboard.press( 'Control+`' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/a11y-region-navigation.spec.js:33:32
🎭 Playwright Run Summary
227 passed (22.3m)
🎭 Playwright Run Summary
1 skipped 230 passed (18.5m)
🎭 Playwright Run Summary
11 skipped 216 passed (21.2m)
🎭 Playwright Run Summary
3 failed [webkit] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter [webkit] › editor/various/inserting-blocks.spec.js:165:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter [webkit] › editor/various/writing-flow.spec.js:276:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end 26 flaky [webkit] › editor/various/a11y-region-navigation.spec.js:15:2 › Region navigation (@Firefox, @WebKit) › navigates forward and back again [webkit] › editor/various/splitting-merging.spec.js:15:2 › splitting and merging blocks (@Firefox, @WebKit) › should split and merge paragraph blocks using Enter and Backspace [webkit] › editor/various/splitting-merging.spec.js:325:2 › splitting and merging blocks (@Firefox, @WebKit) › should undo split in one go [webkit] › editor/various/splitting-merging.spec.js:347:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox) [webkit] › editor/various/writing-flow.spec.js:21:2 › Writing Flow (@Firefox, @WebKit) › Should navigate inner blocks with arrow keys [webkit] › editor/various/writing-flow.spec.js:106:2 › Writing Flow (@Firefox, @WebKit) › Should navigate between inner and root blocks in navigation mode [webkit] › editor/various/writing-flow.spec.js:148:2 › Writing Flow (@Firefox, @WebKit) › should navigate around inline boundaries [webkit] › editor/various/writing-flow.spec.js:290:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end and continue writing [webkit] › editor/various/writing-flow.spec.js:305:2 › Writing Flow (@Firefox, @WebKit) › should insert line break mid text [webkit] › editor/various/writing-flow.spec.js:320:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at start [webkit] › editor/various/writing-flow.spec.js:335:2 › Writing Flow (@Firefox, @WebKit) › should insert line break in empty container [webkit] › editor/various/writing-flow.spec.js:417:2 › Writing Flow (@Firefox, @WebKit) › should not delete surrounding space when deleting a word with Alt+Backspace [webkit] › editor/various/writing-flow.spec.js:443:2 › Writing Flow (@Firefox, @WebKit) › should not delete surrounding space when deleting a selected word [webkit] › editor/various/writing-flow.spec.js:487:2 › Writing Flow (@Firefox, @WebKit) › should navigate empty paragraphs [webkit] › editor/various/writing-flow.spec.js:514:2 › Writing Flow (@Firefox, @WebKit) › should navigate contenteditable with padding [webkit] › editor/various/writing-flow.spec.js:595:2 › Writing Flow (@Firefox, @WebKit) › should merge paragraphs [webkit] › editor/various/writing-flow.spec.js:609:2 › Writing Flow (@Firefox, @WebKit) › should merge and then split paragraphs [webkit] › editor/various/writing-flow.spec.js:631:2 › Writing Flow (@Firefox, @WebKit) › should merge and then soft line break [webkit] › editor/various/writing-flow.spec.js:666:2 › Writing Flow (@Firefox, @WebKit) › should merge forwards properly on multiple triggers [webkit] › editor/various/writing-flow.spec.js:774:2 › Writing Flow (@Firefox, @WebKit) › should extend selection into paragraph for list with longer last item [webkit] › editor/various/writing-flow.spec.js:799:2 › Writing Flow (@Firefox, @WebKit) › should not have a dead zone between blocks (lower) [webkit] › editor/various/writing-flow.spec.js:840:2 › Writing Flow (@Firefox, @WebKit) › should not have a dead zone above an aligned block [webkit] › editor/various/writing-flow.spec.js:927:2 › Writing Flow (@Firefox, @WebKit) › should unselect all blocks when hitting double escape [webkit] › editor/various/writing-flow.spec.js:984:2 › Writing Flow (@Firefox, @WebKit) › should prevent browser default formatting on multi selection [webkit] › editor/various/writing-flow.spec.js:1012:2 › Writing Flow (@Firefox, @WebKit) › shou

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
39.5 MB
flaky-tests-report Expired
124 KB