feat: add tests for two step login #4494
Annotations
2 errors, 4 warnings, and 1 notice
test/e2e/playwright/tests/desktop/identifier_first/passkeys.login.spec.ts#L229
1) [chromium] › desktop/identifier_first/passkeys.login.spec.ts:169:7 › without automatic presence simulation › login with refresh
Error: expect(received).not.toEqual(expected) // deep equality
Expected: not "2024-07-05T07:40:40Z"
227 | )
228 | const newSession = await getSession(page.request, kratosPublicURL)
> 229 | expect(originalSession.authenticated_at).not.toEqual(
| ^
230 | newSession.authenticated_at,
231 | )
232 | })
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/passkeys.login.spec.ts:229:50
|
test/e2e/playwright/tests/desktop/identifier_first/password.login.spec.ts#L108
2) [chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh
Error: expect(received).not.toEqual(expected) // deep equality
Expected: not "2024-07-05T07:40:48Z"
106 | })
107 | const newSession = await getSession(page.request, kratosPublicURL)
> 108 | expect(originalSession.authenticated_at).not.toEqual(
| ^
109 | newSession.authenticated_at,
110 | )
111 | })
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/password.login.spec.ts:108:50
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 28.6s
|
test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts took 24.6s
|
|
This job succeeded
Loading