Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. describe("PageFeatureDescription", function() {
  2. before(function() {
  3. // Login to user through API
  4. login("someUsername", "somePassword");
  5. // Possible one time setup or teardown through the API
  6. });
  7.  
  8. beforeEach(function() {
  9. // More teardownThroughAPI();
  10. // OR setupThroughAPI();
  11. SomePage.open();
  12. });
  13.  
  14. it("should do something on the page", function() {
  15. // Testing with the page object
  16. // Do stuff on the page and assert on it
  17. // i.e. SomePage.elem.waitForVisible();
  18. // SomePage.interactWithElem();
  19. });
  20.  
  21. // More tests
  22. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement