Fix react example redirect #290
Annotations
4 errors, 4 warnings, and 1 notice
Run examples/react-spa tests:
src/test/mock/recovery.ts#L97
1) [chromium] › recovery.spec.ts:7:3 › Recovery Page › recovery success › submit the recovery form again with a valid code
Error: response.json: Protocol error (Network.getResponseBody): No resource with given identifier found
at ../../../src/test/mock/recovery.ts:97
95 | expect(submitResponse.status()).toBe(422)
96 | const submitResponseBody =
> 97 | (await submitResponse.json()) as ErrorBrowserLocationChangeRequired
| ^
98 | expect(submitResponseBody).toHaveProperty("redirect_browser_to")
99 | })
100 | },
at /home/runner/work/elements/elements/src/test/mock/recovery.ts:97:31
at Object.RecoverySuccessTest (/home/runner/work/elements/elements/src/test/mock/recovery.ts:75:11)
at /home/runner/work/elements/elements/examples/react-spa/e2e/recovery.spec.ts:11:5
|
Run examples/react-spa tests:
src/test/mock/recovery.ts#L97
1) [chromium] › recovery.spec.ts:7:3 › Recovery Page › recovery success › submit the recovery form again with a valid code
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: response.json: Protocol error (Network.getResponseBody): No resource with given identifier found
at ../../../src/test/mock/recovery.ts:97
95 | expect(submitResponse.status()).toBe(422)
96 | const submitResponseBody =
> 97 | (await submitResponse.json()) as ErrorBrowserLocationChangeRequired
| ^
98 | expect(submitResponseBody).toHaveProperty("redirect_browser_to")
99 | })
100 | },
at /home/runner/work/elements/elements/src/test/mock/recovery.ts:97:31
at Object.RecoverySuccessTest (/home/runner/work/elements/elements/src/test/mock/recovery.ts:75:11)
at /home/runner/work/elements/elements/examples/react-spa/e2e/recovery.spec.ts:11:5
|
Run examples/react-spa tests:
src/test/mock/recovery.ts#L97
1) [chromium] › recovery.spec.ts:7:3 › Recovery Page › recovery success › submit the recovery form again with a valid code
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: response.json: Protocol error (Network.getResponseBody): No resource with given identifier found
at ../../../src/test/mock/recovery.ts:97
95 | expect(submitResponse.status()).toBe(422)
96 | const submitResponseBody =
> 97 | (await submitResponse.json()) as ErrorBrowserLocationChangeRequired
| ^
98 | expect(submitResponseBody).toHaveProperty("redirect_browser_to")
99 | })
100 | },
at /home/runner/work/elements/elements/src/test/mock/recovery.ts:97:31
at Object.RecoverySuccessTest (/home/runner/work/elements/elements/src/test/mock/recovery.ts:75:11)
at /home/runner/work/elements/elements/examples/react-spa/e2e/recovery.spec.ts:11:5
|
Run examples/react-spa tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
Run actions/upload-artifact@v2
No files were found with the provided path: examples/preact-spa/playwright-report/
examples/preact-spa/test-results/. No artifacts will be uploaded.
|
Run actions/upload-artifact@v2
No files were found with the provided path: examples/nextjs-spa/playwright-report/
examples/nextjs-spa/test-results/. No artifacts will be uploaded.
|
Run examples/react-spa tests
1 failed
[chromium] › recovery.spec.ts:7:3 › Recovery Page › recovery success ───────────────────────────
17 passed (36.1s)
|
The logs for this run have expired and are no longer available.
Loading