-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release' of github.com:appsmithorg/appsmith into chore/…
…external-contribution-35363
- Loading branch information
Showing
259 changed files
with
3,499 additions
and
2,668 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
app/client/cypress/e2e/Regression/ClientSide/Git/GitPersistBranch_spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import { featureFlagIntercept } from "../../../../support/Objects/FeatureFlags"; | ||
import { | ||
agHelper, | ||
gitSync, | ||
homePage, | ||
} from "../../../../support/Objects/ObjectsCore"; | ||
|
||
let wsName: string; | ||
let appName: string; | ||
let repoName: string; | ||
|
||
describe( | ||
"Git Persist Branch", | ||
{ | ||
tags: ["@tag.Git", "@tag.GitPersistBranch"], | ||
}, | ||
function () { | ||
before(() => { | ||
agHelper.GenerateUUID(); | ||
cy.get("@guid").then((uid) => { | ||
wsName = "GitPB-" + uid; | ||
appName = "GitPB1-" + uid; | ||
homePage.CreateNewWorkspace(wsName, true); | ||
homePage.CreateAppInWorkspace(wsName, appName); | ||
gitSync.CreateNConnectToGit("test-git-perssit-branch", true, true); | ||
cy.get("@gitRepoName").then((resRepoName) => { | ||
repoName = resRepoName.toString(); | ||
homePage.NavigateToHome(); | ||
}); | ||
}); | ||
}); | ||
it("Check if branch persist after changing branch and exiting the app", function () { | ||
featureFlagIntercept({ release_git_persist_branch_enabled: true }, true); | ||
homePage.EditAppFromAppHover(appName); | ||
gitSync.CreateGitBranch("b1", false); | ||
cy.get("@gitbranchName").then((resBranchName) => { | ||
const branchName = resBranchName.toString(); | ||
homePage.NavigateToHome(); | ||
homePage.EditAppFromAppHover(appName); | ||
gitSync.AssertBranchName(branchName); | ||
gitSync.AssertBranchNameInUrl(branchName); | ||
}); | ||
}); | ||
}, | ||
); |
1 change: 0 additions & 1 deletion
1
app/client/cypress/e2e/Regression/ClientSide/Git/GitSync/GitConnectV2_spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.