Skip to content

fix: hide two step registration message #317

fix: hide two step registration message

fix: hide two step registration message #317

Triggered via pull request November 5, 2024 15:37
Status Success
Total duration 3m 51s
Artifacts 2

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 2 warnings, and 2 notices
[firefox] › login.spec.ts:13:3 › Login Page › login with invalid credentials: packages/test/src/models/AuthPage.ts#L60
1) [firefox] › login.spec.ts:13:3 › Login Page › login with invalid credentials ────────────────── Error: locator.fill: Error: strict mode violation: getByTestId('login-auth-card').locator('input[name="identifier"]') resolved to 2 elements: 1) <input id=":r3:" type="text" required="" placeholder=" " name="identifier" autocomplete="username" value="[email protected]" class="ory_elements__input_field__db4loq1 ory_elements__typography__1nljf825 ory_elements__typography_type_regular__1nljf82m ory_elements__typography_size_small__1nljf828"/> aka getByTestId('login-flow').getByTestId('node/input/identifier').getByPlaceholder(' ') 2) <input id=":rb:" type="text" required="" placeholder=" " name="identifier" autocomplete="username" value="[email protected]" class="ory_elements__input_field__db4loq1 ory_elements__typography__1nljf825 ory_elements__typography_type_regular__1nljf82m ory_elements__typography_size_small__1nljf828"/> aka getByTestId('passwordless-flow').getByTestId('node/input/identifier').getByPlaceholder(' ') Call log: - waiting for getByTestId('login-auth-card').locator('input[name="identifier"]') at ../../../packages/test/src/models/AuthPage.ts:60 58 | for (const key in this.traits) { 59 | if (this.traits[key].type === "input") { > 60 | await this.formFields[key].fill(this.traits[key].value) | ^ 61 | } else if (this.traits[key].type === "checkbox") { 62 | await this.formFields[key].click() 63 | } at LoginPage.submitForm (/home/runner/work/elements/elements/packages/test/src/models/AuthPage.ts:60:36) at /home/runner/work/elements/elements/packages/test/src/mock/login.ts:101:23 at Object.LoginInvalidLoginCredentialsTest (/home/runner/work/elements/elements/packages/test/src/mock/login.ts:90:11) at /home/runner/work/elements/elements/examples/react-spa/e2e/login.spec.ts:16:5
[firefox] › login.spec.ts:13:3 › Login Page › login with invalid credentials: packages/test/src/models/AuthPage.ts#L191
1) [firefox] › login.spec.ts:13:3 › Login Page › login with invalid credentials ────────────────── Error: page.waitForResponse: Test ended. =========================== logs =========================== waiting for response "**/self-service/login?flow=**" ============================================================ at ../../../packages/test/src/models/AuthPage.ts:191 189 | return this.locator 190 | .page() > 191 | .waitForResponse(`**/self-service/${flow}?flow=**`) | ^ 192 | } 193 | } 194 | at LoginPage.interceptSubmitResponse (/home/runner/work/elements/elements/packages/test/src/models/AuthPage.ts:191:8) at LoginPage.interceptSubmitResponse (/home/runner/work/elements/elements/packages/test/src/models/LoginPage.ts:111:18) at /home/runner/work/elements/elements/packages/test/src/mock/login.ts:100:39 at Object.LoginInvalidLoginCredentialsTest (/home/runner/work/elements/elements/packages/test/src/mock/login.ts:90:11) at /home/runner/work/elements/elements/examples/react-spa/e2e/login.spec.ts:16:5
pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
pull_request
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
1 flaky [firefox] › login.spec.ts:13:3 › Login Page › login with invalid credentials ─────────────────── 17 passed (1.0m)
🎭 Playwright Run Summary
18 passed (39.7s)

Artifacts

Produced during runtime
Name Size
preact-spa playwright-report
193 KB
react-spa playwright-report
1.39 MB