Skip to content

Update submission.ts #1375

Update submission.ts

Update submission.ts #1375

Triggered via pull request August 30, 2024 20:59
Status Failure
Total duration 5m 29s
Artifacts 18

tests.yml

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

Annotations

7 errors and 18 notices
tests/conform-dom.spec.ts > conform-dom > parse(): tests/conform-dom.spec.ts#L78
AssertionError: expected { initialValue: null, …(1) } to deeply equal { initialValue: null } - Expected + Received Object { "initialValue": null, + "status": "success", } ❯ tests/conform-dom.spec.ts:78:56
API Tests
Process completed with exit code 1.
[webkit] › input-event.spec.ts:88:5 › works with keyboard events: tests/integrations/input-event.spec.ts#L112
1) [webkit] › input-event.spec.ts:88:5 › works with keyboard events ────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('ul#native-input > li') - Expected - 2 + Received + 2 Array [ - "{\"eventPhase\":1,\"type\":\"focus\",\"bubbles\":true,\"cancelable\":false}", - "{\"eventPhase\":3,\"type\":\"focus\",\"bubbles\":true,\"cancelable\":false}", "{\"eventPhase\":3,\"type\":\"input\",\"bubbles\":true,\"cancelable\":false}", "{\"eventPhase\":3,\"type\":\"change\",\"bubbles\":true,\"cancelable\":false}", + "{\"eventPhase\":1,\"type\":\"focus\",\"bubbles\":true,\"cancelable\":false}", + "{\"eventPhase\":3,\"type\":\"focus\",\"bubbles\":true,\"cancelable\":false}", "{\"eventPhase\":3,\"type\":\"input\",\"bubbles\":true,\"cancelable\":false}", "{\"eventPhase\":3,\"type\":\"change\",\"bubbles\":true,\"cancelable\":false}", "{\"eventPhase\":3,\"type\":\"input\",\"bubbles\":true,\"cancelable\":false}", "{\"eventPhase\":3,\"type\":\"change\",\"bubbles\":true,\"cancelable\":false}", ] Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('ul#native-input > li') - locator resolved to 8 elements - locator resolved to 8 elements - locator resolved to 8 elements - locator resolved to 8 elements - locator resolved to 8 elements - locator resolved to 8 elements - locator resolved to 8 elements - locator resolved to 8 elements - locator resolved to 8 elements 110 | // Highlight 'c' 111 | await form.nativeInput.press('Shift+ArrowLeft'); > 112 | await expect(form.nativeLogs).toHaveText(logs1); | ^ 113 | await expect(form.baseLogs).toHaveText(logs1); 114 | 115 | const logs2 = [ at /home/runner/work/conform/conform/tests/integrations/input-event.spec.ts:112:32
[webkit] › subscription.spec.ts:297:6 › Subscription › Server Validation: tests/integrations/subscription.spec.ts#L51
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 - 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:299:3
[firefox] › parse-with-yup.spec.ts:71:6 › Parse with yup › Server Validation: tests/integrations/parse-with-yup.spec.ts#L1
1) [firefox] › parse-with-yup.spec.ts:71:6 › Parse with yup › Server Validation ────────────────── Test timeout of 30000ms exceeded.
[firefox] › parse-with-yup.spec.ts:71:6 › Parse with yup › Server Validation: tests/integrations/parse-with-yup.spec.ts#L17
1) [firefox] › parse-with-yup.spec.ts:71:6 › Parse with yup › Server Validation ────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('body').locator('footer button[type="submit"]') - locator resolved to <button type="submit" class="inline-flex justify-center …>Submit</button> - attempting click action - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - performing click action 15 | 16 | await username.type('@'); > 17 | await playground.submit.click(); | ^ 18 | await expect(playground.error).toHaveText([ 19 | 'Min. 5 characters', 20 | 'At least 1 lowercase character', at runTest (/home/runner/work/conform/conform/tests/integrations/parse-with-yup.spec.ts:17:26) at /home/runner/work/conform/conform/tests/integrations/parse-with-yup.spec.ts:73: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 (/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
🎭 Playwright Run Summary
9 skipped 100 passed (1.0m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.0m)
🎭 Playwright Run Summary
9 skipped 100 passed (52.0s)
🎭 Playwright Run Summary
9 skipped 100 passed (1.1m)
🎭 Playwright Run Summary
9 skipped 100 passed (53.0s)
🎭 Playwright Run Summary
9 skipped 100 passed (1.1m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.6m)
🎭 Playwright Run Summary
9 skipped 100 passed (55.0s)
🎭 Playwright Run Summary
9 skipped 100 passed (1.2m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.7m)
🎭 Playwright Run Summary
2 flaky [webkit] › input-event.spec.ts:88:5 › works with keyboard events ─────────────────────────────── [webkit] › subscription.spec.ts:297:6 › Subscription › Server Validation ─────────────────────── 9 skipped 98 passed (1.9m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.7m)
🎭 Playwright Run Summary
1 flaky [firefox] › parse-with-yup.spec.ts:71:6 › Parse with yup › Server Validation ─────────────────── 9 skipped 99 passed (2.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.4m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.3m)
🎭 Playwright Run Summary
9 skipped 100 passed (1.4m)
🎭 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
184 Bytes
playwright-report-ubuntu-latest-node18-chromium Expired
184 Bytes
playwright-report-ubuntu-latest-node18-firefox Expired
306 KB
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
412 KB
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
1 MB
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