mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-11 20:52:43 +00:00
16 lines
468 B
TypeScript
16 lines
468 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();
|
|
}
|