I have the element something like this and i am writing the code something like this to click
Then('I click on the Help Icon > {string}', (option) => {
cy.get('.icon-help').click({ force: true })
cy.get('ul a')
.contains(option)
.click({ force: true })
});
as i need to click first and assert that the page is opening in the next step but the page is opening in a new tab and to remove attribute or _target there is no target attribute.Its completely opening in new tab so how i can assert that the page opening in new tab?