Skip to content

Commit

Permalink
Fix broken stopInstance test util
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminleonard committed Oct 17, 2024
1 parent d02bf64 commit 22d584f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/e2e/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ export async function expectRowVisible(
}

export async function stopInstance(page: Page) {
await page.getByRole('button', { name: 'Instance actions' }).click()
await page.getByRole('menuitem', { name: 'Stop' }).click()
await page.getByRole('button', { name: 'Stop' }).click()
await page.getByRole('button', { name: 'Confirm' }).click()
await closeToast(page)
// don't need to manually refresh because of polling
Expand Down

0 comments on commit 22d584f

Please sign in to comment.