Powered by
checkboxes sometimes not get checked or unchecked
# i-need-help
b
brash-tiger-52405
02/28/2023, 10:35 AM
In various of test, i test checkboxes whether they are checkable or uncheckable. Sometimes the test fails, because the checkbox is not checked after checking or otherwise.
brash-tiger-52405
02/28/2023, 10:36 AM
cy.get([checkbox]).check(); cy.get([checkbox]).should(be.checked);
brash-tiger-52405
02/28/2023, 10:40 AM
cy.get([checkbox]).uncheck(); cy.get([checkbox]).should(not.be.checked);
r
rapid-dream-42150
02/28/2023, 8:36 PM
Hi there, you can try with check({ force: true }) or try to scrollTo
2
Views
Previous
Next