feat(scroll-area): add dragging state to scroll area context and machine #7689
Annotations
5 errors and 12 notices
|
e2e/tabs.e2e.ts:106:7 › tabs › manual: on navigate:
e2e/models/tabs.model.ts#L31
1) e2e/tabs.e2e.ts:106:7 › tabs › manual: on navigate, select on enter ───────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: locator('[data-testid=agnes\\-tab\\-panel]')
Expected: visible
Received: hidden
Call log:
- Expect "toBeVisible" with timeout 10000ms
- waiting for locator('[data-testid=agnes\\-tab\\-panel]')
14 × locator resolved to <div dir="ltr" hidden="" tabindex="0" role="tabpanel" data-scope="tabs" data-part="content" id="tabs:«R1m»:content-agnes" data-orientation="horizontal" data-testid="agnes-tab-panel" data-ownedby="tabs:«R1m»:list" aria-labelledby="tabs:«R1m»:trigger-agnes">…</div>
- unexpected value "hidden"
at models/tabs.model.ts:31
29 |
30 | seeTabContent = async (id: string) => {
> 31 | await expect(this.getTabContent(id)).toBeVisible()
| ^
32 | }
33 |
34 | dontSeeTabContent = async (id: string) => {
at TabsModel.seeTabContent (/home/runner/work/zag/zag/e2e/models/tabs.model.ts:31:42)
at /home/runner/work/zag/zag/e2e/tabs.e2e.ts:114:13
|
|
e2e/carousel.e2e.ts:61:7 › carousel › dragging behavior:
e2e/models/carousel.model.ts#L11
1) e2e/carousel.e2e.ts:61:7 › carousel › dragging behavior ───────────────────────────────────────
Error: page.goto: Test timeout of 30000ms exceeded.
Call log:
- navigating to "http://localhost:3000/carousel", waiting until "load"
at models/carousel.model.ts:11
9 |
10 | goto(url = "/carousel") {
> 11 | return this.page.goto(url)
| ^
12 | }
13 |
14 | checkAccessibility(selector?: string): Promise<void> {
at CarouselModel.goto (/home/runner/work/zag/zag/e2e/models/carousel.model.ts:11:22)
at /home/runner/work/zag/zag/e2e/carousel.e2e.ts:9:13
|
|
e2e/carousel.e2e.ts:61:7 › carousel › dragging behavior:
e2e/carousel.e2e.ts#L7
1) e2e/carousel.e2e.ts:61:7 › carousel › dragging behavior ───────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
5 |
6 | test.describe("carousel", () => {
> 7 | test.beforeEach(async ({ page }) => {
| ^
8 | I = new CarouselModel(page)
9 | await I.goto()
10 | })
at /home/runner/work/zag/zag/e2e/carousel.e2e.ts:7:8
|
|
e2e/number-input.e2e.ts:133:7 › number input › dec longpress: should spin value downwards:
e2e/models/number-input.model.ts#L44
1) e2e/number-input.e2e.ts:133:7 › number input › dec longpress: should spin value downwards ─────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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:«R1m»: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:«R1m»: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:«R1m»: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:«R1m»: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
|
|
e2e/number-input.e2e.ts:133:7 › number input › dec longpress: should spin value downwards:
e2e/models/number-input.model.ts#L44
1) e2e/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:«R1m»: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:«R1m»: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:«R1m»: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:«R1m»: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
|
|
🎭 Playwright Run Summary
4 skipped
26 passed (41.4s)
|
|
🎭 Playwright Run Summary
1 skipped
33 passed (54.6s)
|
|
🎭 Playwright Run Summary
1 skipped
23 passed (43.3s)
|
|
🎭 Playwright Run Summary
22 passed (1.0m)
|
|
🎭 Playwright Run Summary
11 skipped
19 passed (32.2s)
|
|
🎭 Playwright Run Summary
2 skipped
40 passed (1.1m)
|
|
🎭 Playwright Run Summary
11 skipped
10 passed (21.8s)
|
|
🎭 Playwright Run Summary
1 flaky
e2e/tabs.e2e.ts:106:7 › tabs › manual: on navigate, select on enter ────────────────────────────
1 skipped
30 passed (59.0s)
|
|
🎭 Playwright Run Summary
1 flaky
e2e/carousel.e2e.ts:61:7 › carousel › dragging behavior ────────────────────────────────────────
2 skipped
30 passed (1.9m)
|
|
🎭 Playwright Run Summary
1 flaky
e2e/number-input.e2e.ts:133:7 › number input › dec longpress: should spin value downwards ──────
2 skipped
28 passed (1.2m)
|
|
🎭 Playwright Run Summary
40 passed (1.0m)
|
|
🎭 Playwright Run Summary
1 skipped
35 passed (58.7s)
|