Skip to content

taohuh/cypress102

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cypress102

Workshop cypress automated testing

1.Aliasing

document: (https://on.cypress.io/as)

  • alias a DOM element
  • alias a route
  • reference alias using @

2.Waiting

document: (https://on.cypress.io/wait)

  • wait a specific amount of time
  • wait a specific route

3.Location

  • cy.hash()
  • cy.url()
  • cy.location()

4.Connectors

  • .each()
  • .its()
  • .invoke()
  • .spread()
  • .then()

5.Cookies

  • cy.setCookie()
  • cy.getCookie()
  • cy.getCookies()
  • cy.clearCookie()
  • cy.clearCookies()

6.Network Request

  • cy.server()
  • cy.request()
  • cy.route()

About

Workshop cypress automated testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published