docs: next changelog #6619
Annotations
2 errors and 1 notice
Run tests:
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="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
|
Run tests:
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::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
|
Run tests
1 flaky
e2e/number-input.e2e.ts:133:7 › number input › dec longpress: should spin value downwards ──────
13 skipped
20 passed (1.0m)
|
Loading