Skip to content

Commit

Permalink
fix(e2e): correction des tests e2e (#5813)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-maillot committed Apr 23, 2024
1 parent 56c357e commit 2060384
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ describe("Landing pages", () => {

it("je vois une page fiche service public", () => {
cy.visit("/fiche-service-public/conges-payes");
cy.get("h1").should("have.text", "Congés payés");
cy.get("h1").should("contain", "Congés payés");
cy.get("body").should("contain", "Source: Fiche service-public.fr");
cy.get("h2").first().should("contain", "Qui a droit aux congés payés");
cy.get("h2").first().should("contain", "Quel salarié a droit aux congés payés");
});

it("je vois une page convention collective", () => {
Expand Down

0 comments on commit 2060384

Please sign in to comment.