chore: fix required strings #1321
Annotations
10 errors and 1 notice
tests/integrations/async-validation.spec.ts#L62
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 - 2
+ Received + 2
Array [
- "Email is required",
- "Title is required",
+ "Email is invalid",
+ "",
]
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
60 | await playground.submit.click();
61 |
> 62 | await expect(playground.error).toHaveText([
| ^
63 | 'Email is required',
64 | 'Title is required',
65 | ]);
at runTest (/Users/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:62:33)
at /Users/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:140:3
|
tests/integrations/async-validation.spec.ts#L62
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 - 2
+ Received + 2
Array [
- "Email is required",
- "Title is required",
+ "Email is invalid",
+ "",
]
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
60 | await playground.submit.click();
61 |
> 62 | await expect(playground.error).toHaveText([
| ^
63 | 'Email is required',
64 | 'Title is required',
65 | ]);
at runTest (/Users/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:62:33)
at /Users/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:140:3
|
tests/integrations/async-validation.spec.ts#L62
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 - 2
+ Received + 2
Array [
- "Email is required",
- "Title is required",
+ "Email is invalid",
+ "",
]
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
60 | await playground.submit.click();
61 |
> 62 | await expect(playground.error).toHaveText([
| ^
63 | 'Email is required',
64 | 'Title is required',
65 | ]);
at runTest (/Users/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:62:33)
at /Users/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:140:3
|
tests/integrations/async-validation.spec.ts#L62
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 - 2
+ Received + 2
Array [
- "Email is required",
- "Title is required",
+ "Email is invalid",
+ "",
]
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
60 | await playground.submit.click();
61 |
> 62 | await expect(playground.error).toHaveText([
| ^
63 | 'Email is required',
64 | 'Title is required',
65 | ]);
at runTest (/Users/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:62:33)
at /Users/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:145:3
|
tests/integrations/async-validation.spec.ts#L62
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 - 2
+ Received + 2
Array [
- "Email is required",
- "Title is required",
+ "Email is invalid",
+ "",
]
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
60 | await playground.submit.click();
61 |
> 62 | await expect(playground.error).toHaveText([
| ^
63 | 'Email is required',
64 | 'Title is required',
65 | ]);
at runTest (/Users/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:62:33)
at /Users/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:145:3
|
tests/integrations/async-validation.spec.ts#L62
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 - 2
+ Received + 2
Array [
- "Email is required",
- "Title is required",
+ "Email is invalid",
+ "",
]
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
60 | await playground.submit.click();
61 |
> 62 | await expect(playground.error).toHaveText([
| ^
63 | 'Email is required',
64 | 'Title is required',
65 | ]);
at runTest (/Users/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:62:33)
at /Users/runner/work/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",
- "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 /Users/runner/work/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",
- "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 /Users/runner/work/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",
- "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 /Users/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:158:34
|
tests/integrations/async-validation.spec.ts#L62
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 - 2
+ Received + 2
Array [
- "Email is required",
- "Title is required",
+ "Email is invalid",
+ "",
]
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
60 | await playground.submit.click();
61 |
> 62 | await expect(playground.error).toHaveText([
| ^
63 | 'Email is required',
64 | 'Title is required',
65 | ]);
at runTest (/Users/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:62:33)
at /Users/runner/work/conform/conform/tests/integrations/async-validation.spec.ts:179:3
|
23 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] › custom-inputs.spec.ts:83:5 › Client Validation: useControl ────────────────────────
[chromium] › custom-inputs.spec.ts:88:5 › Server Validation: useControl ────────────────────────
[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] › 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 › Subscription › Server Validation ─────────────────────
[chromium] › validation-flow.spec.ts:211:5 › shouldRevalidate: onSubmit ────────────────────────
[chromium] › validation-flow.spec.ts:240:5 › shouldRevalidate: onInput ─────────────────────────
[chromium] › validation-flow.spec.ts:271:5 › shouldRevalidate: onBlur ──────────────────────────
9 skipped
77 passed (7.2m)
|
The logs for this run have expired and are no longer available.
Loading