fix: type error, cannot create property #1
Annotations
10 errors and 1 notice
tests\integrations\async-validation.spec.ts#L72
1) [chromium] › async-validation.spec.ts:138:6 › With JS › Client Validation ─────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "Email is invalid",
+ "Email is required",
"Title is required",
]
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
70 | }
71 |
> 72 | await expect(playground.error).toHaveText([
| ^
73 | 'Email is invalid',
74 | 'Title is required',
75 | ]);
at runTest (D:\a\conform\conform\tests\integrations\async-validation.spec.ts:72:33)
at D:\a\conform\conform\tests\integrations\async-validation.spec.ts:140:3
|
tests\integrations\async-validation.spec.ts#L72
1) [chromium] › async-validation.spec.ts:138:6 › With JS › Client Validation ─────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "Email is invalid",
+ "Email is required",
"Title is required",
]
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
70 | }
71 |
> 72 | await expect(playground.error).toHaveText([
| ^
73 | 'Email is invalid',
74 | 'Title is required',
75 | ]);
at runTest (D:\a\conform\conform\tests\integrations\async-validation.spec.ts:72:33)
at D:\a\conform\conform\tests\integrations\async-validation.spec.ts:140:3
|
tests\integrations\async-validation.spec.ts#L72
1) [chromium] › async-validation.spec.ts:138:6 › With JS › Client Validation ─────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "Email is invalid",
+ "Email is required",
"Title is required",
]
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
70 | }
71 |
> 72 | await expect(playground.error).toHaveText([
| ^
73 | 'Email is invalid',
74 | 'Title is required',
75 | ]);
at runTest (D:\a\conform\conform\tests\integrations\async-validation.spec.ts:72:33)
at D:\a\conform\conform\tests\integrations\async-validation.spec.ts:140:3
|
tests\integrations\async-validation.spec.ts#L72
2) [chromium] › async-validation.spec.ts:143:6 › With JS › Server Validation ─────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "Email is invalid",
+ "Email is required",
"Title is required",
]
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
70 | }
71 |
> 72 | await expect(playground.error).toHaveText([
| ^
73 | 'Email is invalid',
74 | 'Title is required',
75 | ]);
at runTest (D:\a\conform\conform\tests\integrations\async-validation.spec.ts:72:33)
at D:\a\conform\conform\tests\integrations\async-validation.spec.ts:145:3
|
tests\integrations\async-validation.spec.ts#L72
2) [chromium] › async-validation.spec.ts:143:6 › With JS › Server Validation ─────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "Email is invalid",
+ "Email is required",
"Title is required",
]
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
70 | }
71 |
> 72 | await expect(playground.error).toHaveText([
| ^
73 | 'Email is invalid',
74 | 'Title is required',
75 | ]);
at runTest (D:\a\conform\conform\tests\integrations\async-validation.spec.ts:72:33)
at D:\a\conform\conform\tests\integrations\async-validation.spec.ts:145:3
|
tests\integrations\async-validation.spec.ts#L72
2) [chromium] › async-validation.spec.ts:143:6 › With JS › Server Validation ─────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "Email is invalid",
+ "Email is required",
"Title is required",
]
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
70 | }
71 |
> 72 | await expect(playground.error).toHaveText([
| ^
73 | 'Email is invalid',
74 | 'Title is required',
75 | ]);
at runTest (D:\a\conform\conform\tests\integrations\async-validation.spec.ts:72:33)
at D:\a\conform\conform\tests\integrations\async-validation.spec.ts:145:3
|
tests\integrations\async-validation.spec.ts#L158
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",
+ "Email is required",
"Title is required",
]
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
156 | // This check is intentional to verify how Conform
157 | // handles VALIDATION_UNDEFINED on submit
> 158 | await expect(playground.error).toHaveText([
| ^
159 | 'Email is already used',
160 | 'Title is required',
161 | ]);
at D:\a\conform\conform\tests\integrations\async-validation.spec.ts:158:34
|
tests\integrations\async-validation.spec.ts#L158
3) [chromium] › async-validation.spec.ts:148:6 › With JS › Form reset ────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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",
+ "Email is required",
"Title is required",
]
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
156 | // This check is intentional to verify how Conform
157 | // handles VALIDATION_UNDEFINED on submit
> 158 | await expect(playground.error).toHaveText([
| ^
159 | 'Email is already used',
160 | 'Title is required',
161 | ]);
at D:\a\conform\conform\tests\integrations\async-validation.spec.ts:158:34
|
tests\integrations\async-validation.spec.ts#L158
3) [chromium] › async-validation.spec.ts:148:6 › With JS › Form reset ────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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",
+ "Email is required",
"Title is required",
]
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
156 | // This check is intentional to verify how Conform
157 | // handles VALIDATION_UNDEFINED on submit
> 158 | await expect(playground.error).toHaveText([
| ^
159 | 'Email is already used',
160 | 'Title is required',
161 | ]);
at D:\a\conform\conform\tests\integrations\async-validation.spec.ts:158:34
|
tests\integrations\async-validation.spec.ts#L72
4) [chromium] › async-validation.spec.ts:177:6 › No JS › Validation ──────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "Email is invalid",
+ "Email is required",
"Title is required",
]
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
70 | }
71 |
> 72 | await expect(playground.error).toHaveText([
| ^
73 | 'Email is invalid',
74 | 'Title is required',
75 | ]);
at runTest (D:\a\conform\conform\tests\integrations\async-validation.spec.ts:72:33)
at D:\a\conform\conform\tests\integrations\async-validation.spec.ts:179:3
|
47 failed
[chromium] › async-validation.spec.ts:138:6 › With JS › Client Validation ──────────────────────
[chromium] › async-validation.spec.ts:143:6 › With JS › Server Validation ──────────────────────
[chromium] › async-validation.spec.ts:148:6 › With JS › Form reset ─────────────────────────────
[chromium] › async-validation.spec.ts:177:6 › No JS › Validation ───────────────────────────────
[chromium] › collection.spec.ts:60:6 › With JS › Client Validation ─────────────────────────────
[chromium] › collection.spec.ts:65:6 › With JS › Server Validation ─────────────────────────────
[chromium] › collection.spec.ts:88:6 › No JS › Validation ──────────────────────────────────────
[chromium] › custom-inputs.spec.ts:73:5 › Client Validation: useInputControl ───────────────────
[chromium] › custom-inputs.spec.ts:78:5 › Server Validation: useInputControl ───────────────────
[chromium] › custom-inputs.spec.ts:83:5 › Client Validation: useControl ────────────────────────
[chromium] › custom-inputs.spec.ts:88:5 › Server Validation: useControl ────────────────────────
[chromium] › dom-value.spec.ts:57:6 › With JS › Client Validation ──────────────────────────────
[chromium] › dom-value.spec.ts:62:6 › With JS › Server Validation ──────────────────────────────
[chromium] › file-upload.spec.ts:91:6 › With JS › Client Validation ────────────────────────────
[chromium] › file-upload.spec.ts:96:6 › With JS › Server Validation ────────────────────────────
[chromium] › file-upload.spec.ts:121:6 › No JS › Validation ────────────────────────────────────
[chromium] › form-control.spec.ts:80:6 › With JS › Client Validation ───────────────────────────
[chromium] › form-control.spec.ts:85:6 › With JS › Server Validation ───────────────────────────
[chromium] › form-control.spec.ts:94:6 › No JS › Validation ────────────────────────────────────
[chromium] › metadata.spec.ts:1112:6 › With JS › Client Validation ─────────────────────────────
[chromium] › metadata.spec.ts:1119:6 › With JS › Server Validation ─────────────────────────────
[chromium] › metadata.spec.ts:1130:6 › No JS › Validation ──────────────────────────────────────
[chromium] › nested-list.spec.ts:48:6 › With JS › Client Validation ────────────────────────────
[chromium] › nested-list.spec.ts:53:6 › With JS › Server Validation ────────────────────────────
[chromium] › nested-list.spec.ts:62:6 › No JS › Validation ─────────────────────────────────────
[chromium] › parse-with-yup.spec.ts:66:6 › Parse with yup › Client Validation ──────────────────
[chromium] › parse-with-yup.spec.ts:71:6 › Parse with yup › Server Validation ──────────────────
[chromium] › parse-with-yup.spec.ts:77:5 › Form reset ──────────────────────────────────────────
[chromium] › recursive-list.spec.ts:33:6 › With JS › Client Validation ─────────────────────────
[chromium] › recursive-list.spec.ts:38:6 › With JS › Server Validation ─────────────────────────
[chromium] › recursive-list.spec.ts:47:6 › No JS › Validation ──────────────────────────────────
[chromium] › reset-default-value.spec.ts:51:6 › With JS › Validation ───────────────────────────
[chromium] › reset-default-value.spec.ts:59:6 › No JS › Validation ─────────────────────────────
[chromium] › simple-list.spec.ts:186:6 › With JS › Client Validation ───────────────────────────
[chromium] › simple-list.spec.ts:191:6 › With JS › Server Validation ───────────────────────────
[chromium] › simple-list.spec.ts:196:6 › With JS › Form reset without default value ────────────
[chromium] › simple-list.spec.ts:216:6 › With JS › Form reset with default value ───────────────
[chromium] › simple-list.spec.ts:225:6 › No JS › Validation without default value ──────────────
[chromium] › simple-list.spec.ts:230:6 › No JS › Validation with default value ─────────────────
[chromium] › subscription.spec.ts:292:6 › Subscription › Client Validation ─────────────────────
[chromium] › subscription.spec.ts:297:6
|
The logs for this run have expired and are no longer available.
Loading