Skip to content

Focus submenu button when clicked #86609

Focus submenu button when clicked

Focus submenu button when clicked #86609

Triggered via pull request October 18, 2023 13:04
Status Success
Total duration 40m 23s
Artifacts 2

end2end-test.yml

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

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)
🎭 Playwright Run Summary
1 flaky [webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:116:3 › Navigation block - Frontend interactivity (@Firefox, @WebKit) › Submenu mouse and keyboard interactions › Submenu interactions 2 skipped 230 passed (27.0m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
2.56 MB
flaky-tests-report Expired
8.89 KB