test(client): home view e2e

pull/10/head
sundowndev 2019-10-30 14:37:54 +01:00
parent c73c86e844
commit 75f819c0a3
1 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ describe("Home page", () => {
.click();
cy.contains("Score: 1/1");
cy.contains("Bon bah c'est pas tip top tout ça.");
cy.contains("T'as pas lu les questions avoues.");
cy.contains("Recommencer");
cy.get("#quizz_input").should("not.be.visible"); // Quizz is hidden
@ -84,7 +84,7 @@ describe("Home page", () => {
cy.get(".replay-btn").click();
cy.get("#quizz_input").should("be.visible");
cy.get("#score_screen").should("not.be.visible");
cy.get("#quizz_input").should("be.visible"); // Quizz is visible
cy.get("#score_screen").should("not.be.visible"); // Score screen is hidden
});
});