Skip to content

Instantly share code, notes, and snippets.

@ryanjyost
Created March 19, 2020 01:15
Show Gist options
  • Save ryanjyost/ddb6b568e0a175153319bbb43a3302e7 to your computer and use it in GitHub Desktop.
Save ryanjyost/ddb6b568e0a175153319bbb43a3302e7 to your computer and use it in GitHub Desktop.
Seventh
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