diff --git a/cypress/e2e/data-import/importing-marc-bib-files/import-to-create-open-orders-physical-resource-with-instances-holdings-items.cy.js b/cypress/e2e/data-import/importing-marc-bib-files/import-to-create-open-orders-physical-resource-with-instances-holdings-items.cy.js index ce5946d60f..eb9adbdfb2 100644 --- a/cypress/e2e/data-import/importing-marc-bib-files/import-to-create-open-orders-physical-resource-with-instances-holdings-items.cy.js +++ b/cypress/e2e/data-import/importing-marc-bib-files/import-to-create-open-orders-physical-resource-with-instances-holdings-items.cy.js @@ -55,6 +55,7 @@ describe('data-import', () => { receivingWorkflow: 'Synchronized', physicalUnitPrice: '"20"', quantityPhysical: '"1"', + materialType: MATERIAL_TYPE_NAMES.BOOK, currency: 'USD', locationName: `"${LOCATION_NAMES.ANNEX}"`, locationQuantityPhysical: '"1"', @@ -79,7 +80,7 @@ describe('data-import', () => { mappingProfile: { typeValue: FOLIO_RECORD_TYPE.ITEM, name: `C380474 Create simple item for open order ${getRandomPostfix()}`, - materialType: `"${MATERIAL_TYPE_NAMES.ELECTRONIC_RESOURCE}"`, + materialType: `"${MATERIAL_TYPE_NAMES.BOOK}"`, permanentLoanType: LOAN_TYPE_NAMES.CAN_CIRCULATE, status: ITEM_STATUS_NAMES.AVAILABLE, }, diff --git a/cypress/e2e/data-import/importing-marc-bib-files/mrc-import-create-open-order-pe-mix-with-instance-holdings-items.cy.js b/cypress/e2e/data-import/importing-marc-bib-files/mrc-import-create-open-order-pe-mix-with-instance-holdings-items.cy.js index 056be9541a..31de520181 100644 --- a/cypress/e2e/data-import/importing-marc-bib-files/mrc-import-create-open-order-pe-mix-with-instance-holdings-items.cy.js +++ b/cypress/e2e/data-import/importing-marc-bib-files/mrc-import-create-open-order-pe-mix-with-instance-holdings-items.cy.js @@ -1,5 +1,4 @@ import { - ACQUISITION_METHOD_NAMES, FOLIO_RECORD_TYPE, ITEM_STATUS_NAMES, JOB_STATUS_NAMES, @@ -48,13 +47,13 @@ describe('data-import', () => { approved: true, vendor: VENDOR_NAMES.GOBI, title: '245$a', - acquisitionMethod: ACQUISITION_METHOD_NAMES.APPROVAL_PLAN, + acquisitionMethod: 'Approval Plan', orderFormat: ORDER_FORMAT_NAMES_IN_PROFILE.PE_MIX, receivingWorkflow: 'Synchronized', physicalUnitPrice: '"20"', quantityPhysical: '"1"', currency: 'USD', - electronicUnitPrice: '25', + electronicUnitPrice: '"25"', quantityElectronic: '"1"', locationName: `"${LOCATION_NAMES.ANNEX}"`, locationQuantityPhysical: '"1"', diff --git a/cypress/fixtures/ediFileForC357018.edi b/cypress/fixtures/ediFileForC357018.edi index 3602743537..dbaf11504f 100644 --- a/cypress/fixtures/ediFileForC357018.edi +++ b/cypress/fixtures/ediFileForC357018.edi @@ -16,7 +16,7 @@ DTM+194:20200101:102' DTM+206:20201231:102' MOA+203:208.59:USD:4' PRI+AAB:205' -RFF+LI:10004-1' +RFF+LI:100004-1' RFF+SNA:C6546362' ALC+C++++G74::28:LINE SERVICE CHARGE' MOA+8:3.59' @@ -72,7 +72,7 @@ DTM+194:20200101:102' DTM+206:20201231:102' MOA+203:208.59:USD:4' PRI+AAB:205' -RFF+LI:10004-1' +RFF+LI:100004-1' RFF+SNA:C6546362' ALC+C++++G74::28:LINE SERVICE CHARGE' MOA+8:3.59' diff --git a/cypress/support/fragments/data_import/job_profiles/jobProfiles.js b/cypress/support/fragments/data_import/job_profiles/jobProfiles.js index 52e1585f60..b41a8b9442 100644 --- a/cypress/support/fragments/data_import/job_profiles/jobProfiles.js +++ b/cypress/support/fragments/data_import/job_profiles/jobProfiles.js @@ -100,6 +100,7 @@ export default { }, waitFileIsUploaded: () => { cy.get('#pane-upload', getLongDelay()).find('div[class^="progressInfo-"]').should('not.exist'); + cy.wait(5000); }, checkJobProfilePresented: (jobProfileTitle) => {