diff --git a/frontend/e2e/basic-homepage.spec.ts b/frontend/e2e/basic-homepage.spec.ts index 7a724c77..43a6ef82 100644 --- a/frontend/e2e/basic-homepage.spec.ts +++ b/frontend/e2e/basic-homepage.spec.ts @@ -81,6 +81,6 @@ test("Cannot sign in with invalid credentials", async ({ page }) => { test("Cannot skip login", async ({ page }) => { await page.goto("/user"); // Should redirect to login - await expect(page.getByText('login')).toBeVisible(); - await expect(page.getByRole('button', { name: 'teacher' })).toBeVisible(); + await expect(page.getByText("login")).toBeVisible(); + await expect(page.getByRole("button", { name: "teacher" })).toBeVisible(); }); diff --git a/frontend/playwright.config.ts b/frontend/playwright.config.ts index a4e940f5..e9c128e8 100644 --- a/frontend/playwright.config.ts +++ b/frontend/playwright.config.ts @@ -116,6 +116,6 @@ export default defineConfig({ `, port: 9876, reuseExistingServer: !process.env.CI, - } + }, ], });