feat: auto field value update #1347
Annotations
8 errors and 1 notice
tests\integrations\custom-inputs.spec.ts#L41
1) [chromium] › custom-inputs.spec.ts:73:5 › Client Validation: useInputControl ──────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "",
+ "Color is required",
"",
"Please accept the terms of service",
"At least one option is required",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('main p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
39 | await playground.container.getByText('Spanish').click();
40 | await playground.container.click();
> 41 | await expect(playground.error).toHaveText([
| ^
42 | '',
43 | '',
44 | 'Please accept the terms of service',
at runTest (D:\a\conform\conform\tests\integrations\custom-inputs.spec.ts:41:33)
at D:\a\conform\conform\tests\integrations\custom-inputs.spec.ts:75:2
|
tests\integrations\custom-inputs.spec.ts#L41
1) [chromium] › custom-inputs.spec.ts:73:5 › Client Validation: useInputControl ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "",
+ "Color is required",
"",
"Please accept the terms of service",
"At least one option is required",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('main p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
39 | await playground.container.getByText('Spanish').click();
40 | await playground.container.click();
> 41 | await expect(playground.error).toHaveText([
| ^
42 | '',
43 | '',
44 | 'Please accept the terms of service',
at runTest (D:\a\conform\conform\tests\integrations\custom-inputs.spec.ts:41:33)
at D:\a\conform\conform\tests\integrations\custom-inputs.spec.ts:75:2
|
tests\integrations\custom-inputs.spec.ts#L41
1) [chromium] › custom-inputs.spec.ts:73:5 › Client Validation: useInputControl ──────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "",
+ "Color is required",
"",
"Please accept the terms of service",
"At least one option is required",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('main p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
39 | await playground.container.getByText('Spanish').click();
40 | await playground.container.click();
> 41 | await expect(playground.error).toHaveText([
| ^
42 | '',
43 | '',
44 | 'Please accept the terms of service',
at runTest (D:\a\conform\conform\tests\integrations\custom-inputs.spec.ts:41:33)
at D:\a\conform\conform\tests\integrations\custom-inputs.spec.ts:75:2
|
tests\integrations\custom-inputs.spec.ts#L41
2) [chromium] › custom-inputs.spec.ts:78:5 › Server Validation: useInputControl ──────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "",
+ "Color is required",
"",
"Please accept the terms of service",
"At least one option is required",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('main p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
39 | await playground.container.getByText('Spanish').click();
40 | await playground.container.click();
> 41 | await expect(playground.error).toHaveText([
| ^
42 | '',
43 | '',
44 | 'Please accept the terms of service',
at runTest (D:\a\conform\conform\tests\integrations\custom-inputs.spec.ts:41:33)
at D:\a\conform\conform\tests\integrations\custom-inputs.spec.ts:80:2
|
tests\integrations\custom-inputs.spec.ts#L41
2) [chromium] › custom-inputs.spec.ts:78:5 › Server Validation: useInputControl ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "",
+ "Color is required",
"",
"Please accept the terms of service",
"At least one option is required",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('main p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
39 | await playground.container.getByText('Spanish').click();
40 | await playground.container.click();
> 41 | await expect(playground.error).toHaveText([
| ^
42 | '',
43 | '',
44 | 'Please accept the terms of service',
at runTest (D:\a\conform\conform\tests\integrations\custom-inputs.spec.ts:41:33)
at D:\a\conform\conform\tests\integrations\custom-inputs.spec.ts:80:2
|
tests\integrations\custom-inputs.spec.ts#L41
2) [chromium] › custom-inputs.spec.ts:78:5 › Server Validation: useInputControl ──────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "",
+ "Color is required",
"",
"Please accept the terms of service",
"At least one option is required",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('main p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
39 | await playground.container.getByText('Spanish').click();
40 | await playground.container.click();
> 41 | await expect(playground.error).toHaveText([
| ^
42 | '',
43 | '',
44 | 'Please accept the terms of service',
at runTest (D:\a\conform\conform\tests\integrations\custom-inputs.spec.ts:41:33)
at D:\a\conform\conform\tests\integrations\custom-inputs.spec.ts:80:2
|
tests\integrations\async-validation.spec.ts#L170
3) [chromium] › async-validation.spec.ts:148:6 › With JS › Form reset ────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "",
+ "Email is already used",
"",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('main p')
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
168 |
169 | await playground.reset.click();
> 170 | await expect(playground.error).toHaveText(['', '']);
| ^
171 | });
172 | });
173 |
at D:\a\conform\conform\tests\integrations\async-validation.spec.ts:170:34
|
|
2 failed
[chromium] › custom-inputs.spec.ts:73:5 › Client Validation: useInputControl ───────────────────
[chromium] › custom-inputs.spec.ts:78:5 › Server Validation: useInputControl ───────────────────
1 flaky
[chromium] › async-validation.spec.ts:148:6 › With JS › Form reset ─────────────────────────────
9 skipped
97 passed (2.1m)
|
This job failed
Loading