Skip to content

Instantly share code, notes, and snippets.

@flucivja
Created September 23, 2020 17:45
Show Gist options
  • Save flucivja/83ee7968310ce324d25fc0308c857121 to your computer and use it in GitHub Desktop.
Save flucivja/83ee7968310ce324d25fc0308c857121 to your computer and use it in GitHub Desktop.
describe("Some test suite", () => {
it("some test", () => {
cy.open("twitter.com");
cy.get(".new-tweet-btn").click();
cy.get(".input").type("some message");
cy.get(".btn").click();
cy.get(".refresh-btn").click();
cy.get(".tweets").should("contain", "some message")
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment