Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- describe("PageFeatureDescription", function() {
- before(function() {
- // Login to user through API
- login("someUsername", "somePassword");
- // Possible one time setup or teardown through the API
- });
- beforeEach(function() {
- // More teardownThroughAPI();
- // OR setupThroughAPI();
- SomePage.open();
- });
- it("should do something on the page", function() {
- // Testing with the page object
- // Do stuff on the page and assert on it
- // i.e. SomePage.elem.waitForVisible();
- // SomePage.interactWithElem();
- });
- // More tests
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement