Skip to content

Commit

Permalink
Update test to use X to close modal
Browse files Browse the repository at this point in the history
  • Loading branch information
charliepark committed Dec 12, 2024
1 parent a2d4377 commit 240fce0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/silos.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ test('Identity providers', async ({ page }) => {
'groups'
)

await page.getByRole('button', { name: 'Cancel' }).click()
await page.getByRole('button', { name: 'Close' }).click()

await expect(dialog).toBeHidden()

Expand Down Expand Up @@ -320,7 +320,7 @@ test('Silo IP pools link pool', async ({ page }) => {
await expect(modal).toBeVisible()

// close modal works
await page.getByRole('button', { name: 'Cancel' }).click()
await page.getByRole('button', { name: 'Close' }).click()
await expect(modal).toBeHidden()

// reopen
Expand Down

0 comments on commit 240fce0

Please sign in to comment.