-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: added test for jsobjects with Fork app scenario
- Loading branch information
“NandanAnantharamu”
committed
Dec 20, 2024
1 parent
efc61ae
commit 3593a14
Showing
3 changed files
with
32,763 additions
and
2 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
app/client/cypress/e2e/Regression/ClientSide/JSObject/JSObject_ForkApp_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,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)')`, | ||
); | ||
}); | ||
}); |
Oops, something went wrong.