fix: type error, cannot create property #1
Annotations
10 errors and 1 notice
tests/integrations/async-validation.spec.ts#L72
1) [firefox] › 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 (/home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:72:33)
at /home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:140:3
|
tests/integrations/async-validation.spec.ts#L72
1) [firefox] › 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 (/home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:72:33)
at /home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:140:3
|
tests/integrations/async-validation.spec.ts#L72
1) [firefox] › 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 (/home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:72:33)
at /home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:140:3
|
tests/integrations/async-validation.spec.ts#L72
2) [firefox] › 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 (/home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:72:33)
at /home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:145:3
|
tests/integrations/async-validation.spec.ts#L72
2) [firefox] › 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 (/home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:72:33)
at /home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:145:3
|
tests/integrations/async-validation.spec.ts#L72
2) [firefox] › 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 (/home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:72:33)
at /home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:145:3
|
tests/integrations/async-validation.spec.ts#L158
3) [firefox] › 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 /home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:158:34
|
tests/integrations/async-validation.spec.ts#L158
3) [firefox] › 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 /home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:158:34
|
tests/integrations/async-validation.spec.ts#L158
3) [firefox] › 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 /home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:158:34
|
tests/integrations/async-validation.spec.ts#L72
4) [firefox] › 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 (/home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:72:33)
at /home/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:179:3
|
47 failed
[firefox] › async-validation.spec.ts:138:6 › With JS › Client Validation ───────────────────────
[firefox] › async-validation.spec.ts:143:6 › With JS › Server Validation ───────────────────────
[firefox] › async-validation.spec.ts:148:6 › With JS › Form reset ──────────────────────────────
[firefox] › async-validation.spec.ts:177:6 › No JS › Validation ────────────────────────────────
[firefox] › collection.spec.ts:60:6 › With JS › Client Validation ──────────────────────────────
[firefox] › collection.spec.ts:65:6 › With JS › Server Validation ──────────────────────────────
[firefox] › collection.spec.ts:88:6 › No JS › Validation ───────────────────────────────────────
[firefox] › custom-inputs.spec.ts:73:5 › Client Validation: useInputControl ────────────────────
[firefox] › custom-inputs.spec.ts:78:5 › Server Validation: useInputControl ────────────────────
[firefox] › custom-inputs.spec.ts:83:5 › Client Validation: useControl ─────────────────────────
[firefox] › custom-inputs.spec.ts:88:5 › Server Validation: useControl ─────────────────────────
[firefox] › dom-value.spec.ts:57:6 › With JS › Client Validation ───────────────────────────────
[firefox] › dom-value.spec.ts:62:6 › With JS › Server Validation ───────────────────────────────
[firefox] › file-upload.spec.ts:91:6 › With JS › Client Validation ─────────────────────────────
[firefox] › file-upload.spec.ts:96:6 › With JS › Server Validation ─────────────────────────────
[firefox] › file-upload.spec.ts:121:6 › No JS › Validation ─────────────────────────────────────
[firefox] › form-control.spec.ts:80:6 › With JS › Client Validation ────────────────────────────
[firefox] › form-control.spec.ts:85:6 › With JS › Server Validation ────────────────────────────
[firefox] › form-control.spec.ts:94:6 › No JS › Validation ─────────────────────────────────────
[firefox] › metadata.spec.ts:1112:6 › With JS › Client Validation ──────────────────────────────
[firefox] › metadata.spec.ts:1119:6 › With JS › Server Validation ──────────────────────────────
[firefox] › metadata.spec.ts:1130:6 › No JS › Validation ───────────────────────────────────────
[firefox] › nested-list.spec.ts:48:6 › With JS › Client Validation ─────────────────────────────
[firefox] › nested-list.spec.ts:53:6 › With JS › Server Validation ─────────────────────────────
[firefox] › nested-list.spec.ts:62:6 › No JS › Validation ──────────────────────────────────────
[firefox] › parse-with-yup.spec.ts:66:6 › Parse with yup › Client Validation ───────────────────
[firefox] › parse-with-yup.spec.ts:71:6 › Parse with yup › Server Validation ───────────────────
[firefox] › parse-with-yup.spec.ts:77:5 › Form reset ───────────────────────────────────────────
[firefox] › recursive-list.spec.ts:33:6 › With JS › Client Validation ──────────────────────────
[firefox] › recursive-list.spec.ts:38:6 › With JS › Server Validation ──────────────────────────
[firefox] › recursive-list.spec.ts:47:6 › No JS › Validation ───────────────────────────────────
[firefox] › reset-default-value.spec.ts:51:6 › With JS › Validation ────────────────────────────
[firefox] › reset-default-value.spec.ts:59:6 › No JS › Validation ──────────────────────────────
[firefox] › simple-list.spec.ts:186:6 › With JS › Client Validation ────────────────────────────
[firefox] › simple-list.spec.ts:191:6 › With JS › Server Validation ────────────────────────────
[firefox] › simple-list.spec.ts:196:6 › With JS › Form reset without default value ─────────────
[firefox] › simple-list.spec.ts:216:6 › With JS › Form reset with default value ────────────────
[firefox] › simple-list.spec.ts:225:6 › No JS › Validation without default value ───────────────
[firefox] › simple-list.spec.ts:230:6 › No JS › Validation with default value ──────────────────
[firefox] › subscription.spec.ts:292:6 › Subscription › Client Validation ──────────────────────
[firefox] › subscription.spec.ts:297:6 ›
|
The logs for this run have expired and are no longer available.
Loading