Skip to content

feat: cascader component #6119

feat: cascader component

feat: cascader component #6119

Triggered via pull request January 4, 2025 20:28
@anubra266anubra266
synchronize #2146
cascader
Status Failure
Total duration 3m 55s
Artifacts

quality.yml

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

Annotations

13 errors, 15 warnings, and 12 notices
TypeScript
Cannot find module '@zag-js/popper' or its corresponding type declarations.
TypeScript
Cannot find module '@zag-js/dismissable' or its corresponding type declarations.
TypeScript
Cannot find module '@zag-js/popper' or its corresponding type declarations.
TypeScript
Property 'onFocusOutside' does not exist on type 'MachineContext<V>'.
TypeScript
Property 'onPointerDownOutside' does not exist on type 'MachineContext<V>'.
TypeScript
Parameter 'event' implicitly has an 'any' type.
TypeScript
Property 'onInteractOutside' does not exist on type 'MachineContext<V>'.
TypeScript
Parameter 'data' implicitly has an 'any' type.
TypeScript
Parameter 'data' implicitly has an 'any' type.
TypeScript
Type '"onFocusOutside"' is not assignable to type '"value" | "disabled" | "open" | "multiple" | "form" | "dir" | "id" | "name" | "required" | "getRootNode" | "invalid" | "collection" | "ids" | "positioning" | "readOnly" | "closeOnSelect" | ... 6 more ... | "highlightedValue"'.
tags-input.e2e.ts:117:7 › tags-input › edit tag with enter key: e2e/models/tags-input.model.ts#L90
1) 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#L87
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:87 85 | 86 | seeButtonAfterIsFocused() { > 87 | return expect(this.buttonAfter).toBeFocused() | ^ 88 | } 89 | 90 | seeButtonBeforeIsFocused() { at PopoverModel.seeButtonAfterIsFocused (/home/runner/work/zag/zag/e2e/models/popover.model.ts:87:37) at /home/runner/work/zag/zag/e2e/popover.e2e.ts:57:13
menu-option.e2e.ts:26:7 › menu option › keyboard: e2e/models/menu.model.ts#L63
1) menu-option.e2e.ts:26:7 › menu option › keyboard, should check/uncheck radio item ───────────── 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 <div role="menu" tabindex="0" data-scope="menu" data-state="open" data-part="content" id="menu::R6m::content" aria-activedescendant="desc" data-placement="bottom-start" aria-labelledby="menu::R6m::trigger">…</div> - 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-option.e2e.ts:30:13
Unit Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
TypeScript
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
End-to-end Tests (6)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
End-to-end Tests (5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
End-to-end Tests (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
End-to-end Tests (10)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
End-to-end Tests (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
End-to-end Tests (7)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
End-to-end Tests (12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
End-to-end Tests (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
End-to-end Tests (9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
End-to-end Tests (11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
End-to-end Tests (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ESLint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
End-to-end Tests (8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
16 passed (26.8s)
🎭 Playwright Run Summary
4 skipped 34 passed (49.7s)
🎭 Playwright Run Summary
1 skipped 20 passed (36.3s)
🎭 Playwright Run Summary
1 flaky tags-input.e2e.ts:117:7 › tags-input › edit tag with enter key ───────────────────────────────── 11 skipped 17 passed (41.0s)
🎭 Playwright Run Summary
38 passed (53.1s)
🎭 Playwright Run Summary
1 flaky popover.e2e.ts:53:7 › popover › [keyboard / non-modal] on tab outside: should move focus to next tabbable element after button 2 skipped 26 passed (51.8s)
🎭 Playwright Run Summary
1 skipped 21 passed (31.4s)
🎭 Playwright Run Summary
1 flaky menu-option.e2e.ts:26:7 › menu option › keyboard, should check/uncheck radio item ────────────── 23 passed (57.0s)
🎭 Playwright Run Summary
1 skipped 26 passed (37.5s)
🎭 Playwright Run Summary
3 skipped 24 passed (1.0m)
🎭 Playwright Run Summary
1 skipped 29 passed (46.0s)
🎭 Playwright Run Summary
27 passed (44.6s)