feat: auto fields management #1417
Annotations
10 errors and 1 notice
Run Playwright tests:
tests/integrations/dom-value.spec.ts#L33
1) [chromium] › dom-value.spec.ts:57:6 › With JS › Client Validation ─────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Object {
"value": Object {
+ "message": "Test",
"type": "title",
},
}
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
31 |
32 | await fieldset.titleType.click();
> 33 | await expect.poll(playground.result).toEqual({
| ^
34 | value: {
35 | type: 'title',
36 | },
at runTest (/Users/runner/work/conform/conform/tests/integrations/dom-value.spec.ts:33:39)
at /Users/runner/work/conform/conform/tests/integrations/dom-value.spec.ts:59:3
|
Run Playwright tests:
tests/integrations/dom-value.spec.ts#L33
1) [chromium] › dom-value.spec.ts:57:6 › With JS › Client Validation ─────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Object {
"value": Object {
+ "message": "Test",
"type": "title",
},
}
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
31 |
32 | await fieldset.titleType.click();
> 33 | await expect.poll(playground.result).toEqual({
| ^
34 | value: {
35 | type: 'title',
36 | },
at runTest (/Users/runner/work/conform/conform/tests/integrations/dom-value.spec.ts:33:39)
at /Users/runner/work/conform/conform/tests/integrations/dom-value.spec.ts:59:3
|
Run Playwright tests:
tests/integrations/dom-value.spec.ts#L33
1) [chromium] › dom-value.spec.ts:57:6 › With JS › Client Validation ─────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Object {
"value": Object {
+ "message": "Test",
"type": "title",
},
}
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
31 |
32 | await fieldset.titleType.click();
> 33 | await expect.poll(playground.result).toEqual({
| ^
34 | value: {
35 | type: 'title',
36 | },
at runTest (/Users/runner/work/conform/conform/tests/integrations/dom-value.spec.ts:33:39)
at /Users/runner/work/conform/conform/tests/integrations/dom-value.spec.ts:59:3
|
Run Playwright tests:
tests/integrations/dom-value.spec.ts#L33
2) [chromium] › dom-value.spec.ts:62:6 › With JS › Server Validation ─────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Object {
"value": Object {
+ "message": "Test",
"type": "title",
},
}
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
31 |
32 | await fieldset.titleType.click();
> 33 | await expect.poll(playground.result).toEqual({
| ^
34 | value: {
35 | type: 'title',
36 | },
at runTest (/Users/runner/work/conform/conform/tests/integrations/dom-value.spec.ts:33:39)
at /Users/runner/work/conform/conform/tests/integrations/dom-value.spec.ts:64:3
|
Run Playwright tests:
tests/integrations/dom-value.spec.ts#L33
2) [chromium] › dom-value.spec.ts:62:6 › With JS › Server Validation ─────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Object {
"value": Object {
+ "message": "Test",
"type": "title",
},
}
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
31 |
32 | await fieldset.titleType.click();
> 33 | await expect.poll(playground.result).toEqual({
| ^
34 | value: {
35 | type: 'title',
36 | },
at runTest (/Users/runner/work/conform/conform/tests/integrations/dom-value.spec.ts:33:39)
at /Users/runner/work/conform/conform/tests/integrations/dom-value.spec.ts:64:3
|
Run Playwright tests:
tests/integrations/dom-value.spec.ts#L33
2) [chromium] › dom-value.spec.ts:62:6 › With JS › Server Validation ─────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Object {
"value": Object {
+ "message": "Test",
"type": "title",
},
}
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
31 |
32 | await fieldset.titleType.click();
> 33 | await expect.poll(playground.result).toEqual({
| ^
34 | value: {
35 | type: 'title',
36 | },
at runTest (/Users/runner/work/conform/conform/tests/integrations/dom-value.spec.ts:33:39)
at /Users/runner/work/conform/conform/tests/integrations/dom-value.spec.ts:64:3
|
Run Playwright tests:
tests/integrations/form-control.spec.ts#L40
3) [chromium] › form-control.spec.ts:84:6 › With JS › Client Validation ──────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('body').locator('[name="message"]')
Expected string: ""
Received string: "Hello World"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('body').locator('[name="message"]')
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
38 | await fieldset.clearMessage.click();
39 | await expect(fieldset.name).toHaveValue('');
> 40 | await expect(fieldset.message).toHaveValue('');
| ^
41 | await expect(playground.error).toHaveText(['', 'Message is required', '']);
42 |
43 | await fieldset.resetMessage.click();
at runValidationScenario (/Users/runner/work/conform/conform/tests/integrations/form-control.spec.ts:40:33)
at /Users/runner/work/conform/conform/tests/integrations/form-control.spec.ts:86:3
|
Run Playwright tests:
tests/integrations/form-control.spec.ts#L40
3) [chromium] › form-control.spec.ts:84:6 › With JS › Client Validation ──────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('body').locator('[name="message"]')
Expected string: ""
Received string: "Hello World"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('body').locator('[name="message"]')
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
38 | await fieldset.clearMessage.click();
39 | await expect(fieldset.name).toHaveValue('');
> 40 | await expect(fieldset.message).toHaveValue('');
| ^
41 | await expect(playground.error).toHaveText(['', 'Message is required', '']);
42 |
43 | await fieldset.resetMessage.click();
at runValidationScenario (/Users/runner/work/conform/conform/tests/integrations/form-control.spec.ts:40:33)
at /Users/runner/work/conform/conform/tests/integrations/form-control.spec.ts:86:3
|
Run Playwright tests:
tests/integrations/form-control.spec.ts#L40
3) [chromium] › form-control.spec.ts:84:6 › With JS › Client Validation ──────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('body').locator('[name="message"]')
Expected string: ""
Received string: "Hello World"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('body').locator('[name="message"]')
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
38 | await fieldset.clearMessage.click();
39 | await expect(fieldset.name).toHaveValue('');
> 40 | await expect(fieldset.message).toHaveValue('');
| ^
41 | await expect(playground.error).toHaveText(['', 'Message is required', '']);
42 |
43 | await fieldset.resetMessage.click();
at runValidationScenario (/Users/runner/work/conform/conform/tests/integrations/form-control.spec.ts:40:33)
at /Users/runner/work/conform/conform/tests/integrations/form-control.spec.ts:86:3
|
Run Playwright tests:
tests/integrations/form-control.spec.ts#L40
4) [chromium] › form-control.spec.ts:89:6 › With JS › Server Validation ──────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('body').locator('[name="message"]')
Expected string: ""
Received string: "Hello World"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('body').locator('[name="message"]')
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
- locator resolved to <textarea form=":R35:" name="message" id=":R35:-message" a…>Hello World</textarea>
- unexpected value "Hello World"
38 | await fieldset.clearMessage.click();
39 | await expect(fieldset.name).toHaveValue('');
> 40 | await expect(fieldset.message).toHaveValue('');
| ^
41 | await expect(playground.error).toHaveText(['', 'Message is required', '']);
42 |
43 | await fieldset.resetMessage.click();
at runValidationScenario (/Users/runner/work/conform/conform/tests/integrations/form-control.spec.ts:40:33)
at /Users/runner/work/conform/conform/tests/integrations/form-control.spec.ts:91:3
|
Run Playwright tests
5 failed
[chromium] › dom-value.spec.ts:57:6 › With JS › Client Validation ──────────────────────────────
[chromium] › dom-value.spec.ts:62:6 › With JS › Server Validation ──────────────────────────────
[chromium] › form-control.spec.ts:84:6 › With JS › Client Validation ───────────────────────────
[chromium] › form-control.spec.ts:89:6 › With JS › Server Validation ───────────────────────────
[chromium] › input-attributes.spec.ts:16:5 › setup validation attributes ───────────────────────
9 skipped
95 passed (2.3m)
|
Loading