From 271d0ef552350905920ed1068778b4890fc29a99 Mon Sep 17 00:00:00 2001 From: Nicolas Borde Date: Thu, 11 Jul 2024 17:00:43 +0200 Subject: [PATCH] test: fix scenario sharing e2e tests --- cypress/e2e/brewery/ScenarioSharing.cy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/brewery/ScenarioSharing.cy.js b/cypress/e2e/brewery/ScenarioSharing.cy.js index d5b055497..761826ba1 100644 --- a/cypress/e2e/brewery/ScenarioSharing.cy.js +++ b/cypress/e2e/brewery/ScenarioSharing.cy.js @@ -51,7 +51,7 @@ describe('Check workspace permissions for admin', () => { ScenarioManager.switchToScenarioManager(); ScenarioManager.getScenarioAccordion(PRIVATE_SCENARIOS_LIST[0].id); ScenarioManager.getDeleteScenarioButton().should('be.visible').should('not.be.disabled'); - ScenarioManager.getScenarioEditableLink(PRIVATE_SCENARIOS_LIST[0].id).should('not.exist'); + ScenarioManager.getScenarioEditableLink(PRIVATE_SCENARIOS_LIST[0].id).should('exist'); ScenarioManager.getRenameScenarioButton(PRIVATE_SCENARIOS_LIST[0].id).should('exist').click(); ScenarioManager.getScenarioEditableLinkInEditMode(PRIVATE_SCENARIOS_LIST[0].id).should('exist'); });