From 19486a6e24efa748128dcb484108a0f4871004cb Mon Sep 17 00:00:00 2001 From: Tetiana Paranich <89065577+TetianaParanich@users.noreply.github.com> Date: Fri, 10 May 2024 16:03:48 +0300 Subject: [PATCH] Fat 13330 (#3604) * fixed C343335 * fixed tests * fixed C380474 * changed constant --- ...ers-physical-resource-with-instances-holdings-items.cy.js | 3 ++- ...eate-open-order-pe-mix-with-instance-holdings-items.cy.js | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 082e042a5a..8539aa87cb 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 @@ -61,6 +61,7 @@ describe('Data Import', () => { physicalUnitPrice: '"20"', quantityPhysical: '"1"', currency: 'USD', + materialType: MATERIAL_TYPE_NAMES.BOOK, locationName: `"${LOCATION_NAMES.ANNEX}"`, locationQuantityPhysical: '"1"', }, @@ -84,7 +85,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 a3ed5c8d84..277a53311e 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, @@ -53,13 +52,13 @@ describe.skip('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"',