diff --git a/app/client/cypress/e2e/Regression/ClientSide/AdminSettings/Admin_settings_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/AdminSettings/Admin_settings_spec.ts index ce16b7bf43c..4a0cde5e7e8 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/AdminSettings/Admin_settings_spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/AdminSettings/Admin_settings_spec.ts @@ -2,6 +2,7 @@ import adminsSettings from "../../../../locators/AdminsSettings"; import { agHelper, adminSettings as adminSettingsHelper, + homePage, } from "../../../../support/Objects/ObjectsCore"; const { @@ -210,7 +211,9 @@ describe("Admin settings page", { tags: ["@tag.Settings"] }, function () { "11. Verify all admin setting sections are accessible", { tags: ["@tag.excludeForAirgap"] }, () => { - cy.visit("/applications", { timeout: 60000 }); + homePage.LogOutviaAPI(); + cy.LoginFromAPI(Cypress.env("USERNAME"), Cypress.env("PASSWORD")); + agHelper.VisitNAssert("/applications", "getAllWorkspaces"); agHelper.GetNClick(adminSettingsHelper._adminSettingsBtn); cy.wait("@getEnvVariables"); agHelper.GetNClick(adminsSettings.generalTab);