Skip to content

Commit

Permalink
fix test clearing section
Browse files Browse the repository at this point in the history
  • Loading branch information
matmair committed Nov 26, 2024
1 parent c070019 commit b6ad1a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/frontend/tests/settings/selectionList.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ test('PUI - Admin - Parameter', async ({ page }) => {
.catch(() => {});

// clean old data if exists
await page.getByRole('button', { name: 'Part Parameter Template' }).click();
await page.waitForLoadState('networkidle');
await page
.getByRole('cell', { name: 'my custom parameter' })
.waitFor({ timeout: 200 })
Expand All @@ -42,6 +44,8 @@ test('PUI - Admin - Parameter', async ({ page }) => {
.catch(() => {});

// Add selection list
await page.getByRole('button', { name: 'Selection Lists' }).click();
await page.waitForLoadState('networkidle');
await page.getByLabel('action-button-add-selection-').waitFor();
await page.getByLabel('action-button-add-selection-').click();
await page.getByLabel('text-field-name').fill('some list');
Expand Down

0 comments on commit b6ad1a9

Please sign in to comment.