Skip to content

Instantly share code, notes, and snippets.

@ryanjyost
Last active March 19, 2020 01:14
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 ryanjyost/736e1505179b82053c9010245023fa61 to your computer and use it in GitHub Desktop.
Save ryanjyost/736e1505179b82053c9010245023fa61 to your computer and use it in GitHub Desktop.
fifth
it("has a link pointing to the react website", function() {
cy.server();
cy.route("/200?**").as("fakeNetworkRequest");
cy.visit("http://localhost:3000");
cy.wait("@fakeNetworkRequest");
cy.verifyLink("Learn React", "https://reactjs.org");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment