test: add verify email and password change required

This commit is contained in:
Stefan Benz
2025-01-09 15:42:30 +01:00
parent 03fbcf2e52
commit 11c6c9ed16
21 changed files with 496 additions and 281 deletions

View File

@@ -14,11 +14,14 @@ const test = base.extend<{ user: PasswordUserWithOTP; sink: any }>({
user: async ({ page }, use) => {
const user = new PasswordUserWithOTP({
email: faker.internet.email(),
isEmailVerified: true,
firstName: faker.person.firstName(),
lastName: faker.person.lastName(),
organization: "",
phone: faker.phone.number(),
isPhoneVerified: false,
password: "Password1!",
passwordChangeRequired: false,
type: OtpType.email,
});