Visit root path before reloading

This commit is contained in:
mattwr18 2020-02-21 18:58:16 +01:00
parent 2516da57c2
commit a09a767fd1

View File

@ -167,7 +167,8 @@ When("I fill in my email and password combination and click submit", () => {
});
When(/(?:when )?I refresh the page/, () => {
cy.reload();
cy.visit('/')
.reload();
});
When("I log out through the menu in the top right corner", () => {