Version Packages #5816
Annotations
1 error, 1 warning, and 1 notice
Run tests:
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
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run tests
1 flaky
popover.e2e.ts:82:7 › popover › [pointer] when clicking outside, should re-focus the button on click non-focusable element
27 passed (48.4s)
|
Loading