From 83b9ec79b656a5fae95227f1f5f9fb5b9832d3d0 Mon Sep 17 00:00:00 2001 From: Tetiana_Paranich Date: Mon, 23 Dec 2024 12:25:05 +0200 Subject: [PATCH] added permission --- .../share-local-instance-button-for-folio-instance_3.cy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/consortia/inventory/instance/share-local-instance-button-for-folio-instance_3.cy.js b/cypress/e2e/consortia/inventory/instance/share-local-instance-button-for-folio-instance_3.cy.js index 265912e612..2e3e63c427 100644 --- a/cypress/e2e/consortia/inventory/instance/share-local-instance-button-for-folio-instance_3.cy.js +++ b/cypress/e2e/consortia/inventory/instance/share-local-instance-button-for-folio-instance_3.cy.js @@ -29,7 +29,7 @@ describe('Inventory', () => { cy.resetTenant(); cy.getAdminToken(); - cy.createTempUser([]).then((userProperties) => { + cy.createTempUser([Permissions.uiInventoryViewCreateInstances.gui]).then((userProperties) => { testData.user = userProperties; cy.assignAffiliationToUser(Affiliations.College, testData.user.userId); cy.setTenant(Affiliations.College);