Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
add delay for pagination debounce
Browse files Browse the repository at this point in the history
  • Loading branch information
rylew1 committed May 31, 2024
1 parent 8b36108 commit b8deb59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/tests/e2e/search/searchSpecUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ export async function clickPaginationPageNumber(
`button[data-testid="pagination-page-number"][aria-label="Page ${pageNumber}"]`,
);
await paginationButton.first().click();

// Delay for pagination debounce
await page.waitForTimeout(400);
}

export async function clickLastPaginationPage(page: Page) {
Expand Down

0 comments on commit b8deb59

Please sign in to comment.