Skip to content

Commit 0035c40

Browse files
committed
add in a few confirmation clicks in tests
1 parent ab50111 commit 0035c40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/e2e/instance-disks.e2e.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ test('Change boot disk', async ({ page }) => {
203203

204204
// detach disk so there's only one
205205
await clickRowAction(page, 'disk-2', 'Detach')
206+
await page.getByRole('button', { name: 'Confirm' }).click()
206207

207208
await expect(page.getByText('Instance will boot from disk-1')).toBeVisible()
208209

@@ -220,6 +221,8 @@ test('Change boot disk', async ({ page }) => {
220221
await expectRowVisible(otherDisksTable, disk1)
221222

222223
await clickRowAction(page, 'disk-1', 'Detach')
224+
await page.getByRole('button', { name: 'Confirm' }).click()
225+
223226
await expect(noBootDisk).toBeVisible()
224227
await expect(noOtherDisks).toBeVisible()
225228

0 commit comments

Comments
 (0)