Skip to content

Commit beea86d

Browse files
Merge pull request ToolJet#9348 from ToolJet/main
Merge main to develop
2 parents 50ee97e + 1d1cc7b commit beea86d

File tree

5 files changed

+13
-15
lines changed

5 files changed

+13
-15
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.34.2
1+
2.35.0

cypress-tests/cypress/e2e/happyPath/platform/ceTestcases/app-version/version.cy.js

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,16 @@ describe("App Version Functionality", () => {
3737
let currentVersion = "";
3838
let newVersion = [];
3939
let versionFrom = "";
40-
before(() => {
41-
cy.apiLogin();
42-
cy.apiCreateApp(data.appName);
43-
cy.logoutApi();
44-
});
40+
4541
beforeEach(() => {
46-
cy.apiLogin();
47-
cy.visit('/my-workspace')
42+
cy.defaultWorkspaceLogin();
43+
cy.skipWalkthrough();
4844
})
4945

5046
it("Verify the elements of the version module", () => {
51-
navigateToAppEditor(data.appName);
47+
data.appName = `${fake.companyName}-App`;
48+
cy.apiCreateApp(data.appName);
49+
cy.openApp()
5250
cy.get(appVersionSelectors.appVersionLabel).should("be.visible");
5351
cy.get(commonSelectors.appNameInput).verifyVisibleElement(
5452
"have.value",
@@ -68,9 +66,10 @@ describe("App Version Functionality", () => {
6866
});
6967

7068
it("Verify all functionality for the app version", () => {
71-
navigateToAppEditor(data.appName);
69+
data.appName = `${fake.companyName}-App`;
70+
cy.apiCreateApp(data.appName);
71+
cy.openApp()
7272
cy.get('[data-cy="widget-list-box-table"]').should("be.visible");
73-
cy.skipEditorPopover();
7473

7574
cy.dragAndDropWidget("Toggle Switch", 50, 50);
7675
verifyComponent("toggleswitch1");

cypress-tests/cypress/e2e/happyPath/platform/commonTestcases/workspace/userPermissions.cy.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,7 @@ describe("User permissions", () => {
206206
it("Should verify Create/Update/Delete workspace variable permission", () => {
207207
common.navigateToWorkspaceVariable();
208208
cy.get('[data-cy="alert-info-text"]>>.text-muted').verifyVisibleElement(
209-
"have.text",
210-
"Workspace variables will no longer be supported after April 30, 2024. To maintain optimal performance, please make the switch to Workspace constants"
209+
"have.text", "Can't add or edit workspace variables as we are deprecating them soon. Please use Workspace constant instead."
211210
);
212211
cy.get(
213212
'[data-cy="go-to-workspace-constants-option-button"]'

frontend/.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.34.2
1+
2.35.0

server/.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.34.2
1+
2.35.0

0 commit comments

Comments
 (0)