chore: update angle slider docs (#2064) #5795
Annotations
5 errors and 12 notices
menu.e2e.ts:16:7 › menu › on arrow up and down:
e2e/models/menu.model.ts#L68
1) menu.e2e.ts:16:7 › menu › on arrow up and down, change highlighted item ───────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('[data-part=item]').filter({ hasText: 'Duplicate' })
Expected string: ""
Received string: serializes to the same string
Call log:
- expect.toHaveAttribute with timeout 10000ms
- waiting for locator('[data-part=item]').filter({ hasText: 'Duplicate' })
14 × locator resolved to <li id="duplicate" role="menuitem" data-part="item" data-scope="menu" aria-disabled="false" data-ownedby="menu::R6m::content">Duplicate</li>
- unexpected value "null"
at models/menu.model.ts:68
66 | seeItemIsHighlighted = async (text: string) => {
67 | const item = this.getItem(text)
> 68 | await expect(item).toHaveAttribute("data-highlighted", "")
| ^
69 | }
70 |
71 | dontSeeHighlightedItem = async () => {
at MenuModel.seeItemIsHighlighted (/home/runner/work/zag/zag/e2e/models/menu.model.ts:68:24)
at /home/runner/work/zag/zag/e2e/menu.e2e.ts:19:13
|
popover.e2e.ts:82:7 › popover › [pointer] when clicking outside:
e2e/models/popover.model.ts#L79
1) popover.e2e.ts:82:7 › popover › [pointer] when clicking outside, should re-focus the button on click non-focusable element
Error: Timed out 10000ms waiting for expect(locator).toBeFocused()
Locator: locator('[data-scope=popover][data-part=trigger]')
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 10000ms
- waiting for locator('[data-scope=popover][data-part=trigger]')
14 × locator resolved to <button type="button" data-state="open" data-part="trigger" data-scope="popover" aria-expanded="true" aria-haspopup="dialog" data-placement="bottom" id="popover::R6m::trigger" data-testid="popover-trigger" aria-controls="popover::R6m::content">…</button>
- unexpected value "not focused"
at models/popover.model.ts:79
77 |
78 | seeTriggerIsFocused() {
> 79 | return expect(this.trigger).toBeFocused()
| ^
80 | }
81 |
82 | seeContentIsFocused() {
at PopoverModel.seeTriggerIsFocused (/home/runner/work/zag/zag/e2e/models/popover.model.ts:79:33)
at /home/runner/work/zag/zag/e2e/popover.e2e.ts:85:13
|
popover.e2e.ts:82:7 › popover › [pointer] when clicking outside:
e2e/models/popover.model.ts#L79
1) popover.e2e.ts:82:7 › popover › [pointer] when clicking outside, should re-focus the button on click non-focusable element
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeFocused()
Locator: locator('[data-scope=popover][data-part=trigger]')
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 10000ms
- waiting for locator('[data-scope=popover][data-part=trigger]')
14 × locator resolved to <button type="button" data-state="open" data-part="trigger" data-scope="popover" aria-expanded="true" aria-haspopup="dialog" data-placement="bottom" id="popover::R6m::trigger" data-testid="popover-trigger" aria-controls="popover::R6m::content">…</button>
- unexpected value "not focused"
at models/popover.model.ts:79
77 |
78 | seeTriggerIsFocused() {
> 79 | return expect(this.trigger).toBeFocused()
| ^
80 | }
81 |
82 | seeContentIsFocused() {
at PopoverModel.seeTriggerIsFocused (/home/runner/work/zag/zag/e2e/models/popover.model.ts:79:33)
at /home/runner/work/zag/zag/e2e/popover.e2e.ts:85:13
|
popover.e2e.ts:82:7 › popover › [pointer] when clicking outside:
e2e/models/popover.model.ts#L79
1) popover.e2e.ts:82:7 › popover › [pointer] when clicking outside, should re-focus the button on click non-focusable element
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeFocused()
Locator: locator('[data-scope=popover][data-part=trigger]')
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 10000ms
- waiting for locator('[data-scope=popover][data-part=trigger]')
14 × locator resolved to <button type="button" data-state="open" data-part="trigger" data-scope="popover" aria-expanded="true" aria-haspopup="dialog" data-placement="bottom" id="popover::R6m::trigger" data-testid="popover-trigger" aria-controls="popover::R6m::content">…</button>
- unexpected value "not focused"
at models/popover.model.ts:79
77 |
78 | seeTriggerIsFocused() {
> 79 | return expect(this.trigger).toBeFocused()
| ^
80 | }
81 |
82 | seeContentIsFocused() {
at PopoverModel.seeTriggerIsFocused (/home/runner/work/zag/zag/e2e/models/popover.model.ts:79:33)
at /home/runner/work/zag/zag/e2e/popover.e2e.ts:85:13
|
End-to-end Tests (6)
Process completed with exit code 1.
|
🎭 Playwright Run Summary
7 passed (18.0s)
|
🎭 Playwright Run Summary
11 skipped
18 passed (29.3s)
|
🎭 Playwright Run Summary
1 skipped
21 passed (30.9s)
|
🎭 Playwright Run Summary
1 skipped
32 passed (41.5s)
|
🎭 Playwright Run Summary
1 skipped
19 passed (28.0s)
|
🎭 Playwright Run Summary
1 skipped
30 passed (44.4s)
|
🎭 Playwright Run Summary
26 passed (36.0s)
|
🎭 Playwright Run Summary
2 skipped
29 passed (41.1s)
|
🎭 Playwright Run Summary
1 flaky
menu.e2e.ts:16:7 › menu › on arrow up and down, change highlighted item ────────────────────────
20 passed (51.3s)
|
🎭 Playwright Run Summary
3 skipped
24 passed (1.0m)
|
🎭 Playwright Run Summary
1 skipped
43 passed (57.4s)
|
🎭 Playwright Run Summary
1 failed
popover.e2e.ts:82:7 › popover › [pointer] when clicking outside, should re-focus the button on click non-focusable element
27 passed (1.2m)
|