Skip to content

Instantly share code, notes, and snippets.

@lydemann
Created June 3, 2020 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lydemann/a18b737b7838f03fae02ea66b9dabe53 to your computer and use it in GitHub Desktop.
Save lydemann/a18b737b7838f03fae02ea66b9dabe53 to your computer and use it in GitHub Desktop.
todo.spec.ts
import { TodoPage } from '../support/todo.po';
describe('TodoList', () => {
beforeEach(() => {
cy.setupAppGlobalRoutes();
TodoPage.goToPage();
});
it('should should show todo items', () => {
TodoPage.checkForTodos();
});
it('should create todo item', () => {
TodoPage.createTodoItem();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment