Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed tests #3605

Merged
merged 1 commit into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Loading