diff --git a/e2e/tests/auth.setup.ts b/e2e/tests/auth.setup.ts index 8a591f13..4dd22db2 100644 --- a/e2e/tests/auth.setup.ts +++ b/e2e/tests/auth.setup.ts @@ -29,7 +29,7 @@ setup('authenticate', async ({ page }) => { console.log(`Authenticating as ${email}...`); // Navigate to login page - await page.goto('/users/log_in'); + await page.goto('/users/log-in'); // Fill in email and password await page.getByLabel('Email').fill(email); @@ -39,7 +39,7 @@ setup('authenticate', async ({ page }) => { await page.getByRole('button', { name: 'Sign in' }).click(); // Wait for TOTP page - await page.waitForURL('**/users/log_in/totp'); + await page.waitForURL('**/users/log-in/totp'); // Generate TOTP code const token = generateSync({ secret: totpSecret });