Skip to content

Commit

Permalink
Updating regression tests config can take more than 5 seconds (#5179)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh authored Mar 7, 2025
1 parent 39d642f commit b51f7a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e/playwright/regression/shared/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const validateInitialConfig = async (page: Page, expect: Expect) => {
await configArea.locator('#a_required_text-group').getByRole('textbox').fill('i filled this because it is required');
await configArea.getByLabel('Check to include helm chart').check();
await page.getByRole('button', { name: 'Continue' }).click();
await expect(configArea).not.toBeVisible({ timeout: 30000 });
};

export const updateConfig = async (page: Page, expect: Expect) => {
Expand Down Expand Up @@ -54,7 +55,7 @@ export const updateConfig = async (page: Page, expect: Expect) => {
await page.getByRole('button', { name: 'Save config' }).click();

const nextStepModal = page.getByTestId('config-next-step-modal');
await expect(nextStepModal).toBeVisible({ timeout: 15000 });
await expect(nextStepModal).toBeVisible({ timeout: 30000 });
await page.getByRole('button', { name: 'Go to updated version' }).click();
await expect(nextStepModal).not.toBeVisible();
};
Expand Down

0 comments on commit b51f7a6

Please sign in to comment.