Skip to content

Instantly share code, notes, and snippets.

@rainerhahnekamp
Created August 3, 2021 08:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rainerhahnekamp/6e58d87ae22b5d41ebbf29eb7a7ca3bf to your computer and use it in GitHub Desktop.
Save rainerhahnekamp/6e58d87ae22b5d41ebbf29eb7a7ca3bf to your computer and use it in GitHub Desktop.
describe("Home", () => {
it("should click the button", () => {
cy.visit("");
cy.get("button").click();
cy.get("div.message").should("contain.text", "You clicked me");
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment