diff --git a/cypress/e2e/lists/Export-list/export-canned-lists.cy.js b/cypress/e2e/lists/Export-list/export-canned-lists.cy.js index daccf06e05..32ec80afb4 100644 --- a/cypress/e2e/lists/Export-list/export-canned-lists.cy.js +++ b/cypress/e2e/lists/Export-list/export-canned-lists.cy.js @@ -26,6 +26,10 @@ describe('Export canned lists', () => { Lists.waitLoading(); Lists.expiredPatronLoan(); Lists.actionButton(); + Lists.refreshList(); + cy.wait(7000); + cy.contains('View updated list').click(); + Lists.actionButton(); Lists.exportList(); cy.contains( 'Export of Inactive patrons with open loans is being generated. This may take some time for larger lists.', diff --git a/cypress/e2e/lists/refresh-list/refresh-canned-list.cy.js b/cypress/e2e/lists/refresh-list/refresh-canned-list.cy.js index 11a227cedf..aedf45618c 100644 --- a/cypress/e2e/lists/refresh-list/refresh-canned-list.cy.js +++ b/cypress/e2e/lists/refresh-list/refresh-canned-list.cy.js @@ -27,6 +27,10 @@ describe('lists', () => { Lists.waitLoading(); Lists.expiredPatronLoan(); Lists.actionButton(); + Lists.refreshList(); + cy.wait(7000); + cy.contains('View updated list').click(); + Lists.actionButton(); Lists.getViaApi().then((response) => { const filteredItem = response.body.content.find( (item) => item.name === 'Inactive patrons with open loans',