Commit 77489767 authored by Ben Hayward's avatar Ben Hayward

Updated login command to wait

1 merge request!655WIP: [Sprint/RollingRabbit](fix): E2E Pipeline Adjustments
Pipeline #95771777 failed with stages
in 5 minutes and 18 seconds
......@@ -77,7 +77,9 @@ Cypress.Commands.add('login', (canary = false, username, password) => {
username = username ? username : Cypress.env().username;
password = password ? password : Cypress.env().password;
cy.visit('/login');
cy.visit('/login')
.location('pathname')
.should('eq', '/newsfeed/subscriptions');
cy.server();
cy.route("POST", "/api/v1/authenticate").as("postLogin");
......
Please register or to comment