adorable-smartphone-87280
04/26/2022, 2:47 PMcold-terabyte-52337
04/27/2022, 3:01 AMit('button click navigates to domain2', () => {
// domain 1
cy.findByRole('button', { name: 'example' }).click();
cy.origin('https://domain2.com', () => {
cy.get('#example').should('be.visible')
})
})
some-salesclerk-23018
04/27/2022, 5:20 AM