mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fix: cypress breaks locally in login step (#2776)
- We do not need to simulate a user closing the toaster, as this is not that common of a user interaction, fails intermittently locally, and costs unnecessary build time
This commit is contained in:
parent
f13eb29ad3
commit
4fdcbc78aa
@ -60,7 +60,6 @@ Cypress.Commands.add("login", ({ email, password }) => {
|
||||
.as("submitButton")
|
||||
.click();
|
||||
cy.get(".iziToast-message").should("contain", "You are logged in!");
|
||||
cy.get(".iziToast-close").click();
|
||||
});
|
||||
|
||||
Cypress.Commands.add("logout", (email, password) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user