feat: recovery and verification on code submit stories #171
Annotations
4 errors, 1 warning, and 3 notices
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
|
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.
|
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
|
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.
|
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/
|
|
|
|
The logs for this run have expired and are no longer available.
Loading