docs(segmented-control): update solid docs/examples #2324
Annotations
2 errors, 1 warning, and 1 notice
e2e/nested-menu.e2e.ts#L46
1) nested-menu.e2e.ts:154:7 › nested menu / select item › clicking outside or blur ───────────────
Error: Timed out 10000ms waiting for expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 10000ms
- waiting for locator('[data-testid=trigger]')
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
44 |
45 | // focus trigger
> 46 | await expect(page.locator(menu_1.trigger)).toBeFocused()
| ^
47 | }
48 |
49 | test.describe("nested menu / pointer", async () => {
at expectAllMenusToBeClosed (/home/runner/work/zag/zag/e2e/nested-menu.e2e.ts:46:46)
at /home/runner/work/zag/zag/e2e/nested-menu.e2e.ts:159:5
|
e2e/nested-menu.e2e.ts#L46
1) nested-menu.e2e.ts:154:7 › nested menu / select item › clicking outside or blur ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 10000ms
- waiting for locator('[data-testid=trigger]')
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
- locator resolved to <button type="button" data-uid=":R6m:" data-scope="menu"…>Click me</button>
- unexpected value "not focused"
44 |
45 | // focus trigger
> 46 | await expect(page.locator(menu_1.trigger)).toBeFocused()
| ^
47 | }
48 |
49 | test.describe("nested menu / pointer", async () => {
at expectAllMenusToBeClosed (/home/runner/work/zag/zag/e2e/nested-menu.e2e.ts:46:46)
at /home/runner/work/zag/zag/e2e/nested-menu.e2e.ts:159:5
|
nested-menu.e2e.ts#L1
nested-menu.e2e.ts took 52.4s
|
|
The logs for this run have expired and are no longer available.
Loading