We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e82f9a commit faadb6dCopy full SHA for faadb6d
app/test/e2e/utils.ts
@@ -105,8 +105,10 @@ export async function expectRowVisible(
105
export async function stopInstance(page: Page) {
106
await page.click('role=button[name="Instance actions"]')
107
await page.click('role=menuitem[name="Stop"]')
108
- // 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
109
+ // from working, but only in tests as far as we can tell
110
await page.click('role=button[name="Dismiss notification"]')
111
+ await sleep(2000)
112
}
113
114
/**
0 commit comments