simplify test to just test wizard UI flow
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user