Skip to content

Commit

Permalink
fix: e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgeron committed Jan 24, 2025
1 parent 3424e91 commit 7c68adf
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/app/playwright/crx/assets.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,14 @@ test.describe('Check assets', () => {
});

test('should show valid asset value 0.002000', async () => {
expect(
await page.getByText('0.002000', { exact: true }).isVisible()
).toBeTruthy();
await expect
.poll(
async () => {
return await page.getByText('0.002000', { exact: true }).isVisible();
},
{ timeout: 10000 }
)
.toBeTruthy();
});

test('should show USDCIcon AlertTriangle', async () => {
Expand Down

0 comments on commit 7c68adf

Please sign in to comment.