Skip to content

fix(react): flush effect sync #6643

fix(react): flush effect sync

fix(react): flush effect sync #6643

Triggered via push March 8, 2025 13:39
Status Success
Total duration 3m 31s
Artifacts

quality.yml

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

Annotations

3 errors and 12 notices
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::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="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 "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
e2e/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) e2e/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 "inactive" 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
e2e/tags-input.e2e.ts:26:7 › tags-input › deletes tag with backspace when input value is empty: e2e/models/tags-input.model.ts#L70
1) e2e/tags-input.e2e.ts:26:7 › tags-input › deletes tag with backspace when input value is empty Error: Timed out 10000ms waiting for expect(locator).toHaveAttribute(expected) Locator: locator('[data-testid=svelte-tag]') Expected string: "" Received string: serializes to the same string Call log: - expect.toHaveAttribute with timeout 10000ms - waiting for locator('[data-testid=svelte-tag]') 14 × locator resolved to <div dir="ltr" data-value="Svelte" data-scope="tags-input" data-testid="svelte-tag" data-part="item-preview" id="tags-input::R6m::tag:Svelte:2">…</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:30:13
🎭 Playwright Run Summary
1 skipped 21 passed (34.7s)
🎭 Playwright Run Summary
1 skipped 29 passed (49.9s)
🎭 Playwright Run Summary
1 skipped 26 passed (43.3s)
🎭 Playwright Run Summary
1 skipped 17 passed (29.8s)
🎭 Playwright Run Summary
1 skipped 29 passed (54.5s)
🎭 Playwright Run Summary
1 flaky e2e/number-input.e2e.ts:133:7 › number input › dec longpress: should spin value downwards ────── 13 skipped 20 passed (48.8s)
🎭 Playwright Run Summary
38 passed (58.2s)
🎭 Playwright Run Summary
1 flaky e2e/popover.e2e.ts:53:7 › popover › [keyboard / non-modal] on tab outside: should move focus to next tabbable element after button 1 skipped 27 passed (57.4s)
🎭 Playwright Run Summary
17 passed (34.6s)
🎭 Playwright Run Summary
3 skipped 26 passed (1.1m)
🎭 Playwright Run Summary
28 passed (52.4s)
🎭 Playwright Run Summary
1 flaky e2e/tags-input.e2e.ts:26:7 › tags-input › deletes tag with backspace when input value is empty ─ 11 skipped 17 passed (46.8s)