mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-02 08:58:52 +00:00
# Which Problems Are Solved We move the login code to the zitadel repo. # How the Problems Are Solved The login repo is added to ./login as a git subtree pulled from the dockerize-ci branch. Apart from the login code, this PR contains the changes from #10116 # Additional Context - Closes https://github.com/zitadel/typescript/issues/474 - Also merges #10116 - Merging is blocked by failing check because of: - https://github.com/zitadel/zitadel/pull/10134#issuecomment-3012086106 --------- Co-authored-by: Max Peintner <[email protected]> Co-authored-by: Max Peintner <[email protected]> Co-authored-by: Florian Forster <[email protected]>
27 lines
985 B
TypeScript
27 lines
985 B
TypeScript
import { test } from "@playwright/test";
|
|
|
|
test("username, password and u2f login", async ({ page }) => {
|
|
test.skip();
|
|
// Given u2f is enabled on the organization of the user
|
|
// Given the user has only u2f configured as second factor
|
|
// User enters username
|
|
// User enters password
|
|
// Popup for u2f is directly opened
|
|
// User verifies u2f
|
|
// User is redirected to the app (default redirect url)
|
|
});
|
|
|
|
test("username, password and u2f login, multiple mfa options", async ({ page }) => {
|
|
test.skip();
|
|
// Given u2f and semailms otp is enabled on the organization of the user
|
|
// Given the user has u2f and email otp configured as second factor
|
|
// User enters username
|
|
// User enters password
|
|
// Popup for u2f is directly opened
|
|
// User aborts u2f verification
|
|
// User clicks button to use email otp as second factor
|
|
// User receives an email with a verification code
|
|
// User enters code in ui
|
|
// User is redirected to the app (default redirect url)
|
|
});
|