feat: increase entropy of OTPs generated by code strategy #5094
Annotations
10 errors, 2 warnings, and 1 notice
Run Playwright tests:
test/e2e/playwright/tests/mobile/app_recovery.spec.ts#L51
1) [mobile-chrome] › mobile/app_recovery.spec.ts:31:7 › Recovery › succeeds with a valid email address › enter correct code
Error: locator.fill: value: expected string, got object
49 |
50 | await test.step("enter correct code", async () => {
> 51 | await page.getByTestId("code").fill(code)
| ^
52 | await page.getByText("Continue").click()
53 | await page.waitForURL(/Settings/)
54 | await expect(page.getByTestId("ui/message/1060001").first()).toBeVisible()
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/mobile/app_recovery.spec.ts:51:38
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/mobile/app_recovery.spec.ts:50:16
|
Run Playwright tests:
test/e2e/playwright/tests/mobile/app_recovery.spec.ts#L51
1) [mobile-chrome] › mobile/app_recovery.spec.ts:31:7 › Recovery › succeeds with a valid email address › enter correct code
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: value: expected string, got object
49 |
50 | await test.step("enter correct code", async () => {
> 51 | await page.getByTestId("code").fill(code)
| ^
52 | await page.getByText("Continue").click()
53 | await page.waitForURL(/Settings/)
54 | await expect(page.getByTestId("ui/message/1060001").first()).toBeVisible()
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/mobile/app_recovery.spec.ts:51:38
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/mobile/app_recovery.spec.ts:50:16
|
Run Playwright tests:
test/e2e/playwright/tests/mobile/app_recovery.spec.ts#L51
1) [mobile-chrome] › mobile/app_recovery.spec.ts:31:7 › Recovery › succeeds with a valid email address › enter correct code
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: value: expected string, got object
49 |
50 | await test.step("enter correct code", async () => {
> 51 | await page.getByTestId("code").fill(code)
| ^
52 | await page.getByText("Continue").click()
53 | await page.waitForURL(/Settings/)
54 | await expect(page.getByTestId("ui/message/1060001").first()).toBeVisible()
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/mobile/app_recovery.spec.ts:51:38
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/mobile/app_recovery.spec.ts:50:16
|
Run Playwright tests:
test/e2e/playwright/tests/mobile/app_recovery.spec.ts#L96
2) [mobile-chrome] › mobile/app_recovery.spec.ts:74:7 › Recovery › fails with an invalid code › enter correct code fails
Error: locator.fill: value: expected string, got object
94 |
95 | await test.step("enter correct code fails", async () => {
> 96 | await page.getByTestId("code").fill(code)
| ^
97 | await page.getByText("Continue", { exact: true }).click()
98 | await expect(page.getByTestId("ui/message/4060006")).toBeVisible()
99 | })
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/mobile/app_recovery.spec.ts:96:38
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/mobile/app_recovery.spec.ts:95:16
|
Run Playwright tests:
test/e2e/playwright/tests/mobile/app_recovery.spec.ts#L96
2) [mobile-chrome] › mobile/app_recovery.spec.ts:74:7 › Recovery › fails with an invalid code › enter correct code fails
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: value: expected string, got object
94 |
95 | await test.step("enter correct code fails", async () => {
> 96 | await page.getByTestId("code").fill(code)
| ^
97 | await page.getByText("Continue", { exact: true }).click()
98 | await expect(page.getByTestId("ui/message/4060006")).toBeVisible()
99 | })
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/mobile/app_recovery.spec.ts:96:38
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/mobile/app_recovery.spec.ts:95:16
|
Run Playwright tests:
test/e2e/playwright/tests/mobile/app_recovery.spec.ts#L96
2) [mobile-chrome] › mobile/app_recovery.spec.ts:74:7 › Recovery › fails with an invalid code › enter correct code fails
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: value: expected string, got object
94 |
95 | await test.step("enter correct code fails", async () => {
> 96 | await page.getByTestId("code").fill(code)
| ^
97 | await page.getByText("Continue", { exact: true }).click()
98 | await expect(page.getByTestId("ui/message/4060006")).toBeVisible()
99 | })
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/mobile/app_recovery.spec.ts:96:38
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/mobile/app_recovery.spec.ts:95:16
|
Run Playwright tests:
test/e2e/playwright/tests/mobile/app_recovery.spec.ts#L135
3) [mobile-chrome] › mobile/app_recovery.spec.ts:123:9 › Recovery › with short code expiration › fails with an expired code
Error: locator.fill: value: expected string, got object
133 | const code = extractCode(mails[0])
134 |
> 135 | await page.getByTestId("code").fill(code)
| ^
136 | await page.getByText("Continue", { exact: true }).click()
137 | await expect(page.getByTestId("email")).toBeVisible()
138 | })
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/mobile/app_recovery.spec.ts:135:38
|
Run Playwright tests:
test/e2e/playwright/tests/mobile/app_recovery.spec.ts#L135
3) [mobile-chrome] › mobile/app_recovery.spec.ts:123:9 › Recovery › with short code expiration › fails with an expired code
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: value: expected string, got object
133 | const code = extractCode(mails[0])
134 |
> 135 | await page.getByTestId("code").fill(code)
| ^
136 | await page.getByText("Continue", { exact: true }).click()
137 | await expect(page.getByTestId("email")).toBeVisible()
138 | })
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/mobile/app_recovery.spec.ts:135:38
|
Run Playwright tests:
test/e2e/playwright/tests/mobile/app_recovery.spec.ts#L135
3) [mobile-chrome] › mobile/app_recovery.spec.ts:123:9 › Recovery › with short code expiration › fails with an expired code
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: value: expected string, got object
133 | const code = extractCode(mails[0])
134 |
> 135 | await page.getByTestId("code").fill(code)
| ^
136 | await page.getByText("Continue", { exact: true }).click()
137 | await expect(page.getByTestId("email")).toBeVisible()
138 | })
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/mobile/app_recovery.spec.ts:135:38
|
Run Playwright tests:
test/e2e/playwright/tests/desktop/identifier_first/code.login.spec.ts#L76
4) [chromium] › desktop/identifier_first/code.login.spec.ts:60:7 › account enumeration protection off › login succeeds
Error: locator.fill: value: expected string, got object
74 | const code = extractCode(mails[0])
75 |
> 76 | await login.codeInput.input.fill(code)
| ^
77 |
78 | await login.codeSubmit.getByText("Continue").click()
79 |
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/code.login.spec.ts:76:33
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Playwright tests:
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 32.5s
|
Run Playwright tests
6 failed
[mobile-chrome] › mobile/app_recovery.spec.ts:31:7 › Recovery › succeeds with a valid email address
[mobile-chrome] › mobile/app_recovery.spec.ts:74:7 › Recovery › fails with an invalid code ─────
[mobile-chrome] › mobile/app_recovery.spec.ts:123:9 › Recovery › with short code expiration › fails with an expired code
[chromium] › desktop/identifier_first/code.login.spec.ts:60:7 › account enumeration protection off › login succeeds
[chromium] › desktop/identifier_first/code.login.spec.ts:136:7 › account enumeration protection on › login succeeds
[chromium] › desktop/identifier_first/code.login.spec.ts:174:7 › refresh ───────────────────────
31 passed (2.7m)
|
Loading