feat: allow deleting the code credential via the admin API #6355
ci.yaml
on: pull_request
Run tests and lints
15m 15s
Matrix: Run end-to-end tests
Matrix: Run Playwright end-to-end tests
Build CLI docs
1m 34s
Annotations
18 errors, 9 warnings, and 4 notices
|
[chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds:
test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts#L46
2) [chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds › create passkey identity
Error: page.waitForURL: Test timeout of 30000ms exceeded.
=========================== logs ===========================
waiting for navigation until "load"
============================================================
44 | await page.locator("button[name=passkey_register_trigger]").click()
45 |
> 46 | await page.waitForURL(
| ^
47 | new RegExp(config.selfservice.default_browser_return_url),
48 | )
49 | return identifier
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:46:16
at registerWithPasskey (/home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:37:10)
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:160:24
|
|
[chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds:
test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts#L0
2) [chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds › create passkey identity
Test timeout of 30000ms exceeded.
|
|
[chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login:
test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L82
1) [chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('button[name=provider][value=hydra]')
80 | await login.open()
81 |
> 82 | await page.locator(`button[name=provider][value=hydra]`).click()
| ^
83 |
84 | await loginHydra(page)
85 |
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts:82:64
|
|
[chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login:
test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L0
1) [chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login
Test timeout of 30000ms exceeded.
|
|
[chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds:
test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts#L46
2) [chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds › create passkey identity
Error: page.waitForURL: Test timeout of 30000ms exceeded.
=========================== logs ===========================
waiting for navigation until "load"
============================================================
44 | await page.locator("button[name=passkey_register_trigger]").click()
45 |
> 46 | await page.waitForURL(
| ^
47 | new RegExp(config.selfservice.default_browser_return_url),
48 | )
49 | return identifier
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:46:16
at registerWithPasskey (/home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:37:10)
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:160:24
|
|
[chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds:
test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts#L0
2) [chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds › create passkey identity
Test timeout of 30000ms exceeded.
|
|
[chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login:
test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L82
1) [chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('button[name=provider][value=hydra]')
80 | await login.open()
81 |
> 82 | await page.locator(`button[name=provider][value=hydra]`).click()
| ^
83 |
84 | await loginHydra(page)
85 |
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts:82:64
|
|
[chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login:
test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L0
1) [chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login
Test timeout of 30000ms exceeded.
|
|
[chromium] › playwright/tests/desktop/regression/phone-normalization.spec.ts:194:7 › A: code login with legacy phone data › A1: login succeeds with exact legacy format:
test/e2e/playwright/models/elements/login.ts#L113
3) [chromium] › playwright/tests/desktop/regression/phone-normalization.spec.ts:194:7 › A: code login with legacy phone data › A1: login succeeds with exact legacy format
Error: locator.fill: Error: strict mode violation: locator('input[name=identifier]') resolved to 2 elements:
1) <input value="" id=":Rpkv:" type="text" required="" placeholder=" " name="identifier" autocomplete="username webauthn" class="ory_elements__input_field__1tgfa2l1 ory_elements__typography__vpyugz5 ory_elements__typography_type_regular__vpyugzm ory_elements__typography_size_small__vpyugz8"/> aka getByTestId('login-flow-code').getByRole('textbox', { name: 'Your Phone Number *' })
2) <input value="" id=":Rplb:" type="text" required="" placeholder=" " name="identifier" autocomplete="username webauthn" class="ory_elements__input_field__1tgfa2l1 ory_elements__typography__vpyugz5 ory_elements__typography_type_regular__vpyugzm ory_elements__typography_size_small__vpyugz8"/> aka getByTestId('passwordless-flow').getByRole('textbox', { name: 'Your Phone Number *' })
Call log:
- waiting for locator('input[name=identifier]')
at ../models/elements/login.ts:113
111 | break
112 | case LoginStyle.Unified:
> 113 | await this.inputField("identifier").fill(identifier)
| ^
114 | await this.codeSubmit.click()
115 | break
116 | }
at LoginPage.triggerLoginWithCode (/home/runner/work/kratos/kratos/test/e2e/playwright/models/elements/login.ts:113:45)
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/regression/phone-normalization.spec.ts:209:17
|
|
[chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds:
test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts#L46
2) [chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds › create passkey identity
Error: page.waitForURL: Test timeout of 30000ms exceeded.
=========================== logs ===========================
waiting for navigation until "load"
============================================================
44 | await page.locator("button[name=passkey_register_trigger]").click()
45 |
> 46 | await page.waitForURL(
| ^
47 | new RegExp(config.selfservice.default_browser_return_url),
48 | )
49 | return identifier
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:46:16
at registerWithPasskey (/home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:37:10)
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:160:24
|
|
[chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds:
test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts#L0
2) [chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds › create passkey identity
Test timeout of 30000ms exceeded.
|
|
[chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login:
test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L82
1) [chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('button[name=provider][value=hydra]')
80 | await login.open()
81 |
> 82 | await page.locator(`button[name=provider][value=hydra]`).click()
| ^
83 |
84 | await loginHydra(page)
85 |
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts:82:64
|
|
[chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login:
test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L0
1) [chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login
Test timeout of 30000ms exceeded.
|
|
[chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds:
test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts#L46
2) [chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds › create passkey identity
Error: page.waitForURL: Test timeout of 30000ms exceeded.
=========================== logs ===========================
waiting for navigation until "load"
============================================================
44 | await page.locator("button[name=passkey_register_trigger]").click()
45 |
> 46 | await page.waitForURL(
| ^
47 | new RegExp(config.selfservice.default_browser_return_url),
48 | )
49 | return identifier
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:46:16
at registerWithPasskey (/home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:37:10)
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:160:24
|
|
[chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds:
test/e2e/playwright/tests/desktop/identifier_first/passkeys.options.spec.ts#L0
2) [chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds › create passkey identity
Test timeout of 30000ms exceeded.
|
|
[chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login:
test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L82
1) [chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('button[name=provider][value=hydra]')
80 | await login.open()
81 |
> 82 | await page.locator(`button[name=provider][value=hydra]`).click()
| ^
83 |
84 | await loginHydra(page)
85 |
at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts:82:64
|
|
[chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login:
test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L0
1) [chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login
Test timeout of 30000ms exceeded.
|
|
Build CLI docs
Process completed with exit code 1.
|
|
Run Playwright end-to-end tests (postgres)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run Playwright end-to-end tests (mysql)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run Playwright end-to-end tests (sqlite)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run Playwright end-to-end tests (cockroach)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run tests and lints
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build CLI docs
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build CLI docs
Restore cache failed: Dependencies file is not found in /home/runner/work/kratos/kratos. Supported file pattern: go.mod
|
|
Run end-to-end tests (postgres)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run end-to-end tests (sqlite)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
🎭 Playwright Run Summary
2 flaky
[chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login
[chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds
14 skipped
73 passed (3.2m)
|
|
🎭 Playwright Run Summary
2 flaky
[chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login
[chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds
14 skipped
73 passed (3.4m)
|
|
🎭 Playwright Run Summary
3 flaky
[chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login
[chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds
[chromium] › playwright/tests/desktop/regression/phone-normalization.spec.ts:194:7 › A: code login with legacy phone data › A1: login succeeds with exact legacy format
86 passed (3.6m)
|
|
🎭 Playwright Run Summary
2 flaky
[chromium] › playwright/tests/desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login
[chromium] › playwright/tests/desktop/identifier_first/passkeys.options.spec.ts:153:7 › passkey options - user verification required › registration with user verification required succeeds
14 skipped
73 passed (5.2m)
|