feat(business): wire BusinessIssue island to live PHP backend
Deploy Astro Frontend / deploy (push) Waiting to run

Render the DB-driven BusinessIssue island on the Business page and let
the Playwright config target a remote BASE_URL for live verification.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-05 06:49:12 +02:00
parent c5464aa0aa
commit c2975f9a89
2 changed files with 14 additions and 7 deletions
+12 -7
View File
@@ -1,15 +1,20 @@
import { defineConfig, devices } from "@playwright/test";
const baseURL = process.env.BASE_URL ?? "http://localhost:4321";
const isRemote = Boolean(process.env.BASE_URL);
export default defineConfig({
testDir: "./tests",
timeout: 15_000,
use: { baseURL: "http://localhost:4321" },
webServer: {
command: "npm run preview",
url: "http://localhost:4321",
reuseExistingServer: true,
timeout: 30_000,
},
use: { baseURL },
webServer: isRemote
? undefined
: {
command: "npm run preview",
url: "http://localhost:4321",
reuseExistingServer: true,
timeout: 30_000,
},
projects: [
{ name: "desktop", use: { ...devices["Desktop Chrome"] } },
{ name: "mobile", use: { ...devices["Pixel 5"] } },