Skip to content

Latest commit

 

History

History
 
 

server-communication__visit-2nd-domain

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

visit-2nd-domain

Visiting two different domains from two different tests

Screenshot

The first test visits the first domain https://www.cypress.io/, finds link to Cypress Test Runner's GitHub repo and saves the href in the plugins process by using cy.task.

The second test gets the URL from the plugins process using cy.task and calls cy.visit(<URL>) and then confirms the GitHub page opens.