feat: update field value automatically #1343
Annotations
10 errors and 1 notice
tests/integrations/custom-inputs.spec.ts#L41
1) [webkit] › custom-inputs.spec.ts:73:5 › Client Validation: useInputControl ────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "",
+ "Color is required",
"",
"Please accept the terms of service",
"At least one option is required",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('main p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
39 | await playground.container.getByText('Spanish').click();
40 | await playground.container.click();
> 41 | await expect(playground.error).toHaveText([
| ^
42 | '',
43 | '',
44 | 'Please accept the terms of service',
at runTest (/Users/runner/work/conform/conform/tests/integrations/custom-inputs.spec.ts:41:33)
at /Users/runner/work/conform/conform/tests/integrations/custom-inputs.spec.ts:75:2
|
tests/integrations/custom-inputs.spec.ts#L41
1) [webkit] › custom-inputs.spec.ts:73:5 › Client Validation: useInputControl ────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "",
+ "Color is required",
"",
"Please accept the terms of service",
"At least one option is required",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('main p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
39 | await playground.container.getByText('Spanish').click();
40 | await playground.container.click();
> 41 | await expect(playground.error).toHaveText([
| ^
42 | '',
43 | '',
44 | 'Please accept the terms of service',
at runTest (/Users/runner/work/conform/conform/tests/integrations/custom-inputs.spec.ts:41:33)
at /Users/runner/work/conform/conform/tests/integrations/custom-inputs.spec.ts:75:2
|
tests/integrations/custom-inputs.spec.ts#L41
1) [webkit] › custom-inputs.spec.ts:73:5 › Client Validation: useInputControl ────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "",
+ "Color is required",
"",
"Please accept the terms of service",
"At least one option is required",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('main p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
39 | await playground.container.getByText('Spanish').click();
40 | await playground.container.click();
> 41 | await expect(playground.error).toHaveText([
| ^
42 | '',
43 | '',
44 | 'Please accept the terms of service',
at runTest (/Users/runner/work/conform/conform/tests/integrations/custom-inputs.spec.ts:41:33)
at /Users/runner/work/conform/conform/tests/integrations/custom-inputs.spec.ts:75:2
|
tests/integrations/custom-inputs.spec.ts#L41
2) [webkit] › custom-inputs.spec.ts:78:5 › Server Validation: useInputControl ────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "",
+ "Color is required",
"",
"Please accept the terms of service",
"At least one option is required",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('main p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
39 | await playground.container.getByText('Spanish').click();
40 | await playground.container.click();
> 41 | await expect(playground.error).toHaveText([
| ^
42 | '',
43 | '',
44 | 'Please accept the terms of service',
at runTest (/Users/runner/work/conform/conform/tests/integrations/custom-inputs.spec.ts:41:33)
at /Users/runner/work/conform/conform/tests/integrations/custom-inputs.spec.ts:80:2
|
tests/integrations/custom-inputs.spec.ts#L41
2) [webkit] › custom-inputs.spec.ts:78:5 › Server Validation: useInputControl ────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "",
+ "Color is required",
"",
"Please accept the terms of service",
"At least one option is required",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('main p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
39 | await playground.container.getByText('Spanish').click();
40 | await playground.container.click();
> 41 | await expect(playground.error).toHaveText([
| ^
42 | '',
43 | '',
44 | 'Please accept the terms of service',
at runTest (/Users/runner/work/conform/conform/tests/integrations/custom-inputs.spec.ts:41:33)
at /Users/runner/work/conform/conform/tests/integrations/custom-inputs.spec.ts:80:2
|
tests/integrations/custom-inputs.spec.ts#L41
2) [webkit] › custom-inputs.spec.ts:78:5 › Server Validation: useInputControl ────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('main p')
- Expected - 1
+ Received + 1
Array [
- "",
+ "Color is required",
"",
"Please accept the terms of service",
"At least one option is required",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('main p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
39 | await playground.container.getByText('Spanish').click();
40 | await playground.container.click();
> 41 | await expect(playground.error).toHaveText([
| ^
42 | '',
43 | '',
44 | 'Please accept the terms of service',
at runTest (/Users/runner/work/conform/conform/tests/integrations/custom-inputs.spec.ts:41:33)
at /Users/runner/work/conform/conform/tests/integrations/custom-inputs.spec.ts:80:2
|
tests/integrations/subscription.spec.ts#L187
3) [webkit] › subscription.spec.ts:292:6 › Subscription › Client Validation ──────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('li')
- Expected - 1
+ Received + 1
@@ -21,11 +21,11 @@
"name.errors: 1",
"message.id: 1",
"message.formId: 1",
"message.errorId: 1",
"message.descriptionId: 1",
- "message.initialValue: 1",
+ "message.initialValue: 2",
"message.value: 14",
"message.key: 2",
"message.dirty: 3",
"message.valid: 3",
"message.errors: 3",
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
185 |
186 | await fieldset.resetMessage.click();
> 187 | await expect(fieldset.logs).toHaveText([
| ^
188 | 'form.id: 1',
189 | 'form.errorId: 1',
190 | 'form.descriptionId: 1',
at runTest (/Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:187:30)
at /Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:294:3
|
tests/integrations/subscription.spec.ts#L187
3) [webkit] › subscription.spec.ts:292:6 › Subscription › Client Validation ──────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('li')
- Expected - 1
+ Received + 1
@@ -21,11 +21,11 @@
"name.errors: 1",
"message.id: 1",
"message.formId: 1",
"message.errorId: 1",
"message.descriptionId: 1",
- "message.initialValue: 1",
+ "message.initialValue: 2",
"message.value: 14",
"message.key: 2",
"message.dirty: 3",
"message.valid: 3",
"message.errors: 3",
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
185 |
186 | await fieldset.resetMessage.click();
> 187 | await expect(fieldset.logs).toHaveText([
| ^
188 | 'form.id: 1',
189 | 'form.errorId: 1',
190 | 'form.descriptionId: 1',
at runTest (/Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:187:30)
at /Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:294:3
|
tests/integrations/subscription.spec.ts#L187
3) [webkit] › subscription.spec.ts:292:6 › Subscription › Client Validation ──────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('li')
- Expected - 1
+ Received + 1
@@ -21,11 +21,11 @@
"name.errors: 1",
"message.id: 1",
"message.formId: 1",
"message.errorId: 1",
"message.descriptionId: 1",
- "message.initialValue: 1",
+ "message.initialValue: 2",
"message.value: 14",
"message.key: 2",
"message.dirty: 3",
"message.valid: 3",
"message.errors: 3",
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
185 |
186 | await fieldset.resetMessage.click();
> 187 | await expect(fieldset.logs).toHaveText([
| ^
188 | 'form.id: 1',
189 | 'form.errorId: 1',
190 | 'form.descriptionId: 1',
at runTest (/Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:187:30)
at /Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:294:3
|
tests/integrations/subscription.spec.ts#L187
4) [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 - 1
+ Received + 1
@@ -21,11 +21,11 @@
"name.errors: 1",
"message.id: 1",
"message.formId: 1",
"message.errorId: 1",
"message.descriptionId: 1",
- "message.initialValue: 1",
+ "message.initialValue: 2",
"message.value: 14",
"message.key: 2",
"message.dirty: 3",
"message.valid: 3",
"message.errors: 3",
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
185 |
186 | await fieldset.resetMessage.click();
> 187 | await expect(fieldset.logs).toHaveText([
| ^
188 | 'form.id: 1',
189 | 'form.errorId: 1',
190 | 'form.descriptionId: 1',
at runTest (/Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:187:30)
at /Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:299:3
|
4 failed
[webkit] › custom-inputs.spec.ts:73:5 › Client Validation: useInputControl ─────────────────────
[webkit] › custom-inputs.spec.ts:78:5 › Server Validation: useInputControl ─────────────────────
[webkit] › subscription.spec.ts:292:6 › Subscription › Client Validation ───────────────────────
[webkit] › subscription.spec.ts:297:6 › Subscription › Server Validation ───────────────────────
9 skipped
96 passed (2.6m)
|
This job failed
Loading