I have a problem with cypress not being able to find a checkbox on the page.
This checkbox is rendered after cypress click on a button, but even if the checkbox is visible on the page cypress gives an error:
CypressError: Timed out retrying: Expected to find element: '.checkbox_0.0', but never found it.
it('add a sibling"', () => {
//click the button:
cy.pause();
cy.get('#ciccia').click({ force: true });
//click the checkbox that has just appeared:
cy.get('.checkbox_0.0').click({ force: true });
});
even if the checkbox_0.0 is present as you can see in the image