Skip to content

fix(deps): update dependency vitest to v2.1.6 #5801

fix(deps): update dependency vitest to v2.1.6

fix(deps): update dependency vitest to v2.1.6 #5801

Triggered via pull request December 2, 2024 04:59
Status Success
Total duration 3m 10s
Artifacts

quality.yml

on: pull_request
Matrix: End-to-end Tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 12 notices
menu.e2e.ts:55:7 › menu › on click outside: e2e/models/menu.model.ts#L63
1) menu.e2e.ts:55:7 › menu › on click outside, close menu ──────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).not.toBeVisible() Locator: locator('[data-scope=menu][data-part=content]') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 10000ms - waiting for locator('[data-scope=menu][data-part=content]') 14 × locator resolved to <ul role="menu" tabindex="0" data-scope="menu" data-state="open" data-part="content" id="menu::R6m::content" data-placement="bottom-start" aria-labelledby="menu::R6m::trigger">…</ul> - unexpected value "visible" at models/menu.model.ts:63 61 | 62 | dontSeeDropdown = async () => { > 63 | await expect(this.content).not.toBeVisible() | ^ 64 | } 65 | 66 | seeItemIsHighlighted = async (text: string) => { at MenuModel.dontSeeDropdown (/home/runner/work/zag/zag/e2e/models/menu.model.ts:63:36) at /home/runner/work/zag/zag/e2e/menu.e2e.ts:58:13
tags-input.e2e.ts:87:7 › tags-input › should navigate tags with arrow keys: e2e/models/tags-input.model.ts#L70
1) tags-input.e2e.ts:87:7 › tags-input › should navigate tags with arrow keys ──────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveAttribute(expected) Locator: locator('[data-testid=solid-tag]') Expected string: "" Received string: serializes to the same string Call log: - expect.toHaveAttribute with timeout 10000ms - waiting for locator('[data-testid=solid-tag]') 14 × locator resolved to <div dir="ltr" data-value="Solid" data-testid="solid-tag" data-scope="tags-input" data-part="item-preview" id="tags-input::R6m::tag:Solid:3">…</div> - unexpected value "null" at models/tags-input.model.ts:70 68 | 69 | async seeTagIsHighlighted(value: string) { > 70 | await expect(this.getTag(value)).toHaveAttribute("data-highlighted", "") | ^ 71 | } 72 | 73 | async seeTag(value: string) { at TagsInputModel.seeTagIsHighlighted (/home/runner/work/zag/zag/e2e/models/tags-input.model.ts:70:38) at /home/runner/work/zag/zag/e2e/tags-input.e2e.ts:92:13
tags-input.e2e.ts:117:7 › tags-input › edit tag with enter key: e2e/models/tags-input.model.ts#L90
2) tags-input.e2e.ts:117:7 › tags-input › edit tag with enter key ──────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeFocused() Locator: locator('[data-testid=svelte-input]') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 10000ms - waiting for locator('[data-testid=svelte-input]') 14 × locator resolved to <input value="" dir="ltr" hidden="" tabindex="-1" aria-hidden="true" data-part="item-input" data-scope="tags-input" data-testid="svelte-input" id="tags-input::R6m::tag:Svelte:2:input" aria-label="Editing tag Svelte. Press enter to save or escape to cancel."/> - unexpected value "not focused" at models/tags-input.model.ts:90 88 | 89 | async seeTagInputIsFocused(value: string) { > 90 | await expect(this.getTagInput(value)).toBeFocused() | ^ 91 | } 92 | 93 | async dontSeeTagInput(value: string) { at TagsInputModel.seeTagInputIsFocused (/home/runner/work/zag/zag/e2e/models/tags-input.model.ts:90:43) at /home/runner/work/zag/zag/e2e/tags-input.e2e.ts:124:13
popover.e2e.ts:53:7 › popover › [keyboard / non-modal] on tab outside: should move focus to next tabbable element after button: e2e/models/popover.model.ts#L91
1) 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
popover.e2e.ts:82:7 › popover › [pointer] when clicking outside: e2e/models/popover.model.ts#L79
2) 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
2) 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
🎭 Playwright Run Summary
1 skipped 19 passed (27.9s)
🎭 Playwright Run Summary
7 passed (17.7s)
🎭 Playwright Run Summary
1 skipped 32 passed (41.8s)
🎭 Playwright Run Summary
1 skipped 21 passed (29.7s)
🎭 Playwright Run Summary
26 passed (35.4s)
🎭 Playwright Run Summary
1 flaky menu.e2e.ts:55:7 › menu › on click outside, close menu ───────────────────────────────────────── 20 passed (51.7s)
🎭 Playwright Run Summary
1 skipped 43 passed (55.9s)
🎭 Playwright Run Summary
2 skipped 29 passed (40.6s)
🎭 Playwright Run Summary
2 flaky tags-input.e2e.ts:87:7 › tags-input › should navigate tags with arrow keys ───────────────────── tags-input.e2e.ts:117:7 › tags-input › edit tag with enter key ───────────────────────────────── 11 skipped 16 passed (51.2s)
🎭 Playwright Run Summary
1 skipped 30 passed (43.9s)
🎭 Playwright Run Summary
2 flaky popover.e2e.ts:53:7 › popover › [keyboard / non-modal] on tab outside: should move focus to next tabbable element after button popover.e2e.ts:82:7 › popover › [pointer] when clicking outside, should re-focus the button on click non-focusable element 26 passed (1.2m)
🎭 Playwright Run Summary
3 skipped 24 passed (59.8s)