mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Visit root path before reloading
This commit is contained in:
parent
2516da57c2
commit
a09a767fd1
@ -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", () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user