Skip to content

feat: add class-validator parser #1361

feat: add class-validator parser

feat: add class-validator parser #1361

Triggered via pull request August 12, 2024 14:49
Status Success
Total duration 6m 22s
Artifacts 18

tests.yml

on: pull_request
API Tests
51s
API Tests
Matrix: E2E Tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 18 notices
[webkit] › subscription.spec.ts:292:6 › Subscription › Client Validation: tests/integrations/subscription.spec.ts#L51
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 - 26 + Received + 26 Array [ - "form.id: 1", - "form.errorId: 1", - "form.descriptionId: 1", - "form.initialValue: 1", + "form.id: 2", + "form.errorId: 2", + "form.descriptionId: 2", + "form.initialValue: 2", "form.value: 7", - "form.key: 1", + "form.key: 2", "form.dirty: 2", - "form.valid: 1", - "form.errors: 1", - "form.allErrors: 1", - "name.id: 1", - "name.formId: 1", - "name.errorId: 1", - "name.descriptionId: 1", - "name.initialValue: 1", + "form.valid: 2", + "form.errors: 2", + "form.allErrors: 2", + "name.id: 2", + "name.formId: 2", + "name.errorId: 2", + "name.descriptionId: 2", + "name.initialValue: 2", "name.value: 7", - "name.key: 1", + "name.key: 2", "name.dirty: 2", - "name.valid: 1", - "name.errors: 1", - "message.id: 1", - "message.formId: 1", - "message.errorId: 1", - "message.descriptionId: 1", - "message.initialValue: 1", - "message.value: 1", - "message.key: 1", - "message.dirty: 1", - "message.valid: 1", - "message.errors: 1", + "name.valid: 2", + "name.errors: 2", + "message.id: 2", + "message.formId: 2", + "message.errorId: 2", + "message.descriptionId: 2", + "message.initialValue: 2", + "message.value: 2", + "message.key: 2", + "message.dirty: 2", + "message.valid: 2", + "message.errors: 2", ] 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 49 | 50 | await fieldset.name.pressSequentially('Edmund'); > 51 | await expect(fieldset.logs).toHaveText([ | ^ 52 | 'form.id: 1', 53 | 'form.errorId: 1', 54 | 'form.descriptionId: 1', at runTest (/home/runner/work/conform/conform/tests/integrations/subscription.spec.ts:51:30) at /home/runner/work/conform/conform/tests/integrations/subscription.spec.ts:294:3
[webkit] › subscription.spec.ts:292:6 › Subscription › Client Validation: tests/integrations/subscription.spec.ts#L51
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 - 26 + Received + 26 Array [ - "form.id: 1", - "form.errorId: 1", - "form.descriptionId: 1", - "form.initialValue: 1", + "form.id: 2", + "form.errorId: 2", + "form.descriptionId: 2", + "form.initialValue: 2", "form.value: 7", - "form.key: 1", + "form.key: 2", "form.dirty: 2", - "form.valid: 1", - "form.errors: 1", - "form.allErrors: 1", - "name.id: 1", - "name.formId: 1", - "name.errorId: 1", - "name.descriptionId: 1", - "name.initialValue: 1", + "form.valid: 2", + "form.errors: 2", + "form.allErrors: 2", + "name.id: 2", + "name.formId: 2", + "name.errorId: 2", + "name.descriptionId: 2", + "name.initialValue: 2", "name.value: 7", - "name.key: 1", + "name.key: 2", "name.dirty: 2", - "name.valid: 1", - "name.errors: 1", - "message.id: 1", - "message.formId: 1", - "message.errorId: 1", - "message.descriptionId: 1", - "message.initialValue: 1", - "message.value: 1", - "message.key: 1", - "message.dirty: 1", - "message.valid: 1", - "message.errors: 1", + "name.valid: 2", + "name.errors: 2", + "message.id: 2", + "message.formId: 2", + "message.errorId: 2", + "message.descriptionId: 2", + "message.initialValue: 2", + "message.value: 2", + "message.key: 2", + "message.dirty: 2", + "message.valid: 2", + "message.errors: 2", ] 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 49 | 50 | await fieldset.name.pressSequentially('Edmund'); > 51 | await expect(fieldset.logs).toHaveText([ | ^ 52 | 'form.id: 1', 53 | 'form.errorId: 1', 54 | 'form.descriptionId: 1', at runTest (/Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:51:30) at /Users/runner/work/conform/conform/tests/integrations/subscription.spec.ts:294:3
🎭 Playwright Run Summary
9 skipped 100 passed (1.0m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.1m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.0m)
🎭 Playwright Run Summary
9 skipped 100 passed (50.8s)
🎭 Playwright Run Summary
9 skipped 100 passed (57.8s)
🎭 Playwright Run Summary
9 skipped 100 passed (1.7m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.7m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.4m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.2m)
🎭 Playwright Run Summary
1 flaky [webkit] › subscription.spec.ts:292:6 › Subscription › Client Validation ─────────────────────── 9 skipped 99 passed (1.8m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.7m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.7m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.8m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.2m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.3m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.3m)
🎭 Playwright Run Summary
1 flaky [webkit] › subscription.spec.ts:292:6 › Subscription › Client Validation ─────────────────────── 9 skipped 99 passed (2.1m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.4m)

Artifacts

Produced during runtime
Name Size
playwright-report-macos-latest-node18-chromium Expired
184 Bytes
playwright-report-macos-latest-node18-webkit Expired
184 Bytes
playwright-report-macos-latest-node20-chromium Expired
184 Bytes
playwright-report-macos-latest-node20-webkit Expired
184 Bytes
playwright-report-macos-latest-node22-chromium Expired
184 Bytes
playwright-report-macos-latest-node22-webkit Expired
268 KB
playwright-report-ubuntu-latest-node18-chromium Expired
184 Bytes
playwright-report-ubuntu-latest-node18-firefox Expired
184 Bytes
playwright-report-ubuntu-latest-node18-webkit Expired
184 Bytes
playwright-report-ubuntu-latest-node20-chromium Expired
184 Bytes
playwright-report-ubuntu-latest-node20-firefox Expired
184 Bytes
playwright-report-ubuntu-latest-node20-webkit Expired
184 Bytes
playwright-report-ubuntu-latest-node22-chromium Expired
184 Bytes
playwright-report-ubuntu-latest-node22-firefox Expired
184 Bytes
playwright-report-ubuntu-latest-node22-webkit Expired
501 KB
playwright-report-windows-latest-node18-chromium Expired
184 Bytes
playwright-report-windows-latest-node20-chromium Expired
184 Bytes
playwright-report-windows-latest-node22-chromium Expired
184 Bytes