feat(06-03): Update Playwright config and tests to ES modules syntax

This commit is contained in:
2026-03-03 04:56:51 +01:00
parent fbba2d894d
commit 1f93f2d4ad
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
module.exports = {
export default {
testDir: "./tests",
use: {
baseURL: process.env.STAGING_URL || "https://gravl.homelab.local",
+1 -1
View File
@@ -1,4 +1,4 @@
const { test, expect } = require("@playwright/test");
import { test, expect } from "@playwright/test";
test("login page loads", async ({ page }) => {
await page.goto("/login");