mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-14 13:12:33 +00:00
chore: add sms otp and password set acceptance tests
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { Page } from "@playwright/test";
|
||||
import { codeScreen } from "./code-screen";
|
||||
import { getCodeFromSink } from "./sink";
|
||||
import { getOtpFromSink } from "./sink";
|
||||
|
||||
export async function codeFromSink(page: Page, key: string) {
|
||||
export async function otpFromSink(page: Page, key: string) {
|
||||
// wait for send of the code
|
||||
await page.waitForTimeout(3000);
|
||||
const c = await getCodeFromSink(key);
|
||||
const c = await getOtpFromSink(key);
|
||||
await code(page, c);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user