Skip to content

Instantly share code, notes, and snippets.

@trivial-search
Created February 5, 2018 07:40
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 trivial-search/7eb25944f78b59a2b46ae3ee43d8f91b to your computer and use it in GitHub Desktop.
Save trivial-search/7eb25944f78b59a2b46ae3ee43d8f91b to your computer and use it in GitHub Desktop.
describe('First_Cypress_Test',function() {
it("Verifies that the correct title of the Amazon.com's sign in page is displayed",function() {
cy.visit('https://amazon.com')
cy.get("#nav-link-accountList > span.nav-line-2").click()
cy.title().should('eq','Amazon Sign In1')
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment