diff --git a/tests/wizard.spec.ts b/tests/wizard.spec.ts index f74fa8d..d7b1174 100644 --- a/tests/wizard.spec.ts +++ b/tests/wizard.spec.ts @@ -3,14 +3,10 @@ import axios from 'axios'; const FRONTEND_URL = process.env.FRONTEND_URL || 'http://frontend:3000'; const BACKEND_URL = process.env.BACKEND_URL || 'http://backend:8000'; -const WIZARD_URL = process.env.WIZARD_URL || 'http://wizard:8080/wizard'; const WIZARD_API_URL = process.env.WIZARD_API_URL || 'http://wizard:8080'; test.describe('Setup Wizard', () => { test('complete wizard flow', async ({ page }) => { - console.log('WIZARD_URL:', WIZARD_URL); - console.log('WIZARD_API_URL:', WIZARD_API_URL); - // Configure wizard via API first await axios.put(`${WIZARD_API_URL}/api/v1/config/harborforge.json`, { initialized: true, @@ -34,8 +30,8 @@ test.describe('Setup Wizard', () => { } }); - // Navigate to wizard UI - await page.goto(WIZARD_URL); + // Navigate to frontend which should redirect to wizard + await page.goto(FRONTEND_URL); await page.waitForLoadState('networkidle'); // Step 0: Welcome - Click "Connect to Wizard"