Skip to content

Commit 669d16f

Browse files
committed
fix(search_params): fix two tests that were failing only on CI/CD
1 parent fac30c1 commit 669d16f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/features/transaction-wizard/utils/transactions-url-search-params.test.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,8 @@ describe('Render transactions page with search params', () => {
10411041
}),
10421042
})
10431043

1044+
await screen.findByText(receiver, {}, { timeout: 3000 })
1045+
10441046
expect(await screen.findByText(receiver)).toBeInTheDocument()
10451047
expect(await screen.findByText(assetId)).toBeInTheDocument()
10461048
expect(await screen.findByText(amount)).toBeInTheDocument()
@@ -1491,6 +1493,9 @@ describe('Render transactions page with search params', () => {
14911493
}),
14921494
})
14931495

1496+
1497+
await screen.findByText(assetId, {}, { timeout: 3000 })
1498+
14941499
expect(await screen.findByText(assetId)).toBeInTheDocument()
14951500
// Find the yellow sender link (auto-populated)
14961501
const senderLinks = await screen.findAllByText(localnetDispenderAccount.addr.toString())

0 commit comments

Comments
 (0)