refactor(Cypress-Gherkin): Added a test expect to check that we are correctly connect after login.

This commit is contained in:
Simon Priet 2021-09-08 12:36:30 +02:00
parent ed9a550d5e
commit e4179787de

View File

@ -211,7 +211,9 @@ describe("Send a document", () => {
cy.get('#validateButton').click();
});
cy.visit("/request");
cy.get("#account-menu div[title]").should((elm) => {
expect(elm).to.contain("candidature-qa@example.org")
});
});
When("I send the mail", () => {