chore: add json example #1328
Annotations
1 error and 1 notice
tests/integrations/subscription.spec.ts#L51
1) [webkit] › subscription.spec.ts:297:6 › Subscription › Server Validation ──────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('li')
- Expected - 26
+ Received + 26
Array [
- "form.id: 1",
- "form.errorId: 1",
- "form.descriptionId: 1",
- "form.initialValue: 1",
+ "form.id: 2",
+ "form.errorId: 2",
+ "form.descriptionId: 2",
+ "form.initialValue: 2",
"form.value: 7",
- "form.key: 1",
+ "form.key: 2",
"form.dirty: 2",
- "form.valid: 1",
- "form.errors: 1",
- "form.allErrors: 1",
- "name.id: 1",
- "name.formId: 1",
- "name.errorId: 1",
- "name.descriptionId: 1",
- "name.initialValue: 1",
+ "form.valid: 2",
+ "form.errors: 2",
+ "form.allErrors: 2",
+ "name.id: 2",
+ "name.formId: 2",
+ "name.errorId: 2",
+ "name.descriptionId: 2",
+ "name.initialValue: 2",
"name.value: 7",
- "name.key: 1",
+ "name.key: 2",
"name.dirty: 2",
- "name.valid: 1",
- "name.errors: 1",
- "message.id: 1",
- "message.formId: 1",
- "message.errorId: 1",
- "message.descriptionId: 1",
- "message.initialValue: 1",
- "message.value: 1",
- "message.key: 1",
- "message.dirty: 1",
- "message.valid: 1",
- "message.errors: 1",
+ "name.valid: 2",
+ "name.errors: 2",
+ "message.id: 2",
+ "message.formId: 2",
+ "message.errorId: 2",
+ "message.descriptionId: 2",
+ "message.initialValue: 2",
+ "message.value: 2",
+ "message.key: 2",
+ "message.dirty: 2",
+ "message.valid: 2",
+ "message.errors: 2",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('li')
- locator resolved to 30 elements
- locator resolved to 30 elements
- locator resolved to 30 elements
- locator resolved to 30 elements
- locator resolved to 30 elements
- locator resolved to 30 elements
- locator resolved to 30 elements
- locator resolved to 30 elements
- locator resolved to 30 elements
49 |
50 | await fieldset.name.pressSequentially('Edmund');
> 51 | await expect(fieldset.logs).toHaveText([
| ^
52 | 'form.id: 1',
53 | 'form.errorId: 1',
54 | 'form.descriptionId: 1',
at runTest (/home/runner/work/conform/conform/tests/integrations/subscription.spec.ts:51:30)
at /home/runner/work/conform/conform/tests/integrations/subscription.spec.ts:299:3
|
|
This job succeeded
Loading