I am using testcafe version -
I am trying to apply an assertion to see if an element is clickable or not (expect to not be clickable).
I've found the elements class name and a dynamic sibling class which appears to not be clickable in the browser element.
I've attached two snapshots below of the actual UI element and its DOM:
for some unknown reason, the hasclass
function keeps failing because the required class cannot be found.
.expect()buttonEssentialplan30Mb.hasClass('.c-form-plan-box--disabled')).ok()
Aucun commentaire:
Enregistrer un commentaire