Interactivity API: migration to the new store()
API
#89215
Annotations
5 errors and 1 notice
Run the tests:
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
|
Run the tests:
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
|
Run the tests:
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
|
Run the tests:
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
|
Run the tests
Process completed with exit code 1.
|
Run the tests
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)
|
The logs for this run have expired and are no longer available.
Loading