import { test, expect } from '@playwright/test'; const FRONTEND_URL = process.env.FRONTEND_URL || 'http://frontend:3000'; test.describe('Setup Wizard', () => { test('frontend loads and shows main page after wizard configuration', async ({ page }) => { // Navigate to frontend - wizard should be configured by globalSetup await page.goto(FRONTEND_URL); await page.waitForLoadState('networkidle'); // Should now show main page (not wizard redirect) // After wizard config, frontend should load normally await expect(page.locator('h1')).toContainText('HarborForge', { timeout: 10000 }); }); });