mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-07 23:52:05 +00:00
16 lines
469 B
TypeScript
16 lines
469 B
TypeScript
|
|
import { Page } from "@playwright/test";
|
||
|
|
import { emailVerifyScreen } from "./email-verify-screen";
|
||
|
|
|
||
|
|
export async function startEmailVerify(page: Page, loginname: string) {
|
||
|
|
await page.goto("./verify");
|
||
|
|
}
|
||
|
|
|
||
|
|
export async function emailVerify(page: Page, code: string) {
|
||
|
|
await emailVerifyScreen(page, code);
|
||
|
|
await page.getByTestId("submit-button").click();
|
||
|
|
}
|
||
|
|
|
||
|
|
export async function emailVerifyResend(page: Page) {
|
||
|
|
await page.getByTestId("resend-button").click();
|
||
|
|
}
|