diff --git a/cypress/e2e/consortia/data-import/importing-marcBib-files/adding-deleting-fields-and-subfields-when-updating-shadow-marcBib-in-member-via-DI.cy.js b/cypress/e2e/consortia/data-import/importing-marcBib-files/adding-deleting-fields-and-subfields-when-updating-shadow-marcBib-in-member-via-DI.cy.js index 47321bfaeb..c76d90b8be 100644 --- a/cypress/e2e/consortia/data-import/importing-marcBib-files/adding-deleting-fields-and-subfields-when-updating-shadow-marcBib-in-member-via-DI.cy.js +++ b/cypress/e2e/consortia/data-import/importing-marcBib-files/adding-deleting-fields-and-subfields-when-updating-shadow-marcBib-in-member-via-DI.cy.js @@ -219,6 +219,7 @@ describe('Data Import', () => { cy.setTenant(Affiliations.College).then(() => { // use cy.getToken function to get toket for current tenant TopMenuNavigation.navigateToApp(APPLICATION_NAMES.DATA_EXPORT); + cy.wait(5000); ExportFile.downloadExportedMarcFileWithRecordHrid( expectedRecordHrid, testData.marcFile.exportedFileName, diff --git a/cypress/e2e/consortia/data-import/importing-marcBib-files/adding-deleting-fields-and-subfields-when-updating-shared-marcBib-in-central-via-DI-and-confirm-in-member.cy.js b/cypress/e2e/consortia/data-import/importing-marcBib-files/adding-deleting-fields-and-subfields-when-updating-shared-marcBib-in-central-via-DI-and-confirm-in-member.cy.js index 04f4b6dbf7..f4c745e443 100644 --- a/cypress/e2e/consortia/data-import/importing-marcBib-files/adding-deleting-fields-and-subfields-when-updating-shared-marcBib-in-central-via-DI-and-confirm-in-member.cy.js +++ b/cypress/e2e/consortia/data-import/importing-marcBib-files/adding-deleting-fields-and-subfields-when-updating-shared-marcBib-in-central-via-DI-and-confirm-in-member.cy.js @@ -183,6 +183,7 @@ describe('Data Import', () => { // download exported marc file TopMenuNavigation.navigateToApp(APPLICATION_NAMES.DATA_EXPORT); + cy.wait(5000); ExportFile.downloadExportedMarcFileWithRecordHrid( expectedRecordHrid, testData.marcFile.exportedFileName, diff --git a/cypress/e2e/consortia/data-import/importing-marcBib-files/update-marcBib-in-central-via-import-and-check-updated-in-member.cy.js b/cypress/e2e/consortia/data-import/importing-marcBib-files/update-marcBib-in-central-via-import-and-check-updated-in-member.cy.js index 611f121a16..00ff287b14 100644 --- a/cypress/e2e/consortia/data-import/importing-marcBib-files/update-marcBib-in-central-via-import-and-check-updated-in-member.cy.js +++ b/cypress/e2e/consortia/data-import/importing-marcBib-files/update-marcBib-in-central-via-import-and-check-updated-in-member.cy.js @@ -230,6 +230,7 @@ describe('Data Import', () => { // download exported marc file TopMenuNavigation.navigateToApp(APPLICATION_NAMES.DATA_EXPORT); ExportFile.waitLandingPageOpened(); + cy.wait(5000); ExportFile.downloadExportedMarcFileWithRecordHrid( expectedRecordHrid, testData.marcFile.exportedFileName, diff --git a/cypress/e2e/consortia/data-import/importing-marcBib-files/update-shared-marcBib-in-central-via-DI-and-changes-flow-to-member.cy.js b/cypress/e2e/consortia/data-import/importing-marcBib-files/update-shared-marcBib-in-central-via-DI-and-changes-flow-to-member.cy.js index 61ae0251c9..2ac53e45ce 100644 --- a/cypress/e2e/consortia/data-import/importing-marcBib-files/update-shared-marcBib-in-central-via-DI-and-changes-flow-to-member.cy.js +++ b/cypress/e2e/consortia/data-import/importing-marcBib-files/update-shared-marcBib-in-central-via-DI-and-changes-flow-to-member.cy.js @@ -188,6 +188,7 @@ describe('Data Import', () => { // use cy.getToken function to get toket for current tenant TopMenuNavigation.navigateToApp(APPLICATION_NAMES.DATA_EXPORT); ExportFile.waitLandingPageOpened(); + cy.wait(5000); ExportFile.downloadExportedMarcFileWithRecordHrid( expectedRecordHrid, testData.marcFile.exportedFileName, @@ -227,6 +228,7 @@ describe('Data Import', () => { InventorySearchAndFilter.verifyPanesExist(); ConsortiumManager.checkCurrentTenantInTopMenu(tenantNames.central); ConsortiumManager.switchActiveAffiliation(tenantNames.central, tenantNames.college); + InventoryInstances.waitContentLoading(); InventoryInstances.searchByTitle(testData.sharedInstanceId); InventoryInstance.waitInstanceRecordViewOpened(testData.updatedInstanceTitle); // TO DO: fix this check failure - 'Unknown user' is shown, possibly due to the way users are created in test diff --git a/cypress/e2e/consortia/inventory/instance/shared-instance-is-updated-using-DI-from-member.cy.js b/cypress/e2e/consortia/inventory/instance/shared-instance-is-updated-using-DI-from-member.cy.js index 0e26262837..64c409af26 100644 --- a/cypress/e2e/consortia/inventory/instance/shared-instance-is-updated-using-DI-from-member.cy.js +++ b/cypress/e2e/consortia/inventory/instance/shared-instance-is-updated-using-DI-from-member.cy.js @@ -109,10 +109,10 @@ describe('Inventory', () => { // download exported marc file cy.getAdminToken(); - cy.getAdminToken(); cy.setTenant(Affiliations.College).then(() => { TopMenuNavigation.openAppFromDropdown(APPLICATION_NAMES.DATA_EXPORT); ExportFile.waitLandingPageOpened(); + cy.wait(5000); ExportFile.downloadExportedMarcFileWithRecordHrid( expectedRecordHrid, testData.exportedFileName, diff --git a/cypress/e2e/data-import/e2e/match-on-pol-and-update-instance.cy.js b/cypress/e2e/data-import/e2e/match-on-pol-and-update-instance.cy.js index 3397a20ceb..b43d27fb1c 100644 --- a/cypress/e2e/data-import/e2e/match-on-pol-and-update-instance.cy.js +++ b/cypress/e2e/data-import/e2e/match-on-pol-and-update-instance.cy.js @@ -145,7 +145,7 @@ describe('Data Import', () => { Permissions.uiOrdersApprovePurchaseOrders.gui, Permissions.uiInventoryViewCreateEditHoldings.gui, Permissions.uiInventoryViewCreateEditInstances.gui, - Permissions.uiInventoryViewCreateEditItems, + Permissions.uiInventoryViewCreateEditItems.gui, Permissions.uiInventoryViewInstances.gui, Permissions.uiQuickMarcQuickMarcBibliographicEditorView.gui, ]).then((userProperties) => { diff --git a/cypress/e2e/data-import/e2e/match-on-pol-and-update-items.cy.js b/cypress/e2e/data-import/e2e/match-on-pol-and-update-items.cy.js index 6c986edb88..60b557abdc 100644 --- a/cypress/e2e/data-import/e2e/match-on-pol-and-update-items.cy.js +++ b/cypress/e2e/data-import/e2e/match-on-pol-and-update-items.cy.js @@ -175,7 +175,7 @@ describe('Data Import', () => { Permissions.uiOrdersEdit.gui, Permissions.uiInventoryViewCreateEditHoldings.gui, Permissions.uiInventoryViewCreateEditInstances.gui, - Permissions.uiInventoryViewCreateEditItems, + Permissions.uiInventoryViewCreateEditItems.gui, Permissions.settingsDataImportEnabled.gui, Permissions.moduleDataImportEnabled.gui, Permissions.uiReceivingViewEditCreate.gui, diff --git a/cypress/e2e/data-import/importing-marc-bib-files/001-003-005-handling-for-new-and-update-srs-record.cy.js b/cypress/e2e/data-import/importing-marc-bib-files/001-003-005-handling-for-new-and-update-srs-record.cy.js index e826c96b31..d1f71397a0 100644 --- a/cypress/e2e/data-import/importing-marc-bib-files/001-003-005-handling-for-new-and-update-srs-record.cy.js +++ b/cypress/e2e/data-import/importing-marc-bib-files/001-003-005-handling-for-new-and-update-srs-record.cy.js @@ -167,8 +167,9 @@ describe('Data Import', () => { FileDetails.openInstanceInInventory(RECORD_STATUSES.CREATED); InventoryInstance.getAssignedHRID().then((initialInstanceHrId) => { instanceHrid = initialInstanceHrId; + InventorySearchAndFilter.resetAll(); + InventorySearchAndFilter.waitLoading(); // check fields are absent in the view source - TopMenuNavigation.navigateToApp(APPLICATION_NAMES.INVENTORY); InventorySearchAndFilter.searchInstanceByHRID(instanceHrid); InstanceRecordView.verifyInstancePaneExists(); InventoryInstance.verifyResourceIdentifier(