From 1f93f2d4ad459a4af861a89da978eef2072ff72e Mon Sep 17 00:00:00 2001 From: Clawd Agent Date: Tue, 3 Mar 2026 04:56:51 +0100 Subject: [PATCH] feat(06-03): Update Playwright config and tests to ES modules syntax --- frontend/playwright.config.js | 2 +- frontend/tests/gravl.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/playwright.config.js b/frontend/playwright.config.js index a158b5f..5f334db 100644 --- a/frontend/playwright.config.js +++ b/frontend/playwright.config.js @@ -1,4 +1,4 @@ -module.exports = { +export default { testDir: "./tests", use: { baseURL: process.env.STAGING_URL || "https://gravl.homelab.local", diff --git a/frontend/tests/gravl.spec.js b/frontend/tests/gravl.spec.js index 24da1ae..0166878 100644 --- a/frontend/tests/gravl.spec.js +++ b/frontend/tests/gravl.spec.js @@ -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");