Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

cypress set timeout for locator

cy
  .get('.mobile-nav', { timeout: 10000 }) // 10 seconds
  .should('be.visible')
Source by codelikethis.com #
 
PREVIOUS NEXT
Tagged: #cypress #set #timeout #locator
ADD COMMENT
Topic
Name
8+5 =