Skip to content

Fix react example redirect #290

Fix react example redirect

Fix react example redirect #290

Triggered via pull request February 15, 2024 14:32
Status Failure
Total duration 3m 27s
Artifacts 1

playwright-e2e.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 4 warnings, and 1 notice
[chromium] › recovery.spec.ts:7:3 › Recovery Page › recovery success: 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
[chromium] › recovery.spec.ts:7:3 › Recovery Page › recovery success: 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
[chromium] › recovery.spec.ts:7:3 › Recovery Page › recovery success: 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
test
Process completed with exit code 1.
test
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/.
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/
test
No files were found with the provided path: examples/preact-spa/playwright-report/ examples/preact-spa/test-results/. No artifacts will be uploaded.
test
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 failed [chromium] › recovery.spec.ts:7:3 › Recovery Page › recovery success ─────────────────────────── 17 passed (36.1s)

Artifacts

Produced during runtime
Name Size
react-spa playwright-report Expired
3.95 MB