feat: update field value automatically #1346
Annotations
7 errors and 1 notice
tests/integrations/subscription.spec.ts#L257
1) [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 - 3
+ Received + 3
@@ -1,31 +1,31 @@
Array [
"form.id: 2",
"form.errorId: 2",
"form.descriptionId: 2",
- "form.initialValue: 2",
+ "form.initialValue: 3",
"form.value: 24",
"form.key: 3",
"form.dirty: 5",
"form.valid: 3",
"form.errors: 3",
"form.allErrors: 4",
"name.id: 2",
"name.formId: 2",
"name.errorId: 2",
"name.descriptionId: 2",
- "name.initialValue: 2",
+ "name.initialValue: 3",
"name.value: 10",
"name.key: 3",
"name.dirty: 5",
"name.valid: 1",
"name.errors: 1",
"message.id: 2",
"message.formId: 2",
"message.errorId: 2",
"message.descriptionId: 2",
- "message.initialValue: 3",
+ "message.initialValue: 4",
"message.value: 16",
"message.key: 4",
"message.dirty: 5",
"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
255 | await fieldset.message.fill('Hello Conform!');
256 | await playground.submit.click();
> 257 | await expect(fieldset.logs).toHaveText([
| ^
258 | 'form.id: 2',
259 | 'form.errorId: 2',
260 | 'form.descriptionId: 2',
at runTest (/Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:257:30)
at /Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:294:3
|
tests/integrations/subscription.spec.ts#L257
1) [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 - 3
+ Received + 3
@@ -1,31 +1,31 @@
Array [
"form.id: 2",
"form.errorId: 2",
"form.descriptionId: 2",
- "form.initialValue: 2",
+ "form.initialValue: 3",
"form.value: 24",
"form.key: 3",
"form.dirty: 5",
"form.valid: 3",
"form.errors: 3",
"form.allErrors: 4",
"name.id: 2",
"name.formId: 2",
"name.errorId: 2",
"name.descriptionId: 2",
- "name.initialValue: 2",
+ "name.initialValue: 3",
"name.value: 10",
"name.key: 3",
"name.dirty: 5",
"name.valid: 1",
"name.errors: 1",
"message.id: 2",
"message.formId: 2",
"message.errorId: 2",
"message.descriptionId: 2",
- "message.initialValue: 3",
+ "message.initialValue: 4",
"message.value: 16",
"message.key: 4",
"message.dirty: 5",
"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
255 | await fieldset.message.fill('Hello Conform!');
256 | await playground.submit.click();
> 257 | await expect(fieldset.logs).toHaveText([
| ^
258 | 'form.id: 2',
259 | 'form.errorId: 2',
260 | 'form.descriptionId: 2',
at runTest (/Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:257:30)
at /Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:294:3
|
tests/integrations/subscription.spec.ts#L257
1) [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 - 3
+ Received + 3
@@ -1,31 +1,31 @@
Array [
"form.id: 2",
"form.errorId: 2",
"form.descriptionId: 2",
- "form.initialValue: 2",
+ "form.initialValue: 3",
"form.value: 24",
"form.key: 3",
"form.dirty: 5",
"form.valid: 3",
"form.errors: 3",
"form.allErrors: 4",
"name.id: 2",
"name.formId: 2",
"name.errorId: 2",
"name.descriptionId: 2",
- "name.initialValue: 2",
+ "name.initialValue: 3",
"name.value: 10",
"name.key: 3",
"name.dirty: 5",
"name.valid: 1",
"name.errors: 1",
"message.id: 2",
"message.formId: 2",
"message.errorId: 2",
"message.descriptionId: 2",
- "message.initialValue: 3",
+ "message.initialValue: 4",
"message.value: 16",
"message.key: 4",
"message.dirty: 5",
"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
255 | await fieldset.message.fill('Hello Conform!');
256 | await playground.submit.click();
> 257 | await expect(fieldset.logs).toHaveText([
| ^
258 | 'form.id: 2',
259 | 'form.errorId: 2',
260 | 'form.descriptionId: 2',
at runTest (/Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:257:30)
at /Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:294:3
|
tests/integrations/subscription.spec.ts#L257
2) [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 - 3
+ Received + 3
@@ -1,31 +1,31 @@
Array [
"form.id: 2",
"form.errorId: 2",
"form.descriptionId: 2",
- "form.initialValue: 2",
+ "form.initialValue: 3",
"form.value: 24",
"form.key: 3",
"form.dirty: 5",
"form.valid: 3",
"form.errors: 3",
"form.allErrors: 4",
"name.id: 2",
"name.formId: 2",
"name.errorId: 2",
"name.descriptionId: 2",
- "name.initialValue: 2",
+ "name.initialValue: 3",
"name.value: 10",
"name.key: 3",
"name.dirty: 5",
"name.valid: 1",
"name.errors: 1",
"message.id: 2",
"message.formId: 2",
"message.errorId: 2",
"message.descriptionId: 2",
- "message.initialValue: 3",
+ "message.initialValue: 4",
"message.value: 16",
"message.key: 4",
"message.dirty: 5",
"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
255 | await fieldset.message.fill('Hello Conform!');
256 | await playground.submit.click();
> 257 | await expect(fieldset.logs).toHaveText([
| ^
258 | 'form.id: 2',
259 | 'form.errorId: 2',
260 | 'form.descriptionId: 2',
at runTest (/Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:257:30)
at /Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:299:3
|
tests/integrations/subscription.spec.ts#L257
2) [webkit] › subscription.spec.ts:297:6 › Subscription › Server Validation ──────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('li')
- Expected - 3
+ Received + 3
@@ -1,31 +1,31 @@
Array [
"form.id: 2",
"form.errorId: 2",
"form.descriptionId: 2",
- "form.initialValue: 2",
+ "form.initialValue: 3",
"form.value: 24",
"form.key: 3",
"form.dirty: 5",
"form.valid: 3",
"form.errors: 3",
"form.allErrors: 4",
"name.id: 2",
"name.formId: 2",
"name.errorId: 2",
"name.descriptionId: 2",
- "name.initialValue: 2",
+ "name.initialValue: 3",
"name.value: 10",
"name.key: 3",
"name.dirty: 5",
"name.valid: 1",
"name.errors: 1",
"message.id: 2",
"message.formId: 2",
"message.errorId: 2",
"message.descriptionId: 2",
- "message.initialValue: 3",
+ "message.initialValue: 4",
"message.value: 16",
"message.key: 4",
"message.dirty: 5",
"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
255 | await fieldset.message.fill('Hello Conform!');
256 | await playground.submit.click();
> 257 | await expect(fieldset.logs).toHaveText([
| ^
258 | 'form.id: 2',
259 | 'form.errorId: 2',
260 | 'form.descriptionId: 2',
at runTest (/Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:257:30)
at /Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:299:3
|
tests/integrations/subscription.spec.ts#L257
2) [webkit] › subscription.spec.ts:297:6 › Subscription › Server Validation ──────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('li')
- Expected - 3
+ Received + 3
@@ -1,31 +1,31 @@
Array [
"form.id: 2",
"form.errorId: 2",
"form.descriptionId: 2",
- "form.initialValue: 2",
+ "form.initialValue: 3",
"form.value: 24",
"form.key: 3",
"form.dirty: 5",
"form.valid: 3",
"form.errors: 3",
"form.allErrors: 4",
"name.id: 2",
"name.formId: 2",
"name.errorId: 2",
"name.descriptionId: 2",
- "name.initialValue: 2",
+ "name.initialValue: 3",
"name.value: 10",
"name.key: 3",
"name.dirty: 5",
"name.valid: 1",
"name.errors: 1",
"message.id: 2",
"message.formId: 2",
"message.errorId: 2",
"message.descriptionId: 2",
- "message.initialValue: 3",
+ "message.initialValue: 4",
"message.value: 16",
"message.key: 4",
"message.dirty: 5",
"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
255 | await fieldset.message.fill('Hello Conform!');
256 | await playground.submit.click();
> 257 | await expect(fieldset.logs).toHaveText([
| ^
258 | 'form.id: 2',
259 | 'form.errorId: 2',
260 | 'form.descriptionId: 2',
at runTest (/Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:257:30)
at /Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:299:3
|
|
|
This job failed
Loading