Focus submenu button when clicked #86609
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 16s
Annotations
1 error and 4 notices
[webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:116:3 › Navigation block - Frontend interactivity (@firefox:
test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L183
1) [webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:116:3 › Navigation block - Frontend interactivity (@Firefox, @WebKit) › Submenu mouse and keyboard interactions › Submenu interactions
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('button', { name: 'Complex Submenu' })
- locator resolved to <button aria-expanded="false" aria-label="Complex Submen…>…</button>
- unexpected value "not focused"
- waiting for getByRole('button', { name: 'Complex Submenu' })
- locator resolved to <button aria-expanded="false" aria-label="Complex Submen…>…</button>
- unexpected value "not focused"
- locator resolved to <button aria-expanded="false" aria-label="Complex Submen…>…</button>
- unexpected value "not focused"
- locator resolved to <button aria-expanded="false" aria-label="Complex Submen…>…</button>
- unexpected value "not focused"
- locator resolved to <button aria-expanded="false" aria-label="Complex Submen…>…</button>
- unexpected value "not focused"
- locator resolved to <button aria-expanded="false" aria-label="Complex Submen…>…</button>
- unexpected value "not focused"
- locator resolved to <button aria-expanded="false" aria-label="Complex Submen…>…</button>
- unexpected value "not focused"
- locator resolved to <button aria-expanded="false" aria-label="Complex Submen…>…</button>
- unexpected value "not focused"
- locator resolved to <button aria-expanded="false" aria-label="Complex Submen…>…</button>
- unexpected value "not focused"
181 | // Tab to first element, then tab outside the submenu.
182 | await pageUtils.pressKeys( 'Tab', { times: 2, delay: 50 } );
> 183 | await expect( complexSubmenuButton ).toBeFocused();
| ^
184 | await expect( innerElement ).toBeHidden();
185 |
186 | // Test: only nested submenu closes on tab outside
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:183:41
|
🎭 Playwright Run Summary
1 skipped
232 passed (15.6m)
|
🎭 Playwright Run Summary
11 skipped
235 passed (17.7m)
|
🎭 Playwright Run Summary
245 passed (19.8m)
|
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
2.56 MB |
|
flaky-tests-report
Expired
|
8.89 KB |
|