Skip to content

Instantly share code, notes, and snippets.

@slawekradzyminski
Created February 27, 2023 21:35
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 slawekradzyminski/7a0677d2d9ad7037f604e401e3ea3f78 to your computer and use it in GitHub Desktop.
Save slawekradzyminski/7a0677d2d9ad7037f604e401e3ea3f78 to your computer and use it in GitHub Desktop.
/// <reference types="cypress" />
describe('Awesome tests', () => {
beforeEach(() => {
cy.visit('https://awesome-testing.com/')
})
it('should find Cypress posts', () => {
cy.get('.gsc-input input').type('Cypress')
cy.get('.gsc-search-button input').click()
cy.get('.post-title').should('have.length.above', 1)
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment