Skip to content

feat: increase entropy of OTPs generated by code strategy #5094

feat: increase entropy of OTPs generated by code strategy

feat: increase entropy of OTPs generated by code strategy #5094

Triggered via pull request December 10, 2024 09:51
Status Failure
Total duration 1h 25m 26s
Artifacts 12

ci.yaml

on: pull_request
Run tests and lints
2m 31s
Run tests and lints
Matrix: Run end-to-end tests
Matrix: Run Playwright end-to-end tests
Build CLI docs
0s
Build CLI docs
Generate changelog
0s
Generate changelog
Generate release
0s
Generate release
Draft newsletter
0s
Draft newsletter
Render version schema
0s
Render version schema
Release SDKs
0s
Release SDKs
Pending approval Slack notification
0s
Pending approval Slack notification
Send newsletter
0s
Send newsletter
Fit to window
Zoom out
Zoom in

Annotations

54 errors, 15 warnings, and 4 notices
Run tests and lints: cmd/hashers/argon2/root.go#L167
SA1019: c.config.Set is deprecated: use context-based confighelpers.WithConfigValue instead (staticcheck)
Run tests and lints: internal/testhelpers/config.go#L78
SA1019: conf.MustSet is deprecated: use context-based confighelpers.WithConfigValue instead (staticcheck)
Run tests and lints: internal/testhelpers/config.go#L83
SA1019: conf.MustSet is deprecated: use context-based confighelpers.WithConfigValue instead (staticcheck)
Run tests and lints: internal/testhelpers/errorx.go#L40
SA1019: reg.Config().MustSet is deprecated: use context-based confighelpers.WithConfigValue instead (staticcheck)
Run tests and lints: internal/testhelpers/errorx.go#L53
SA1019: conf.MustSet is deprecated: use context-based confighelpers.WithConfigValue instead (staticcheck)
Run tests and lints: internal/testhelpers/errorx.go#L69
SA1019: reg.Config().MustSet is deprecated: use context-based confighelpers.WithConfigValue instead (staticcheck)
Run tests and lints: internal/testhelpers/errorx.go#L85
SA1019: reg.Config().MustSet is deprecated: use context-based confighelpers.WithConfigValue instead (staticcheck)
Run tests and lints: internal/testhelpers/selfservice_login.go#L51
SA1019: c.MustSet is deprecated: use context-based confighelpers.WithConfigValue instead (staticcheck)
Run tests and lints: internal/testhelpers/strategies.go#L16
SA1019: c.MustSet is deprecated: use context-based confighelpers.WithConfigValue instead (staticcheck)
Run tests and lints: courier/template/testhelpers/testhelpers.go#L29
SA1019: reg.Config().Set is deprecated: use context-based confighelpers.WithConfigValue instead (staticcheck)
[mobile-chrome] › mobile/app_recovery.spec.ts:31:7 › Recovery › succeeds with a valid email address: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:31:7 › Recovery › succeeds with a valid email address: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:31:7 › Recovery › succeeds with a valid email address: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:74:7 › Recovery › fails with an invalid code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:74:7 › Recovery › fails with an invalid code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:74:7 › Recovery › fails with an invalid code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:123:9 › Recovery › with short code expiration › fails with an expired code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:123:9 › Recovery › with short code expiration › fails with an expired code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:123:9 › Recovery › with short code expiration › fails with an expired code: 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
[chromium] › desktop/identifier_first/code.login.spec.ts:60:7 › account enumeration protection off › login succeeds: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:31:7 › Recovery › succeeds with a valid email address: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:31:7 › Recovery › succeeds with a valid email address: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:31:7 › Recovery › succeeds with a valid email address: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:74:7 › Recovery › fails with an invalid code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:74:7 › Recovery › fails with an invalid code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:74:7 › Recovery › fails with an invalid code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:123:9 › Recovery › with short code expiration › fails with an expired code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:123:9 › Recovery › with short code expiration › fails with an expired code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:123:9 › Recovery › with short code expiration › fails with an expired code: 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
[chromium] › desktop/identifier_first/code.login.spec.ts:60:7 › account enumeration protection off › login succeeds: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:31:7 › Recovery › succeeds with a valid email address: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:31:7 › Recovery › succeeds with a valid email address: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:31:7 › Recovery › succeeds with a valid email address: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:74:7 › Recovery › fails with an invalid code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:74:7 › Recovery › fails with an invalid code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:74:7 › Recovery › fails with an invalid code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:123:9 › Recovery › with short code expiration › fails with an expired code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:123:9 › Recovery › with short code expiration › fails with an expired code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:123:9 › Recovery › with short code expiration › fails with an expired code: 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
[chromium] › desktop/identifier_first/code.login.spec.ts:60:7 › account enumeration protection off › login succeeds: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:31:7 › Recovery › succeeds with a valid email address: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:31:7 › Recovery › succeeds with a valid email address: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:31:7 › Recovery › succeeds with a valid email address: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:74:7 › Recovery › fails with an invalid code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:74:7 › Recovery › fails with an invalid code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:74:7 › Recovery › fails with an invalid code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:123:9 › Recovery › with short code expiration › fails with an expired code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:123:9 › Recovery › with short code expiration › fails with an expired code: 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
[mobile-chrome] › mobile/app_recovery.spec.ts:123:9 › Recovery › with short code expiration › fails with an expired code: 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
[chromium] › desktop/identifier_first/code.login.spec.ts:60:7 › account enumeration protection off › login succeeds: 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
Run end-to-end tests (postgres)
Process completed with exit code 62.
Run end-to-end tests (mysql)
Process completed with exit code 63.
Run end-to-end tests (sqlite)
Process completed with exit code 62.
Run end-to-end tests (cockroach)
Process completed with exit code 62.
Generate SDKs
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Generate SDKs
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Run tests and lints
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run Playwright end-to-end tests (sqlite)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 32.5s
Run Playwright end-to-end tests (postgres)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 29.7s
Run Playwright end-to-end tests (mysql)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 28.6s
Run Playwright end-to-end tests (cockroach)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 32.5s
Run end-to-end tests (postgres)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run end-to-end tests (mysql)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run end-to-end tests (sqlite)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run end-to-end tests (cockroach)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
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)
🎭 Playwright Run Summary
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.6m)
🎭 Playwright Run Summary
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)
🎭 Playwright Run Summary
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 (3.3m)

Artifacts

Produced during runtime
Name Size
cypress-cockroach-logs
4.38 MB
cypress-mysql-logs
4.47 MB
cypress-postgres-logs
4.34 MB
cypress-sqlite-logs
4.36 MB
playwright-cockroach-logs
256 KB
playwright-mysql-logs
256 KB
playwright-postgres-logs
255 KB
playwright-sqlite-logs
255 KB
playwright-test-results-cockroach-6d8dac22921afb9e1d1db04e660c50e7df41d22f
19.9 MB
playwright-test-results-mysql-6d8dac22921afb9e1d1db04e660c50e7df41d22f
20 MB
playwright-test-results-postgres-6d8dac22921afb9e1d1db04e660c50e7df41d22f
19.9 MB
playwright-test-results-sqlite-6d8dac22921afb9e1d1db04e660c50e7df41d22f
20.1 MB