diff --git a/tests/wizard.spec.ts b/tests/wizard.spec.ts index 2e455b2..7912876 100644 --- a/tests/wizard.spec.ts +++ b/tests/wizard.spec.ts @@ -1,12 +1,12 @@ import { test, expect } from '@playwright/test'; -const WIZARD_URL = process.env.WIZARD_URL || 'http://127.0.0.1:18080'; +const FRONTEND_URL = process.env.FRONTEND_URL || 'http://127.0.0.1:3000'; const BACKEND_URL = process.env.BACKEND_URL || 'http://127.0.0.1:8000'; test.describe('Setup Wizard', () => { test('complete wizard flow', async ({ page }) => { // Go to frontend which should redirect to wizard - await page.goto('/'); + await page.goto(FRONTEND_URL); // Step 0: Welcome - Click "Connect to Wizard" await expect(page.locator('h1')).toContainText('HarborForge Setup Wizard'); @@ -36,10 +36,4 @@ test.describe('Setup Wizard', () => { await expect(page.locator('h2')).toContainText('Setup complete!'); await expect(page.locator('code')).toContainText('docker compose restart'); }); - - test('wizard health check', async ({ request }) => { - const response = await request.get(`${WIZARD_URL}/health`); - // Wizard might return 200 or 404 if not initialized - expect([200, 404]).toContain(response.status()); - }); });