Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/test/e2e/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,10 @@ export async function expectRowVisible(
export async function stopInstance(page: Page) {
await page.click('role=button[name="Instance actions"]')
await page.click('role=menuitem[name="Stop"]')
// close toast. for some reason it prevents things from happening
// close toast and wait for it to fade out. for some reason it prevents things
// from working, but only in tests as far as we can tell
await page.click('role=button[name="Dismiss notification"]')
await sleep(2000)
}

/**
Expand Down