Skip to content

Commit 2c57a88

Browse files
committed
fix(e2e): use non-burner email domain in mock data
The mock email generator used @example.com which is classified as a burner email domain by burner-email-providers. This caused the verifyEmailAddress check in remix-auth-email-link to reject login attempts for seed users (member-no-transaction, member-edit, etc.), breaking the Playwright global setup login flow. Switch to @rumahberbagi.test which is not in the burner list.
1 parent fcdcef5 commit 2c57a88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/models/__mocks__/mock-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function pick<T>(values: readonly T[]) {
99
}
1010

1111
export function mockEmail() {
12-
return `user-${generateId()}@example.com`
12+
return `user-${generateId()}@rumahberbagi.test`
1313
}
1414

1515
export function mockName(prefix = 'Item') {

0 commit comments

Comments
 (0)