Skip to content

Interactivity API: migration to the new store() API #89215

Interactivity API: migration to the new store() API

Interactivity API: migration to the new store() API #89215

Triggered via pull request November 27, 2023 16:18
Status Cancelled
Total duration 24m 54s
Artifacts 2

end2end-test.yml

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

Annotations

14 errors and 8 notices
[chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:45:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions: test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L64
1) [chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:45:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('link', { name: 'Item 1' }) Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('link', { name: 'Item 1' }) - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" 62 | 63 | // Test: overlay menu focuses on first element after opening > 64 | await expect( overlayMenuFirstElement ).toBeFocused(); | ^ 65 | 66 | // Test: overlay menu traps focus 67 | await pageUtils.pressKeys( 'Tab', { times: 2, delay: 50 } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:64:44
[chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:45:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions: test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L64
1) [chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:45:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('link', { name: 'Item 1' }) Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('link', { name: 'Item 1' }) - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" 62 | 63 | // Test: overlay menu focuses on first element after opening > 64 | await expect( overlayMenuFirstElement ).toBeFocused(); | ^ 65 | 66 | // Test: overlay menu traps focus 67 | await pageUtils.pressKeys( 'Tab', { times: 2, delay: 50 } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:64:44
[chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:45:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions: test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L64
1) [chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:45:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('link', { name: 'Item 1' }) Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('link', { name: 'Item 1' }) - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" 62 | 63 | // Test: overlay menu focuses on first element after opening > 64 | await expect( overlayMenuFirstElement ).toBeFocused(); | ^ 65 | 66 | // Test: overlay menu traps focus 67 | await pageUtils.pressKeys( 'Tab', { times: 2, delay: 50 } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:64:44
[chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@webkit): test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L113
2) [chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit) Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('link', { name: 'Item 1' }) Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('link', { name: 'Item 1' }) - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" 111 | 112 | // Test: overlay menu focuses on first element after opening > 113 | await expect( overlayMenuFirstElement ).toBeFocused(); | ^ 114 | 115 | // Not Tested: overlay menu traps focus 116 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:113:44
[chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@webkit): test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L113
2) [chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit) Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('link', { name: 'Item 1' }) Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('link', { name: 'Item 1' }) - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" 111 | 112 | // Test: overlay menu focuses on first element after opening > 113 | await expect( overlayMenuFirstElement ).toBeFocused(); | ^ 114 | 115 | // Not Tested: overlay menu traps focus 116 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:113:44
[chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@webkit): test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L113
2) [chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit) Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('link', { name: 'Item 1' }) Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('link', { name: 'Item 1' }) - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" 111 | 112 | // Test: overlay menu focuses on first element after opening > 113 | await expect( overlayMenuFirstElement ).toBeFocused(); | ^ 114 | 115 | // Not Tested: overlay menu traps focus 116 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:113:44
Playwright - 2
Process completed with exit code 1.
[webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@webkit): test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L113
1) [webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit) Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('link', { name: 'Item 1' }) Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('link', { name: 'Item 1' }) - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" 111 | 112 | // Test: overlay menu focuses on first element after opening > 113 | await expect( overlayMenuFirstElement ).toBeFocused(); | ^ 114 | 115 | // Not Tested: overlay menu traps focus 116 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:113:44
[webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@webkit): test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L113
1) [webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit) Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('link', { name: 'Item 1' }) Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('link', { name: 'Item 1' }) - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" 111 | 112 | // Test: overlay menu focuses on first element after opening > 113 | await expect( overlayMenuFirstElement ).toBeFocused(); | ^ 114 | 115 | // Not Tested: overlay menu traps focus 116 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:113:44
[webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@webkit): test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L113
1) [webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit) Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('link', { name: 'Item 1' }) Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('link', { name: 'Item 1' }) - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" - locator resolved to <a href="http://www.wordpress.org/" class="wp-block…>…</a> - unexpected value "not focused" 111 | 112 | // Test: overlay menu focuses on first element after opening > 113 | await expect( overlayMenuFirstElement ).toBeFocused(); | ^ 114 | 115 | // Not Tested: overlay menu traps focus 116 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:113:44
[webkit] › editor/various/writing-flow.spec.js:1015:2 › Writing Flow (@firefox: test/e2e/specs/editor/various/writing-flow.spec.js#L1046
2) [webkit] › editor/various/writing-flow.spec.js:1015:2 › Writing Flow (@Firefox, @WebKit) › should move to the start of the first line on ArrowUp (-firefox) Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Paragraph"i]') Expected pattern: /^\.a+$/ Received string: "a" Call log: - expect.toHaveText with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Paragraph"i]') - locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p> - unexpected value "a" - locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p> - unexpected value "a" - locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p> - unexpected value "a" - locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p> - unexpected value "a" - locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p> - unexpected value "a" - locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p> - unexpected value "a" - locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p> - unexpected value "a" - locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p> - unexpected value "a" - locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p> - unexpected value "a" 1044 | await expect( 1045 | editor.canvas.locator( 'role=document[name="Block: Paragraph"i]' ) > 1046 | ).toHaveText( /^\.a+$/ ); | ^ 1047 | } ); 1048 | 1049 | test( 'should vertically move the caret from corner to corner (-webkit)', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:1046:5
Playwright - 7
Process completed with exit code 1.
Puppeteer
Canceling since a higher priority waiting request for 'End-to-End Tests-try/interactivity-api-new-store-api' exists
Puppeteer
The operation was canceled.
🎭 Playwright Run Summary
2 failed [chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:45:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions [chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit) 1 skipped 95 passed (6.0m)
🎭 Playwright Run Summary
137 passed (5.9m)
🎭 Playwright Run Summary
1 skipped 124 passed (6.2m)
🎭 Playwright Run Summary
132 passed (6.3m)
🎭 Playwright Run Summary
1 skipped 132 passed (7.2m)
🎭 Playwright Run Summary
11 skipped 151 passed (7.5m)
🎭 Playwright Run Summary
1 failed [webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit) 1 flaky [webkit] › editor/various/writing-flow.spec.js:1015:2 › Writing Flow (@Firefox, @WebKit) › should move to the start of the first line on ArrowUp (-firefox) 128 passed (7.6m)
🎭 Playwright Run Summary
2 skipped 119 passed (7.4m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
11.1 MB
flaky-tests-report Expired
9.98 KB