Skip to content

fix: registration via code and verification/recovery card stretches #184

fix: registration via code and verification/recovery card stretches

fix: registration via code and verification/recovery card stretches #184

Triggered via pull request September 22, 2023 11:45
Status Failure
Total duration 4m 40s
Artifacts 2
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

playwright-e2e.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 2 warnings, and 2 notices
[webkit] › recovery.spec.ts:7:3 › Recovery Page › recovery success: src/test/mock/recovery.ts#L37
1) [webkit] › recovery.spec.ts:7:3 › Recovery Page › recovery success ──────────────────────────── Error: A snapshot doesn't exist at /home/runner/work/elements/elements/examples/preact-spa/e2e/recovery.spec.ts-snapshots/Recovery-Page-recovery-success-1-webkit-linux.png. at ../../../src/test/mock/recovery.ts:37 35 | expect(createResponse.status()).toBe(200) 36 | > 37 | await expect(recoveryPage.page).toHaveScreenshot() | ^ 38 | // Validate that the form fields are present 39 | await recoveryPage.expectTraitFields() 40 | }) at /home/runner/work/elements/elements/src/test/mock/recovery.ts:37:39 at Object.RecoverySuccessTest (/home/runner/work/elements/elements/src/test/mock/recovery.ts:25:11) at /home/runner/work/elements/elements/examples/preact-spa/e2e/recovery.spec.ts:11:5
[webkit] › recovery.spec.ts:7:3 › Recovery Page › recovery success: src/test/mock/recovery.ts#L37
1) [webkit] › recovery.spec.ts:7:3 › Recovery Page › recovery success ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: A snapshot doesn't exist at /home/runner/work/elements/elements/examples/preact-spa/e2e/recovery.spec.ts-snapshots/Recovery-Page-recovery-success-1-webkit-linux.png. at ../../../src/test/mock/recovery.ts:37 35 | expect(createResponse.status()).toBe(200) 36 | > 37 | await expect(recoveryPage.page).toHaveScreenshot() | ^ 38 | // Validate that the form fields are present 39 | await recoveryPage.expectTraitFields() 40 | }) at /home/runner/work/elements/elements/src/test/mock/recovery.ts:37:39 at Object.RecoverySuccessTest (/home/runner/work/elements/elements/src/test/mock/recovery.ts:25:11) at /home/runner/work/elements/elements/examples/preact-spa/e2e/recovery.spec.ts:11:5
[webkit] › recovery.spec.ts:7:3 › Recovery Page › recovery success: src/test/mock/recovery.ts#L37
1) [webkit] › recovery.spec.ts:7:3 › Recovery Page › recovery success ──────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: A snapshot doesn't exist at /home/runner/work/elements/elements/examples/preact-spa/e2e/recovery.spec.ts-snapshots/Recovery-Page-recovery-success-1-webkit-linux.png, writing actual. at ../../../src/test/mock/recovery.ts:37 35 | expect(createResponse.status()).toBe(200) 36 | > 37 | await expect(recoveryPage.page).toHaveScreenshot() | ^ 38 | // Validate that the form fields are present 39 | await recoveryPage.expectTraitFields() 40 | }) at /home/runner/work/elements/elements/src/test/mock/recovery.ts:37:7 at Object.RecoverySuccessTest (/home/runner/work/elements/elements/src/test/mock/recovery.ts:25:11) at /home/runner/work/elements/elements/examples/preact-spa/e2e/recovery.spec.ts:11:5
[webkit] › recovery.spec.ts:7:3 › Recovery Page › recovery success: src/test/mock/recovery.ts#L71
1) [webkit] › recovery.spec.ts:7:3 › Recovery Page › recovery success ──────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: A snapshot doesn't exist at /home/runner/work/elements/elements/examples/preact-spa/e2e/recovery.spec.ts-snapshots/Recovery-Page-recovery-success-2-webkit-linux.png, writing actual. at ../../../src/test/mock/recovery.ts:71 69 | expect(submitResponse.status()).toBe(200) 70 | > 71 | await expect(recoveryPage.page).toHaveScreenshot() | ^ 72 | }) 73 | 74 | await test.step("submit the recovery form again with a valid code", async () => { at /home/runner/work/elements/elements/src/test/mock/recovery.ts:71:7 at Object.RecoverySuccessTest (/home/runner/work/elements/elements/src/test/mock/recovery.ts:56:11) at /home/runner/work/elements/elements/examples/preact-spa/e2e/recovery.spec.ts:11:5
[webkit] › verification.spec.ts:7:3 › Verification Page › verification success: src/test/mock/verification.ts#L40
2) [webkit] › verification.spec.ts:7:3 › Verification Page › verification success ──────────────── Error: A snapshot doesn't exist at /home/runner/work/elements/elements/examples/preact-spa/e2e/verification.spec.ts-snapshots/Verification-Page-verification-success-1-webkit-linux.png. at ../../../src/test/mock/verification.ts:40 38 | await verificationPage.expectTraitFields() 39 | > 40 | await expect(verificationPage.page).toHaveScreenshot() | ^ 41 | }) 42 | 43 | await test.step("mock the fetch verification flow", async () => { at /home/runner/work/elements/elements/src/test/mock/verification.ts:40:43 at Object.VerificationSuccessTest (/home/runner/work/elements/elements/src/test/mock/verification.ts:24:11) at /home/runner/work/elements/elements/examples/preact-spa/e2e/verification.spec.ts:14:5
[webkit] › verification.spec.ts:7:3 › Verification Page › verification success: src/test/mock/verification.ts#L40
2) [webkit] › verification.spec.ts:7:3 › Verification Page › verification success ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: A snapshot doesn't exist at /home/runner/work/elements/elements/examples/preact-spa/e2e/verification.spec.ts-snapshots/Verification-Page-verification-success-1-webkit-linux.png. at ../../../src/test/mock/verification.ts:40 38 | await verificationPage.expectTraitFields() 39 | > 40 | await expect(verificationPage.page).toHaveScreenshot() | ^ 41 | }) 42 | 43 | await test.step("mock the fetch verification flow", async () => { at /home/runner/work/elements/elements/src/test/mock/verification.ts:40:43 at Object.VerificationSuccessTest (/home/runner/work/elements/elements/src/test/mock/verification.ts:24:11) at /home/runner/work/elements/elements/examples/preact-spa/e2e/verification.spec.ts:14:5
[webkit] › verification.spec.ts:7:3 › Verification Page › verification success: src/test/mock/verification.ts#L40
2) [webkit] › verification.spec.ts:7:3 › Verification Page › verification success ──────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: A snapshot doesn't exist at /home/runner/work/elements/elements/examples/preact-spa/e2e/verification.spec.ts-snapshots/Verification-Page-verification-success-1-webkit-linux.png, writing actual. at ../../../src/test/mock/verification.ts:40 38 | await verificationPage.expectTraitFields() 39 | > 40 | await expect(verificationPage.page).toHaveScreenshot() | ^ 41 | }) 42 | 43 | await test.step("mock the fetch verification flow", async () => { at /home/runner/work/elements/elements/src/test/mock/verification.ts:40:7 at Object.VerificationSuccessTest (/home/runner/work/elements/elements/src/test/mock/verification.ts:24:11) at /home/runner/work/elements/elements/examples/preact-spa/e2e/verification.spec.ts:14:5
[webkit] › verification.spec.ts:7:3 › Verification Page › verification success: src/test/mock/verification.ts#L84
2) [webkit] › verification.spec.ts:7:3 › Verification Page › verification success ──────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: A snapshot doesn't exist at /home/runner/work/elements/elements/examples/preact-spa/e2e/verification.spec.ts-snapshots/Verification-Page-verification-success-2-webkit-linux.png, writing actual. at ../../../src/test/mock/verification.ts:84 82 | }) 83 | > 84 | await expect(verificationPage.page).toHaveScreenshot() | ^ 85 | }) 86 | 87 | await test.step("mock the submit verification code response", async () => { at /home/runner/work/elements/elements/src/test/mock/verification.ts:84:7 at Object.VerificationSuccessTest (/home/runner/work/elements/elements/src/test/mock/verification.ts:57:11) at /home/runner/work/elements/elements/examples/preact-spa/e2e/verification.spec.ts:14:5
test
Process completed with exit code 1.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
No files were found with the provided path: examples/nextjs-spa/playwright-report/ examples/nextjs-spa/test-results/. No artifacts will be uploaded.
🎭 Playwright Run Summary
2 failed [webkit] › recovery.spec.ts:7:3 › Recovery Page › recovery success ───────────────────────────── [webkit] › verification.spec.ts:7:3 › Verification Page › verification success ───────────────── 16 passed (49.8s)
🎭 Playwright Run Summary
18 passed (41.0s)

Artifacts

Produced during runtime
Name Size
preact-spa playwright-report Expired
4.63 MB
react-spa playwright-report Expired
428 KB