log101-dot-dev/cypress/e2e/index.cy.js
log101 5af2dd63c1
All checks were successful
/ Build (push) Successful in 1m2s
test: add cypress test
2024-06-13 16:57:22 +03:00

8 lines
221 B
JavaScript

describe("Home", () =>
it("titles are correct", () => {
const page = cy.visit("http://localhost:4321");
page.get("title").should("have.text", "log101");
page.get("h1").should("have.text", "Log101");
}));