Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TetianaParanich committed May 9, 2024
1 parent 1710288 commit 02a7c3a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Expand Up @@ -61,6 +61,7 @@ describe('Data Import', () => {
physicalUnitPrice: '"20"',
quantityPhysical: '"1"',
currency: 'USD',
materialType: MATERIAL_TYPE_NAMES.BOOK,
locationName: `"${LOCATION_NAMES.ANNEX}"`,
locationQuantityPhysical: '"1"',
},
Expand All @@ -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,
},
Expand Down
Expand Up @@ -36,7 +36,7 @@ import TopMenu from '../../../support/fragments/topMenu';
import Users from '../../../support/fragments/users/users';
import getRandomPostfix from '../../../support/utils/stringTools';

describe.skip('Data Import', () => {
describe('Data Import', () => {
describe('Importing MARC Bib files', () => {
let user;
let instanceHrid;
Expand All @@ -59,7 +59,7 @@ describe.skip('Data Import', () => {
physicalUnitPrice: '"20"',
quantityPhysical: '"1"',
currency: 'USD',
electronicUnitPrice: '25',
electronicUnitPrice: '"25"',
quantityElectronic: '"1"',
locationName: `"${LOCATION_NAMES.ANNEX}"`,
locationQuantityPhysical: '"1"',
Expand Down Expand Up @@ -137,7 +137,6 @@ describe.skip('Data Import', () => {
});
});

// test is skiped because of https://issues.folio.org/browse/MODORDERS-884
it(
'C380446 Import to create open orders: P/E mix with Instances, Holdings, Items (folijet)',
{ tags: ['smoke', 'folijet'] },
Expand Down
2 changes: 1 addition & 1 deletion cypress/support/constants.js
Expand Up @@ -221,7 +221,7 @@ export const RECEIVING_WORKFLOW_NAMES = {
};

export const ACQUISITION_METHOD_NAMES = {
APPROVAL_PLAN: 'Approval plan',
APPROVAL_PLAN: 'Approval Plan',
DDA: 'Demand driven acquisitions (DDA)',
DEPOSITORY: 'Depository',
EBA: 'Evidence based acquisitions (EBA)',
Expand Down

0 comments on commit 02a7c3a

Please sign in to comment.