chore: add professional tooling (husky, lint-staged, playwright, lighthouse, eslint)
This commit is contained in:
1 parent
968ca15c27
commit
57f85f5453
5 files changed
+112
-61
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import { test, expect } from "@playwright/test";
|
||||
|
||||
test("homepage has title", async ({ page }) => {
|
||||
await page.goto("/");
|
||||
await expect(page).toHaveTitle(/Magic Hotel|Atom/i);
|
||||
});
|
||||
|
||||
test("register page loads", async ({ page }) => {
|
||||
await page.goto("/register");
|
||||
await expect(page).toHaveTitle(/registreer|register|konto/i);
|
||||
});
|
||||
|
||||
test("login page loads", async ({ page }) => {
|
||||
await page.goto("/login");
|
||||
await expect(page).toHaveTitle(/inloggen|login/i);
|
||||
});
|
||||
Reference in new issue
Block a user