diff --git a/cypress/e2e/bulk-edit/logs/csv/bulk-edit-logs-csv-users-barcodes.cy.js b/cypress/e2e/bulk-edit/logs/csv/bulk-edit-logs-csv-users-barcodes.cy.js index 6fa5866c25..0b71029d2f 100644 --- a/cypress/e2e/bulk-edit/logs/csv/bulk-edit-logs-csv-users-barcodes.cy.js +++ b/cypress/e2e/bulk-edit/logs/csv/bulk-edit-logs-csv-users-barcodes.cy.js @@ -27,6 +27,7 @@ describe('bulk-edit', () => { describe('logs', () => { describe('csv approach', () => { before('create test data', () => { + cy.clearLocalStorage(); cy.createTempUser([]).then((userProperties) => { userWithoutPermissions = userProperties; }); diff --git a/cypress/e2e/bulk-edit/query/bulk-edit-query-enum.cy.js b/cypress/e2e/bulk-edit/query/bulk-edit-query-enum.cy.js index 8d89ac7615..c46665ee65 100644 --- a/cypress/e2e/bulk-edit/query/bulk-edit-query-enum.cy.js +++ b/cypress/e2e/bulk-edit/query/bulk-edit-query-enum.cy.js @@ -74,9 +74,9 @@ describe('bulk-edit', () => { QueryModal.testQueryDisabled(); QueryModal.runQueryDisabled(); QueryModal.chooseFromValueMultiselect(ITEM_STATUS_NAMES.AVAILABLE); - QueryModal.chooseFromValueMultiselect(ITEM_STATUS_NAMES.MISSING); + QueryModal.chooseFromValueMultiselect(ITEM_STATUS_NAMES.ON_ORDER); QueryModal.verifyQueryAreaContent( - `(items.status_name not in ("${ITEM_STATUS_NAMES.AVAILABLE}","${ITEM_STATUS_NAMES.MISSING}"))`, + `(items.status_name not in ("${ITEM_STATUS_NAMES.AVAILABLE}","${ITEM_STATUS_NAMES.ON_ORDER}"))`, ); QueryModal.testQueryDisabled(false); QueryModal.runQueryDisabled(); diff --git a/cypress/e2e/settings/tenant/service-points.cy.js b/cypress/e2e/settings/tenant/service-points.cy.js index c61ff540c2..0aad13e9c0 100644 --- a/cypress/e2e/settings/tenant/service-points.cy.js +++ b/cypress/e2e/settings/tenant/service-points.cy.js @@ -1,8 +1,9 @@ import permissions from '../../../support/dictionary/permissions'; import ServicePoints from '../../../support/fragments/settings/tenant/servicePoints/servicePoints'; -import TopMenu from '../../../support/fragments/topMenu'; import Users from '../../../support/fragments/users/users'; import getRandomPostfix from '../../../support/utils/stringTools'; +import TopMenuNavigation from '../../../support/fragments/topMenuNavigation'; +import { APPLICATION_NAMES } from '../../../support/constants'; let user; const newServicePoint = { @@ -19,7 +20,7 @@ describe('Settings: Tenant', () => { user = userProperties; cy.login(user.username, user.password); cy.wait(2000); - cy.visit(TopMenu.settingsPath); + TopMenuNavigation.navigateToApp(APPLICATION_NAMES.SETTINGS); ServicePoints.goToServicePointsTab(); }, ); diff --git a/cypress/support/fragments/settings/tenant/servicePoints/servicePoints.js b/cypress/support/fragments/settings/tenant/servicePoints/servicePoints.js index c58649e378..93c62926cc 100644 --- a/cypress/support/fragments/settings/tenant/servicePoints/servicePoints.js +++ b/cypress/support/fragments/settings/tenant/servicePoints/servicePoints.js @@ -133,6 +133,7 @@ export default { ]); if (newCode) cy.do(TextField({ name: 'code' }).fillIn(newCode)); if (newDisplayName) cy.do(TextField({ name: 'discoveryDisplayName' }).fillIn(newDisplayName)); + cy.wait(3000); cy.do(saveAndCloseButton.click()); },