Chai .should('be.enabled') doesn't seem to work in all cases. #26704
aagranovExtend
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a
<button aria-disabled="false".../>
that assertion.should('be.enabled')
fails. If I change to use chai-JQuery.should('have.attr', 'aria-disabled', 'false'
) that passes. It seems that the presence of thearia-disabled
doesn't allow the normal Chai assertion to work.Anyone else encounter this?
Beta Was this translation helpful? Give feedback.
All reactions