From 6a06e22813c21871a65119e3defc3c8d673c0726 Mon Sep 17 00:00:00 2001 From: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Date: Wed, 31 Jul 2024 15:27:41 +0530 Subject: [PATCH 1/2] removed a fodler which was added by mistake --- .../ClientSide/Git/GitSync/SwitchBranches_spec.js | 15 ++++++--------- app/client/cypress/limited-tests.txt | 2 +- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/app/client/cypress/e2e/Regression/ClientSide/Git/GitSync/SwitchBranches_spec.js b/app/client/cypress/e2e/Regression/ClientSide/Git/GitSync/SwitchBranches_spec.js index 5218cc6b633..93f24e1e272 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/Git/GitSync/SwitchBranches_spec.js +++ b/app/client/cypress/e2e/Regression/ClientSide/Git/GitSync/SwitchBranches_spec.js @@ -40,22 +40,20 @@ describe("Git sync:", { tags: ["@tag.Git"] }, function () { cy.get(gitSyncLocators.branchSearchInput).type( `{selectall}${hypenBranchName}`, ); - cy.get(gitSyncLocators.branchSearchInput).should( - "have.value", + agHelper.AssertAttribute( + gitSyncLocators.branchSearchInput, + "value", "hypen-branch-name", ); - const specialBranchName = "special&branch-name~@#$%^&*()_+={}[]><,."; cy.get(gitSyncLocators.branchSearchInput).type( `{selectall}${specialBranchName}`, ); - - cy.get(gitSyncLocators.branchSearchInput).should( - "have.value", + agHelper.AssertAttribute( + gitSyncLocators.branchSearchInput, + "value", "special_branch-name_____________________", ); - - cy.wait(200); cy.get(gitSyncLocators.closeBranchList).click(); }); @@ -207,7 +205,6 @@ describe("Git sync:", { tags: ["@tag.Git"] }, function () { cy.get(gitSyncLocators.branchListItem) .contains(remoteTempBranchRenamedRegex) .should("exist"); - cy.get(gitSyncLocators.closeBranchList).click(); cy.switchGitBranch(`origin/${tempBranchRenamed}`); cy.switchGitBranch(`origin/${tempBranchRenamed}`, true); diff --git a/app/client/cypress/limited-tests.txt b/app/client/cypress/limited-tests.txt index 31c0c0253fe..b65ad4a0b1a 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/Git/GitSync/SwitchBranches_spec.js # For running all specs - uncomment below: #cypress/e2e/**/**/* From 41db4eb0488c0cec98f06b0b7a7377a93c46b433 Mon Sep 17 00:00:00 2001 From: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Date: Wed, 31 Jul 2024 17:39:38 +0530 Subject: [PATCH 2/2] reverting the limited run file --- app/client/cypress/limited-tests.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/cypress/limited-tests.txt b/app/client/cypress/limited-tests.txt index b65ad4a0b1a..31c0c0253fe 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/Git/GitSync/SwitchBranches_spec.js +cypress/e2e/Regression/ClientSide/Templates/Fork_Template_spec.js # For running all specs - uncomment below: #cypress/e2e/**/**/*