From f05c0e3aca915d358294089fa34f9429f89f4de6 Mon Sep 17 00:00:00 2001 From: Zhi Date: Fri, 13 Mar 2026 19:31:07 +0000 Subject: [PATCH] simplify test to just test wizard UI flow --- tests/wizard.spec.ts | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/tests/wizard.spec.ts b/tests/wizard.spec.ts index 944134b..c693fa3 100644 --- a/tests/wizard.spec.ts +++ b/tests/wizard.spec.ts @@ -7,33 +7,8 @@ const WIZARD_URL = process.env.WIZARD_URL || 'http://wizard:8080'; test.describe('Setup Wizard', () => { test('complete wizard flow', async ({ page }) => { - // Configure wizard via API first - await axios.put(`${WIZARD_URL}/api/v1/config/harborforge.json`, { - initialized: true, - admin: { - username: "admin", - password: "admin123", - email: "admin@test.com", - full_name: "Admin" - }, - database: { - host: "mysql", - port: 3306, - user: "harborforge", - password: "harborforge_pass", - database: "harborforge" - }, - backend_url: BACKEND_URL, - default_project: { - name: "TestProject", - description: "Test project" - } - }); - - // Now test wizard in browser + // Visit frontend which redirects to wizard await page.goto(FRONTEND_URL); - - // Wait for page to load await page.waitForLoadState('networkidle'); // Step 0: Welcome - Click "Connect to Wizard"