Skip to content

Commit

Permalink
test(apps/web): Fix flaky e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
nevendyulgerov committed Jan 3, 2025
1 parent d6bdbb7 commit ee06f57
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/web/e2e/pages/inputs.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,12 @@ test("should search for specific input", async ({ page }) => {
.getByRole("paragraph");

const addresses = await fromAddress.all();
addresses.map(async (address) => {

for (const address of addresses) {
const linkHref = (await address.textContent()) as string;

expect(
linkHref.toLowerCase().startsWith(addressPrefix.toLowerCase()),
).toBe(true);
});
}
});

0 comments on commit ee06f57

Please sign in to comment.