Test: metdata support for order factory (#2347) #1065
Annotations
4 errors, 2 warnings, and 1 notice
[api_tests] › attributes.spec.ts:97:9 › attribute api test › update product attribute:
tests/pw/tests/api/attributes.spec.ts#L122
1) [api_tests] › attributes.spec.ts:97:9 › attribute api test › update product attribute ─────────
Error: Result does not match schema: Expected boolean, received array
Details: {
"issues": [
{
"code": "invalid_type",
"expected": "boolean",
"received": "array",
"path": [],
"message": "Expected boolean, received array"
}
],
"name": "ZodError"
}
120 | expect(response.ok()).toBeTruthy();
121 | expect(responseBody).toBeTruthy();
> 122 | expect(responseBody).toMatchSchema(schemas.attributesSchema.updateProductAttributeSchema);
| ^
123 | });
124 | });
125 |
at /home/runner/work/dokan/dokan/tests/pw/tests/api/attributes.spec.ts:122:30
|
[api_tests] › attributes.spec.ts:97:9 › attribute api test › update product attribute:
tests/pw/tests/api/attributes.spec.ts#L122
1) [api_tests] › attributes.spec.ts:97:9 › attribute api test › update product attribute ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Result does not match schema: Expected boolean, received array
Details: {
"issues": [
{
"code": "invalid_type",
"expected": "boolean",
"received": "array",
"path": [],
"message": "Expected boolean, received array"
}
],
"name": "ZodError"
}
120 | expect(response.ok()).toBeTruthy();
121 | expect(responseBody).toBeTruthy();
> 122 | expect(responseBody).toMatchSchema(schemas.attributesSchema.updateProductAttributeSchema);
| ^
123 | });
124 | });
125 |
at /home/runner/work/dokan/dokan/tests/pw/tests/api/attributes.spec.ts:122:30
|
e2e_api tests
Process completed with exit code 1.
|
e2e_api tests
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
[api_tests] › attributes.spec.ts:97:9 › attribute api test › update product attribute ──────────
5 skipped
146 passed (1.2m)
|
Slow Test:
tests/pw/[api_tests] › products.spec.ts#L1
tests/pw/[api_tests] › products.spec.ts took 16.2s
|
Slow Test:
tests/pw/[site_setup] › _site.setup.ts#L1
tests/pw/[site_setup] › _site.setup.ts took 9.8s
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-artifact
|
2.59 MB |
|