Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- it('log in', function () {
- cy.visit('/login')
- cy.get('input[name=username]').type(username);
- cy.get('input[name=password]').type(password);
- cy.contains('Login').click();
- cy.url().should('include', '/dashboard');
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement