From 3fdea4e27ef61e2d6a20a9381887ada7d8b5a09c Mon Sep 17 00:00:00 2001 From: ajith-k-v Date: Fri, 21 Nov 2025 00:03:37 +0530 Subject: [PATCH] update failed test cases --- .../commonTestcases/workspace/groups/customGroupUI.cy.js | 2 +- .../cypress/e2e/happyPath/platform/eeTestcases/sso/openId.cy.js | 2 +- .../e2e/happyPath/platform/eeTestcases/sso/saml.okta.cy.js | 1 + cypress-tests/cypress/support/utils/platform/groupsUI.js | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cypress-tests/cypress/e2e/happyPath/platform/commonTestcases/workspace/groups/customGroupUI.cy.js b/cypress-tests/cypress/e2e/happyPath/platform/commonTestcases/workspace/groups/customGroupUI.cy.js index d3175bde32..fed94007b7 100644 --- a/cypress-tests/cypress/e2e/happyPath/platform/commonTestcases/workspace/groups/customGroupUI.cy.js +++ b/cypress-tests/cypress/e2e/happyPath/platform/commonTestcases/workspace/groups/customGroupUI.cy.js @@ -115,7 +115,7 @@ describe("Custom groups UI and Functionality verification", () => { cy.get(groupsSelector.groupLink("builder")).click(); cy.get(groupsSelector.groupLink(groupName)).click(); cy.get(groupsSelector.granularLink).click(); - cy.wait(500); + cy.wait(2000); cy.get(groupsSelector.granularAccessPermission).realHover(); cy.get('[data-cy="edit-apps-granular-access"]').click(); diff --git a/cypress-tests/cypress/e2e/happyPath/platform/eeTestcases/sso/openId.cy.js b/cypress-tests/cypress/e2e/happyPath/platform/eeTestcases/sso/openId.cy.js index 09dab9c0ef..712082b97c 100644 --- a/cypress-tests/cypress/e2e/happyPath/platform/eeTestcases/sso/openId.cy.js +++ b/cypress-tests/cypress/e2e/happyPath/platform/eeTestcases/sso/openId.cy.js @@ -180,7 +180,7 @@ describe("Verify OIDC user onboarding", () => { cy.wait(3000); cy.get(commonSelectors.workspaceName).verifyVisibleElement( "have.text", - data.workspaceName + 'My workspace' ); common.logout(); diff --git a/cypress-tests/cypress/e2e/happyPath/platform/eeTestcases/sso/saml.okta.cy.js b/cypress-tests/cypress/e2e/happyPath/platform/eeTestcases/sso/saml.okta.cy.js index e5a22cd8d0..518a6737da 100644 --- a/cypress-tests/cypress/e2e/happyPath/platform/eeTestcases/sso/saml.okta.cy.js +++ b/cypress-tests/cypress/e2e/happyPath/platform/eeTestcases/sso/saml.okta.cy.js @@ -78,6 +78,7 @@ describe("SAML SSO", () => { cleanAllUsers(); cy.apiDeleteAllApps(); }); + afterEach("", () => { cy.apiLogin(); deleteOrganisationSSO(data.workspaceName, ["saml"]); diff --git a/cypress-tests/cypress/support/utils/platform/groupsUI.js b/cypress-tests/cypress/support/utils/platform/groupsUI.js index eb796207e8..1a0b4b1ae2 100644 --- a/cypress-tests/cypress/support/utils/platform/groupsUI.js +++ b/cypress-tests/cypress/support/utils/platform/groupsUI.js @@ -103,7 +103,7 @@ export const verifyGranularEditModal = (role) => { cy.verifyElement(groupsSelector.cancelButton, groupsText.cancelButton); cy.get(groupsSelector.cancelButton).click(); - cy.wait(1000) + cy.wait(2000) cy.get(groupsSelector.granularAccessPermission).realHover(); cy.get('[data-cy="edit-apps-granular-access"]').click();