Skip to content

Commit

Permalink
fixed tests (#3605)
Browse files Browse the repository at this point in the history
  • Loading branch information
TetianaParanich committed May 10, 2024
1 parent 4d815d3 commit ccab374
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
Expand Up @@ -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"',
Expand All @@ -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,
},
Expand Down
@@ -1,5 +1,4 @@
import {
ACQUISITION_METHOD_NAMES,
FOLIO_RECORD_TYPE,
ITEM_STATUS_NAMES,
JOB_STATUS_NAMES,
Expand Down Expand Up @@ -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"',
Expand Down
4 changes: 2 additions & 2 deletions cypress/fixtures/ediFileForC357018.edi
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down
Expand Up @@ -100,6 +100,7 @@ export default {
},
waitFileIsUploaded: () => {
cy.get('#pane-upload', getLongDelay()).find('div[class^="progressInfo-"]').should('not.exist');
cy.wait(5000);
},

checkJobProfilePresented: (jobProfileTitle) => {
Expand Down

0 comments on commit ccab374

Please sign in to comment.