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:
mattwr18 2020-01-16 19:30:25 +01:00 committed by Robert Schäfer
parent f13eb29ad3
commit 4fdcbc78aa

View File

@ -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) => {