Skip to content

Commit

Permalink
test: added test for jsobjects with Fork app scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
“NandanAnantharamu” committed Dec 20, 2024
1 parent efc61ae commit 3593a14
Show file tree
Hide file tree
Showing 3 changed files with 32,763 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import {
agHelper,
assertHelper,
homePage,
locators,
} from "../../../../support/Objects/ObjectsCore";
import HomePage from "../../../../locators/HomePage";

describe("Fork application", {}, function () {
it("1. Fork app and verify", () => {
homePage.ImportApp("jsObjectTesting.json");
agHelper.GetNClick(homePage._applicationName);
agHelper.GetNClickByContains;
agHelper.GetNClickByContains(
HomePage.applicationEditMenu,
"Fork application",
);
agHelper.GetNClick(locators._forkAppToWorkspaceBtn);
assertHelper.AssertNetworkStatus("@postForkAppWorkspace", 200);
agHelper.WaitUntilEleDisappear(homePage._forkModal);
homePage.NavigateToHome();
agHelper.AssertElementExist(
`${homePage._applicationCard}:contains('JS object testing upto 1.5 MB (1)')`,
);
});
});
Loading

0 comments on commit 3593a14

Please sign in to comment.