Skip to content

Commit

Permalink
Merge branch 'eureka-test-rbugfest' of https://github.com/folio-org/s…
Browse files Browse the repository at this point in the history
…tripes-testing into FAT-17760
  • Loading branch information
TetianaParanich committed Dec 21, 2024
2 parents 5eb16f3 + a88373b commit b59b22a
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,18 @@ describe('Inventory', () => {
cy.assignPermissionsToExistingUser(user.userId, [
Permissions.uiInventoryViewCreateEditInstances.gui,
]);

cy.login(user.username, user.password, {
path: TopMenu.inventoryPath,
waiter: InventoryInstances.waitContentLoading,
});
ConsortiumManager.checkCurrentTenantInTopMenu(tenantNames.central);
ConsortiumManager.switchActiveAffiliation(tenantNames.central, tenantNames.college);
});
});

beforeEach('Login', () => {
cy.login(user.username, user.password, {
path: TopMenu.inventoryPath,
waiter: InventoryInstances.waitContentLoading,
});
ConsortiumManager.checkCurrentTenantInTopMenu(tenantNames.central);
ConsortiumManager.switchActiveAffiliation(tenantNames.central, tenantNames.college);
});

after('Delete test data', () => {
cy.resetTenant();
cy.getAdminToken();
Expand Down

0 comments on commit b59b22a

Please sign in to comment.