Skip to content

Commit 1a13512

Browse files
committed
fix(e2e): remove duplicate links test files and fix wizard navigation test
- Delete e2e/links.spec.ts and e2e/links-advanced.spec.ts (duplicates of integrations*.spec.ts) - Add label creation to wizard navigation test before selecting from dropdown - Fixes CI failure where dropdown had no options (index 1 not found)
1 parent b9b4d3a commit 1a13512

3 files changed

Lines changed: 15 additions & 867 deletions

File tree

e2e/integrations.spec.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,21 @@ test('links navigation link is visible in header', async ({ page, baseURL }) =>
4949

5050
test('wizard navigation: can navigate through all 3 steps (Label→Label refactor)', async ({ page, baseURL }) => {
5151
const base = baseURL || process.env.BASE_URL || 'http://127.0.0.1:5000';
52+
53+
// Create labels needed for this test
54+
await page.goto(`${base}/labels`);
55+
await page.waitForLoadState('networkidle');
56+
57+
await page.getByTestId('new-label-btn').click();
58+
await page.getByTestId('label-name').fill('WizTestLabel1');
59+
await page.getByTestId('save-label-btn').click();
60+
await page.waitForTimeout(500);
61+
62+
await page.getByTestId('new-label-btn').click();
63+
await page.getByTestId('label-name').fill('WizTestLabel2');
64+
await page.getByTestId('save-label-btn').click();
65+
await page.waitForTimeout(500);
66+
5267
await page.goto(`${base}/integrate`);
5368
await page.waitForLoadState('networkidle');
5469

e2e/links-advanced.spec.ts

Lines changed: 0 additions & 262 deletions
This file was deleted.

0 commit comments

Comments
 (0)