fix: registration via code and verification/recovery card stretches #185
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
1 error, 1 warning, and 3 notices
[firefox] › registration.spec.ts:19:3 › Registration Page › registration duplicate account:
src/test/models/AuthPage.ts#L58
1) [firefox] › registration.spec.ts:19:3 › Registration Page › registration duplicate account › mock the submit registration response
Error: locator.fill: Error: strict mode violation: getByTestId('registration-auth-card').locator('input[name="traits.email"]') resolved to 2 elements:
1) <input id=":r3:" required="" type="email" placeholder="…/> aka getByTestId('registration-flow').getByTestId('node/input/traits.email').getByPlaceholder(' ')
2) <input id=":rj:" required="" type="email" placeholder="…/> aka getByTestId('passwordless-flow').getByTestId('node/input/traits.email').getByPlaceholder(' ')
=========================== logs ===========================
waiting for getByTestId('registration-auth-card').locator('input[name="traits.email"]')
============================================================
at ../../../src/test/models/AuthPage.ts:58
56 | for (const key in this.traits) {
57 | if (this.traits[key].type === "input") {
> 58 | await this.formFields[key].fill(this.traits[key].value)
| ^
59 | } else if (this.traits[key].type === "checkbox") {
60 | await this.formFields[key].click()
61 | }
at sg.submitForm (/home/runner/work/elements/elements/src/test/models/AuthPage.ts:58:36)
at /home/runner/work/elements/elements/src/test/mock/registration.ts:101:30
at Object.RegistrationDuplicateAccountTest (/home/runner/work/elements/elements/src/test/mock/registration.ts:90:11)
at /home/runner/work/elements/elements/examples/react-spa/e2e/registration.spec.ts:28:5
|
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
18 passed (1.1m)
|
🎭 Playwright Run Summary
18 passed (49.4s)
|
🎭 Playwright Run Summary
1 flaky
[firefox] › registration.spec.ts:19:3 › Registration Page › registration duplicate account ─────
17 passed (1.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
nextjs-spa playwright-report
Expired
|
428 KB |
|
preact-spa playwright-report
Expired
|
428 KB |
|
react-spa playwright-report
Expired
|
2.7 MB |
|