Skip to content

chore(docs): fix solid snippets #6048

chore(docs): fix solid snippets

chore(docs): fix solid snippets #6048

Triggered via pull request December 24, 2024 09:06
Status Success
Total duration 3m 31s
Artifacts

quality.yml

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

Annotations

3 errors, 15 warnings, and 12 notices
number-input.e2e.ts:133:7 › number input › dec longpress: should spin value downwards: e2e/models/number-input.model.ts#L44
1) number-input.e2e.ts:133:7 › number input › dec longpress: should spin value downwards ───────── Error: Timed out 10000ms waiting for expect(locator).toHaveValue(expected) Locator: locator('[data-testid=input]') Expected string: "10" Received string: "0" Call log: - expect.toHaveValue with timeout 10000ms - waiting for locator('[data-testid=input]') 2 × locator resolved to <input dir="ltr" value="8" type="text" data-part="input" role="spinbutton" autocorrect="off" aria-valuemin="0" aria-valuenow="8" autocomplete="off" spellcheck="false" data-testid="input" inputmode="decimal" aria-valuemax="100" data-scope="number-input" pattern="[0-9]*(.[0-9]+)?" id="number-input::R6m::input" aria-roledescription="numberfield"/> - unexpected value "8" - locator resolved to <input dir="ltr" value="6" type="text" data-part="input" role="spinbutton" autocorrect="off" aria-valuemin="0" aria-valuenow="6" autocomplete="off" spellcheck="false" data-testid="input" inputmode="decimal" aria-valuemax="100" data-scope="number-input" pattern="[0-9]*(.[0-9]+)?" id="number-input::R6m::input" aria-roledescription="numberfield"/> - unexpected value "6" - locator resolved to <input dir="ltr" value="1" type="text" data-part="input" role="spinbutton" autocorrect="off" aria-valuemin="0" aria-valuenow="1" autocomplete="off" spellcheck="false" data-testid="input" inputmode="decimal" aria-valuemax="100" data-scope="number-input" pattern="[0-9]*(.[0-9]+)?" id="number-input::R6m::input" aria-roledescription="numberfield"/> - unexpected value "1" 10 × locator resolved to <input dir="ltr" value="0" type="text" data-part="input" role="spinbutton" autocorrect="off" aria-valuemin="0" aria-valuenow="0" autocomplete="off" spellcheck="false" data-testid="input" inputmode="decimal" aria-valuemax="100" data-scope="number-input" pattern="[0-9]*(.[0-9]+)?" id="number-input::R6m::input" aria-roledescription="numberfield"/> - unexpected value "0" at models/number-input.model.ts:44 42 | 43 | async seeInputHasValue(value: string) { > 44 | await expect(this.input).toHaveValue(value) | ^ 45 | } 46 | 47 | async seeInputIsInvalid() { at NumberInputModel.seeInputHasValue (/home/runner/work/zag/zag/e2e/models/number-input.model.ts:44:30) at /home/runner/work/zag/zag/e2e/number-input.e2e.ts:141: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
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
ESLint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Tests
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 (8)
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
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 (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 (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 (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 (11)
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 (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 (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 (10)
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.7s)
🎭 Playwright Run Summary
27 passed (43.1s)
🎭 Playwright Run Summary
1 skipped 29 passed (45.0s)
🎭 Playwright Run Summary
1 skipped 26 passed (37.6s)
🎭 Playwright Run Summary
1 skipped 21 passed (30.8s)
🎭 Playwright Run Summary
1 skipped 20 passed (35.5s)
🎭 Playwright Run Summary
1 flaky number-input.e2e.ts:133:7 › number input › dec longpress: should spin value downwards ────────── 3 skipped 34 passed (1.1m)
🎭 Playwright Run Summary
3 skipped 24 passed (1.0m)
🎭 Playwright Run Summary
38 passed (53.3s)
🎭 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 (50.8s)
🎭 Playwright Run Summary
24 passed (43.7s)
🎭 Playwright Run Summary
1 flaky tags-input.e2e.ts:117:7 › tags-input › edit tag with enter key ───────────────────────────────── 11 skipped 17 passed (41.7s)