DEV Community

Discussion on: E2E Testing with Cypress - 04 - Cucumber / Gherkin Integration

Collapse
 
phillipebojorquez profile image
Phillipe Bojorquez

To get around navigating to another page based on a clicked link, use:

cy.get(selectors.productNameTitle)
.invoke('attr', 'href')
.then((href) => cy.visit(href));

Cypress has said they will never support multi-tab testing but do have some workarounds listed here: github.com/cypress-io/cypress-exam...