cy: no more naviagte
This commit is contained in:
@ -43,13 +43,6 @@ Cypress.Commands.add('login', () => {
|
||||
});
|
||||
});
|
||||
|
||||
Cypress.Commands.add('naviagte', route => {
|
||||
cy.visit(route);
|
||||
cy.location().should((loc) => {
|
||||
expect(loc.pathname).to.eq(route);
|
||||
});
|
||||
});
|
||||
|
||||
Cypress.Commands.add('userLogin', () => {
|
||||
cy.visit('/');
|
||||
cy.location().should((loc) => {
|
||||
|
Reference in New Issue
Block a user