chore(deps): update dependency typescript to v5.7.2 - autoclosed #5764
Annotations
5 errors, 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
|
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
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
|
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
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
|
Run tests:
e2e/models/popover.model.ts#L91
2) popover.e2e.ts:53:7 › popover › [keyboard / non-modal] on tab outside: should move focus to next tabbable element after button
Error: Timed out 10000ms waiting for expect(locator).toBeFocused()
Locator: locator('[data-testid=button\\-after]')
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 10000ms
- waiting for locator('[data-testid=button\\-after]')
14 × locator resolved to <button data-testid="button-after">Button :after</button>
- unexpected value "not focused"
at models/popover.model.ts:91
89 |
90 | seeButtonAfterIsFocused() {
> 91 | return expect(this.buttonAfter).toBeFocused()
| ^
92 | }
93 |
94 | seeButtonBeforeIsFocused() {
at PopoverModel.seeButtonAfterIsFocused (/home/runner/work/zag/zag/e2e/models/popover.model.ts:91:37)
at /home/runner/work/zag/zag/e2e/popover.e2e.ts:57:13
|
Run tests
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run tests
1 failed
popover.e2e.ts:82:7 › popover › [pointer] when clicking outside, should re-focus the button on click non-focusable element
1 flaky
popover.e2e.ts:53:7 › popover › [keyboard / non-modal] on tab outside: should move focus to next tabbable element after button
26 passed (1.4m)
|
Loading