From 635002e5b558a61f7ec3a88a24e73ea0a8047e62 Mon Sep 17 00:00:00 2001 From: Sagar Khalasi Date: Tue, 1 Oct 2024 13:26:52 +0530 Subject: [PATCH] Fix shareapp case --- .../e2e/Regression/ClientSide/Workspace/ShareAppTests_Spec.ts | 2 ++ app/client/cypress/limited-tests.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/client/cypress/e2e/Regression/ClientSide/Workspace/ShareAppTests_Spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Workspace/ShareAppTests_Spec.ts index 54ea1884ee1..20aa1d244d3 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/Workspace/ShareAppTests_Spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/Workspace/ShareAppTests_Spec.ts @@ -9,6 +9,7 @@ import { } from "../../../../support/Objects/ObjectsCore"; import { REPO, CURRENT_REPO } from "../../../../fixtures/REPO"; +import gitSyncLocators from "../../../../locators/gitSyncLocators"; const appNavigationLocators = require("../../../../locators/AppNavigation.json"); describe( @@ -113,6 +114,7 @@ describe( agHelper.AssertElementExist(homePage._appEditIcon); agHelper.GetNClick(homePage._appEditIcon, 0, true); agHelper.AssertElementAbsence(locators._loading); + agHelper.AssertElementVisibility(gitSyncLocators.connectGitBottomBar); agHelper.GetNClick(inviteModal.locators._shareButton, 0, true); agHelper.GetNClick(homePage._sharePublicToggle, 0, true); agHelper.GetNClick(locators._dialogCloseButton, 0, true); diff --git a/app/client/cypress/limited-tests.txt b/app/client/cypress/limited-tests.txt index 31c0c0253fe..cf81be5e001 100644 --- a/app/client/cypress/limited-tests.txt +++ b/app/client/cypress/limited-tests.txt @@ -1,5 +1,5 @@ # To run only limited tests - give the spec names in below format: -cypress/e2e/Regression/ClientSide/Templates/Fork_Template_spec.js +cypress/e2e/Regression/ClientSide/Workspace/ShareAppTests_Spec.ts # For running all specs - uncomment below: #cypress/e2e/**/**/*