Skip to content

Commit

Permalink
cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
revolunet committed Mar 11, 2024
1 parent 521b196 commit 588cbcf
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions cypress/integration/home.spec.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
describe("Home page", () => {
it("should render the main page", () => {
cy.visit("http://localhost:3000/");
cy.title().should(
"equal",
"Template | Fabrique numérique des ministères sociaux"
);
cy.get("h1").should(
"contain",
"Template de la fabrique des ministères sociaux"
);
cy.title().should("equal", "Template | beta.gouv.fr");
cy.get("h1").should("equal", "Template");
});
});

0 comments on commit 588cbcf

Please sign in to comment.