fix!: move useSession hook to /client entry point #304
Annotations
4 errors, 2 warnings, and 2 notices
[firefox] › registration.spec.ts:7:3 › Registration Page › registration success:
examples/react-spa/e2e/registration.spec.ts#L1
1) [firefox] › registration.spec.ts:7:3 › Registration Page › registration success ───────────────
Test timeout of 30000ms exceeded.
|
[firefox] › registration.spec.ts:7:3 › Registration Page › registration success:
packages/test/src/models/AuthPage.ts#L191
1) [firefox] › registration.spec.ts:7:3 › Registration Page › registration success ───────────────
Error: page.waitForResponse: Test timeout of 30000ms exceeded.
=========================== logs ===========================
waiting for response "**/self-service/registration?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 RegistrationPage.interceptSubmitResponse (/home/runner/work/elements/elements/packages/test/src/models/AuthPage.ts:191:8)
at RegistrationPage.interceptSubmitResponse (/home/runner/work/elements/elements/packages/test/src/models/RegistrationPage.ts:98:18)
at /home/runner/work/elements/elements/packages/test/src/mock/registration.ts:65:46
at Object.RegistrationSuccessTest (/home/runner/work/elements/elements/packages/test/src/mock/registration.ts:62:11)
at /home/runner/work/elements/elements/examples/react-spa/e2e/registration.spec.ts:16:5
|
[firefox] › registration.spec.ts:7:3 › Registration Page › registration success:
packages/test/src/models/AuthPage.ts#L62
1) [firefox] › registration.spec.ts:7:3 › Registration Page › registration success ───────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByTestId('registration-auth-card').locator('input[name="tos"]')
- locator resolved to <input id=":r7:" value="1" name="tos" required="" type="checkbox" class="ory_elements__checkbox__13ulsr11"/>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- performing click action
at ../../../packages/test/src/models/AuthPage.ts:62
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 | }
64 | }
65 | await this.locator.locator(buttonLocator ?? '[type="submit"]').click()
at RegistrationPage.submitForm (/home/runner/work/elements/elements/packages/test/src/models/AuthPage.ts:62:36)
at /home/runner/work/elements/elements/packages/test/src/mock/registration.ts:66:7
at Object.RegistrationSuccessTest (/home/runner/work/elements/elements/packages/test/src/mock/registration.ts:62:11)
at /home/runner/work/elements/elements/examples/react-spa/e2e/registration.spec.ts:16:5
|
pull_request
Process completed with exit code 1.
|
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
18 passed (43.0s)
|
🎭 Playwright Run Summary
1 flaky
[firefox] › registration.spec.ts:7:3 › Registration Page › registration success ────────────────
17 passed (1.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
preact-spa playwright-report
Expired
|
193 KB |
|
react-spa playwright-report
Expired
|
2.07 MB |
|