You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
652 B
28 lines
652 B
export const E2E_ADMIN = {
|
|
username: process.env.BOOTSTRAP_ADMIN_USERNAME || "e2e_admin",
|
|
password: process.env.BOOTSTRAP_ADMIN_PASSWORD || "e2e_test_pass_123",
|
|
} as const;
|
|
|
|
export const E2E_NEW_USER = {
|
|
username: "e2e_newuser",
|
|
password: "e2e_newuser_pass_123",
|
|
} as const;
|
|
|
|
export const E2E_INVALID_USER = {
|
|
username: "e2e_nonexistent",
|
|
password: "wrong_password_123",
|
|
} as const;
|
|
|
|
export const FIXED_CAPTCHA = process.env.E2E_FIXED_CAPTCHA || "test1234";
|
|
|
|
export const PROTECTED_PATHS = [
|
|
"/settings",
|
|
"/admin",
|
|
"/admin/dashboard",
|
|
] as const;
|
|
|
|
export const PUBLIC_PATHS = [
|
|
"/",
|
|
"/auth/login",
|
|
"/auth/register",
|
|
] as const;
|
|
|