Closed lusloher closed 3 years ago
I couldn't find Cypress's recommendation regarding to 'avoid using {force: true}
'. At this page, it says "You can pass { force: true } to most action commands."
This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 4 days
This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 4 days
This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 4 days
Cypress: Avoid detached Element without using { force: true }
In our cypress test for flowView, the settings button gets detached from the DOM:
![image](
)
In order to fix it, we use
cy.dataName("settingsButton").click({ force: true })
Cypress though suggests avoiding using { force: true }.
We should find out what causes this and fix it accordingly.
┆Issue is synchronized with this Asana task by Unito