feat: react 19 support #1423
Annotations
10 errors and 1 notice
Run Playwright tests:
tests/integrations/form-attributes.spec.ts#L65
1) [webkit] › form-attributes.spec.ts:56:5 › submitter attributes ────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('body').locator('[name="_action"]')
Expected string: "/hello"
Received string: "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('body').locator('[name="_action"]')
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
63 |
64 | await playground.submit.click();
> 65 | await expect(fieldset.action).toHaveValue('/hello');
| ^
66 | await expect(fieldset.encType).toHaveValue('multipart/form-data');
67 | await expect(fieldset.method).toHaveValue('PUT');
68 | });
at /Users/runner/work/conform/conform/tests/integrations/form-attributes.spec.ts:65:32
|
Run Playwright tests:
tests/integrations/form-attributes.spec.ts#L65
1) [webkit] › form-attributes.spec.ts:56:5 › submitter attributes ────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('body').locator('[name="_action"]')
Expected string: "/hello"
Received string: "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('body').locator('[name="_action"]')
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
63 |
64 | await playground.submit.click();
> 65 | await expect(fieldset.action).toHaveValue('/hello');
| ^
66 | await expect(fieldset.encType).toHaveValue('multipart/form-data');
67 | await expect(fieldset.method).toHaveValue('PUT');
68 | });
at /Users/runner/work/conform/conform/tests/integrations/form-attributes.spec.ts:65:32
|
Run Playwright tests:
tests/integrations/form-attributes.spec.ts#L65
1) [webkit] › form-attributes.spec.ts:56:5 › submitter attributes ────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('body').locator('[name="_action"]')
Expected string: "/hello"
Received string: "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('body').locator('[name="_action"]')
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=put&submitterAction=/hello&submitterEncType=multipart/form-data"
63 |
64 | await playground.submit.click();
> 65 | await expect(fieldset.action).toHaveValue('/hello');
| ^
66 | await expect(fieldset.encType).toHaveValue('multipart/form-data');
67 | await expect(fieldset.method).toHaveValue('PUT');
68 | });
at /Users/runner/work/conform/conform/tests/integrations/form-attributes.spec.ts:65:32
|
Run Playwright tests:
tests/integrations/form-attributes.spec.ts#L79
2) [webkit] › form-attributes.spec.ts:70:5 › unsupported submitter attributes ────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('body').locator('[name="_action"]')
Expected string: "//example.com/test"
Received string: "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('body').locator('[name="_action"]')
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
77 |
78 | await playground.submit.click();
> 79 | await expect(fieldset.action).toHaveValue('//example.com/test');
| ^
80 | await expect(fieldset.encType).toHaveValue(
81 | 'application/x-www-form-urlencoded',
82 | );
at /Users/runner/work/conform/conform/tests/integrations/form-attributes.spec.ts:79:32
|
Run Playwright tests:
tests/integrations/form-attributes.spec.ts#L79
2) [webkit] › form-attributes.spec.ts:70:5 › unsupported submitter attributes ────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('body').locator('[name="_action"]')
Expected string: "//example.com/test"
Received string: "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('body').locator('[name="_action"]')
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
77 |
78 | await playground.submit.click();
> 79 | await expect(fieldset.action).toHaveValue('//example.com/test');
| ^
80 | await expect(fieldset.encType).toHaveValue(
81 | 'application/x-www-form-urlencoded',
82 | );
at /Users/runner/work/conform/conform/tests/integrations/form-attributes.spec.ts:79:32
|
Run Playwright tests:
tests/integrations/form-attributes.spec.ts#L79
2) [webkit] › form-attributes.spec.ts:70:5 › unsupported submitter attributes ────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('body').locator('[name="_action"]')
Expected string: "//example.com/test"
Received string: "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('body').locator('[name="_action"]')
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
- locator resolved to <input readonly type="text" name="_action" value="/form…/>
- unexpected value "/form-attributes?submitterMethod=test&submitterAction=//example.com/test&submitterEncType=hello/world"
77 |
78 | await playground.submit.click();
> 79 | await expect(fieldset.action).toHaveValue('//example.com/test');
| ^
80 | await expect(fieldset.encType).toHaveValue(
81 | 'application/x-www-form-urlencoded',
82 | );
at /Users/runner/work/conform/conform/tests/integrations/form-attributes.spec.ts:79:32
|
Run Playwright tests:
tests/integrations/form-attributes.spec.ts#L96
3) [webkit] › form-attributes.spec.ts:86:5 › override behaviour ──────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('body').locator('[name="_enctype"]')
Expected string: "application/x-www-form-urlencoded"
Received string: "multipart/form-data"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('body').locator('[name="_enctype"]')
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
94 | await playground.submit.click();
95 | await expect(fieldset.action).toHaveValue('/test');
> 96 | await expect(fieldset.encType).toHaveValue(
| ^
97 | 'application/x-www-form-urlencoded',
98 | );
99 | await expect(fieldset.method).toHaveValue('GET');
at /Users/runner/work/conform/conform/tests/integrations/form-attributes.spec.ts:96:33
|
Run Playwright tests:
tests/integrations/form-attributes.spec.ts#L96
3) [webkit] › form-attributes.spec.ts:86:5 › override behaviour ──────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('body').locator('[name="_enctype"]')
Expected string: "application/x-www-form-urlencoded"
Received string: "multipart/form-data"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('body').locator('[name="_enctype"]')
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
94 | await playground.submit.click();
95 | await expect(fieldset.action).toHaveValue('/test');
> 96 | await expect(fieldset.encType).toHaveValue(
| ^
97 | 'application/x-www-form-urlencoded',
98 | );
99 | await expect(fieldset.method).toHaveValue('GET');
at /Users/runner/work/conform/conform/tests/integrations/form-attributes.spec.ts:96:33
|
Run Playwright tests:
tests/integrations/form-attributes.spec.ts#L96
3) [webkit] › form-attributes.spec.ts:86:5 › override behaviour ──────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('body').locator('[name="_enctype"]')
Expected string: "application/x-www-form-urlencoded"
Received string: "multipart/form-data"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('body').locator('[name="_enctype"]')
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
- locator resolved to <input readonly type="text" name="_enctype" value="mult…/>
- unexpected value "multipart/form-data"
94 | await playground.submit.click();
95 | await expect(fieldset.action).toHaveValue('/test');
> 96 | await expect(fieldset.encType).toHaveValue(
| ^
97 | 'application/x-www-form-urlencoded',
98 | );
99 | await expect(fieldset.method).toHaveValue('GET');
at /Users/runner/work/conform/conform/tests/integrations/form-attributes.spec.ts:96:33
|
Run Playwright tests:
tests/integrations/form-control.spec.ts#L27
4) [webkit] › form-control.spec.ts:80: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 [
- "",
+ "Name is required",
"Message is required",
- "",
+ "Number is required",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('main p')
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
25 |
26 | await fieldset.validateMessage.click();
> 27 | await expect(playground.error).toHaveText(['', 'Message is required', '']);
| ^
28 |
29 | await fieldset.updateMessage.click();
30 | await expect(fieldset.name).toHaveValue('');
at runValidationScenario (/Users/runner/work/conform/conform/tests/integrations/form-control.spec.ts:27:33)
at /Users/runner/work/conform/conform/tests/integrations/form-control.spec.ts:82:3
|
Run Playwright tests
12 failed
[webkit] › form-attributes.spec.ts:56:5 › submitter attributes ─────────────────────────────────
[webkit] › form-attributes.spec.ts:70:5 › unsupported submitter attributes ─────────────────────
[webkit] › form-attributes.spec.ts:86:5 › override behaviour ───────────────────────────────────
[webkit] › form-control.spec.ts:80:6 › With JS › Client Validation ─────────────────────────────
[webkit] › recursive-list.spec.ts:33:6 › With JS › Client Validation ───────────────────────────
[webkit] › simple-list.spec.ts:186:6 › With JS › Client Validation ─────────────────────────────
[webkit] › simple-list.spec.ts:196:6 › With JS › Form reset without default value ──────────────
[webkit] › simple-list.spec.ts:216:6 › With JS › Form reset with default value ─────────────────
[webkit] › subscription.spec.ts:292:6 › Subscription › Client Validation ───────────────────────
[webkit] › validation-flow.spec.ts:57:5 › shouldValidate: onInput ──────────────────────────────
[webkit] › validation-flow.spec.ts:114:5 › shouldValidate: onBlur ──────────────────────────────
[webkit] › validation-flow.spec.ts:240:5 › shouldRevalidate: onInput ───────────────────────────
9 skipped
88 passed (4.8m)
|
Loading