Skip to content

feat: recovery and verification on code submit stories #171

feat: recovery and verification on code submit stories

feat: recovery and verification on code submit stories #171

Triggered via pull request September 18, 2023 12:56
Status Success
Total duration 5m 48s
Artifacts 3
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

4 errors, 1 warning, and 3 notices
[firefox] › recovery.spec.ts:7:3 › Recovery Page › recovery success: src/test/models/AuthPage.ts#L63
1) [firefox] › recovery.spec.ts:7:3 › Recovery Page › recovery success ─────────────────────────── Error: locator.click: Error: strict mode violation: getByTestId('recovery-auth-card').locator('[type="submit"]') resolved to 2 elements: 1) <button name="email" type="submit" value="[email protected]"…>Resend Code</button> aka getByRole('button', { name: 'Resend Code' }) 2) <button value="code" type="submit" name="method" class="…>Submit</button> aka getByRole('button', { name: 'Submit' }) =========================== logs =========================== waiting for getByTestId('recovery-auth-card').locator('[type="submit"]') ============================================================ at ../../../src/test/models/AuthPage.ts:63 61 | } 62 | } > 63 | await this.locator.locator(buttonLocator || '[type="submit"]').click() | ^ 64 | } 65 | 66 | async expectFlowMessage(text: string) { at ig.submitForm (/home/runner/work/elements/elements/src/test/models/AuthPage.ts:63:68) at /home/runner/work/elements/elements/src/test/mock/recovery.ts:62:26 at Object.RecoverySuccessTest (/home/runner/work/elements/elements/src/test/mock/recovery.ts:55:11) at /home/runner/work/elements/elements/examples/react-spa/e2e/recovery.spec.ts:11:5
[firefox] › recovery.spec.ts:7:3 › Recovery Page › recovery success: examples/react-spa/e2e/recovery.spec.ts#L1
1) [firefox] › recovery.spec.ts:7:3 › Recovery Page › recovery success ─────────────────────────── Test finished within timeout of 30000ms, but tearing down "context" ran out of time. Please allow more time for the test, since teardown is attributed towards the test timeout budget.
[firefox] › recovery.spec.ts:7:3 › Recovery Page › recovery success: src/test/models/AuthPage.ts#L63
1) [firefox] › recovery.spec.ts:7:3 › Recovery Page › recovery success ─────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByTestId('recovery-auth-card').locator('[type="submit"]') resolved to 2 elements: 1) <button name="email" type="submit" value="[email protected]"…>Resend Code</button> aka getByRole('button', { name: 'Resend Code' }) 2) <button value="code" type="submit" name="method" class="…>Submit</button> aka getByRole('button', { name: 'Submit' }) =========================== logs =========================== waiting for getByTestId('recovery-auth-card').locator('[type="submit"]') ============================================================ at ../../../src/test/models/AuthPage.ts:63 61 | } 62 | } > 63 | await this.locator.locator(buttonLocator || '[type="submit"]').click() | ^ 64 | } 65 | 66 | async expectFlowMessage(text: string) { at ig.submitForm (/home/runner/work/elements/elements/src/test/models/AuthPage.ts:63:68) at /home/runner/work/elements/elements/src/test/mock/recovery.ts:62:26 at Object.RecoverySuccessTest (/home/runner/work/elements/elements/src/test/mock/recovery.ts:55:11) at /home/runner/work/elements/elements/examples/react-spa/e2e/recovery.spec.ts:11:5
[firefox] › recovery.spec.ts:7:3 › Recovery Page › recovery success: examples/react-spa/e2e/recovery.spec.ts#L1
1) [firefox] › recovery.spec.ts:7:3 › Recovery Page › recovery success ─────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test finished within timeout of 30000ms, but tearing down "context" ran out of time. Please allow more time for the test, since teardown is attributed towards the test timeout budget.
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/
🎭 Playwright Run Summary
12 passed (1.0m)
🎭 Playwright Run Summary
18 passed (34.3s)
🎭 Playwright Run Summary
1 flaky [firefox] › recovery.spec.ts:7:3 › Recovery Page › recovery success ──────────────────────────── 17 passed (48.0s)

Artifacts

Produced during runtime
Name Size
nextjs-spa playwright-report Expired
425 KB
preact-spa playwright-report Expired
429 KB
react-spa playwright-report Expired
2.66 MB