Skip to content

Commit

Permalink
fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
slax57 committed Jan 24, 2024
1 parent b531682 commit 1e1df8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/lists.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('Lists', () => {
getPaginationText().then(el => {
const count = parseInt(el.text().split('of')[1].trim());

cy.findByText('Before last month').click();
cy.findByText('Earlier').click();
// Use should here to allow built-in retry as it may take a few ms for the list to update
getPaginationText().should(el => {
const countFiltered = parseInt(el.text().split('of')[1].trim());
Expand Down

0 comments on commit 1e1df8c

Please sign in to comment.