Skip to content

Commit

Permalink
fix: e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarsen136 committed Jul 16, 2024
1 parent 6be7b0c commit 238e5e4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/e2e/sidebar.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ test('Sidebar Interactions', async ({ page, Commands }) => {
})
await page.getByTestId('button-add-funds-empty').click()
await expect(page.getByTestId('on-ramp-modal')).toBeVisible()
await page
.getByTestId('modal-close-button')
.and(page.locator(':visible'))
.click()
await page.keyboard.press('Escape')
await expect(page.getByTestId('on-ramp-modal')).not.toBeVisible()
})
})

0 comments on commit 238e5e4

Please sign in to comment.