cy: no more naviagte
This commit is contained in:
cypress
integration
create-channel.spec.jscreate-job-offer.spec.jscreate-project.spec.jscreate-user.spec.jsdelete-channel.spec.jsedit-channel.spec.jsedit-job-offer.spec.jsedit-project.spec.jsedit-user.spec.jsleave-channel.spec.jsleave-project.spec.jslist-job-offers.spec.jslist-users.spec.jsretire-channel.spec.jsretire-project.spec.js
support
@ -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