Skip to content

Commit

Permalink
Remove timeout from PSMDB sharding test
Browse files Browse the repository at this point in the history
  • Loading branch information
tplavcic committed Jan 28, 2025
1 parent d01780d commit 1d00860
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ui/apps/everest/.e2e/release/psmdb-sharding.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ test.describe(
await page.getByTestId('add-db-cluster-button').click();
await page.getByTestId(`add-db-cluster-button-${db}`).click();

await page.waitForTimeout(6000);
await test.step('Populate basic information', async () => {
await populateBasicInformation(
page,
Expand All @@ -135,10 +134,12 @@ test.describe(
});

await test.step('Activate sharding', async () => {
const shardingCheckbox = page
.getByTestId('switch-input-sharding')
.getByRole('checkbox');
const shardingCheckbox = page.getByTestId('switch-input-sharding');
await shardingCheckbox.click();
await page.getByTestId('db-wizard-continue-button').isEnabled();
await expect(
page.getByTestId('db-wizard-continue-button')
).not.toBeDisabled();

await moveForward(page);
});
Expand Down

0 comments on commit 1d00860

Please sign in to comment.