-
Notifications
You must be signed in to change notification settings - Fork 671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add selector hasAttribute method (closes #1045) #1403
Conversation
❌ Tests for the commit b1c65f2 have failed. See details: |
@testcafe-build-bot \retest |
❌ Tests for the commit b1c65f2 have failed. See details: |
@@ -168,6 +168,16 @@ function addSnapshotPropertyShorthands (obj, getSelector, customDOMProperties, c | |||
}); | |||
}; | |||
|
|||
obj.hasAttribute = attrName => { | |||
var callsite = getCallsiteForMethod('getAttribute'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var callsite = getCallsiteForMethod('getAttribute');
-> var callsite = getCallsiteForMethod('hasAttribute');
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch
❌ Tests for the commit 2978d16 have failed. See details: |
❌ Tests for the commit 2978d16 have failed. See details: |
It looks like this never made it into the documentation. |
…#1403) * Add selector hasAttribute method (closes DevExpress#1045) * Fix callsite
\cc @helen-dikareva @AlexanderMoskovkin