Value formats #597
Annotations
3 errors and 1 notice
|
Test (Node.js 24)
Process completed with exit code 1.
|
|
tests/validation.spec.js:18:5 › validation messages are shown:
prototypes/basic/tests/validation.spec.js#L106
2) tests/validation.spec.js:18:5 › validation messages are shown ─────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 4
+ Received + 1
- Array [
- "'Salary' must be a 'number'",
- "A row was found with fewer columns than expected, wanted 7 but found 6",
- ]
+ Array []
104 |
105 | const error_messages = (await page.locator(".validation-error-message").allTextContents()).map(msg => msg.trim());
> 106 | expect(error_messages).toEqual([
| ^
107 | "'Salary' must be a 'number'",
108 | "A row was found with fewer columns than expected, wanted 7 but found 6"
109 | ])
at /home/runner/work/data-import/data-import/prototypes/basic/tests/validation.spec.js:106:28
|
|
tests/tribbles.spec.js:24:5 › trouble with tribbles:
prototypes/basic/tests/tribbles.spec.js#L116
1) tests/tribbles.spec.js:24:5 › trouble with tribbles ───────────────────────────────────────────
Error: expect(received).toStrictEqual(expected) // deep equality
- Expected - 5
+ Received + 1
- Array [
- "6",
- "£36",
- "£6",
- ]
+ Array []
114 | }
115 |
> 116 | expect(amounts).toStrictEqual([
| ^
117 | "6", "£36", "£6"
118 | ])
119 |
at /home/runner/work/data-import/data-import/prototypes/basic/tests/tribbles.spec.js:116:21
|
|
🎭 Playwright Run Summary
2 failed
tests/tribbles.spec.js:24:5 › trouble with tribbles ────────────────────────────────────────────
tests/validation.spec.js:18:5 › validation messages are shown ──────────────────────────────────
2 passed (13.4s)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
test-results-node-24
Expired
|
3.01 KB |
sha256:031e8a96c00710bd00dd349d95aabb326e6988a4a7a98aec778c383c34c28f14
|
|