Can you please refer me to those workarounds, especially for multiple
tabs. I have tried to use stubs, but was not successful. This is the
code I have const editWindowUrl = cy.window().then((win) => {
const stub = cy.stub(win, "open").as("windowOpen"); });
cy.contains("Edit").click(); cy.get("@windowOpen").should("be.called");
cy.window().then((win) => { win.location.href = editWindowUrl; });
Thanks in advance.