Skip to content

Commit c58703e

Browse files
committed
cypress
1 parent 89f3e92 commit c58703e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cypress.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2-
"baseUrl": "http://localhost:3000"
2+
"baseUrl": "http://localhost:3000",
3+
"defaultCommandTimeout": 10000,
4+
"requestTimeout": 10000
35
}

cypress/integration/home.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ describe("Home page", () => {
22
it("should render the main page", () => {
33
cy.visit("http://localhost:3000/");
44
cy.title().should("equal", "Template | beta.gouv.fr");
5-
cy.get("h1").should("equal", "Template");
5+
cy.get("h1").should("contain", "Template");
66
});
77
});

0 commit comments

Comments
 (0)