Skip to content
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

Merged
merged 2 commits into from
Apr 14, 2017

Conversation

inikulin
Copy link
Contributor

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit b1c65f2 have failed. See details:

@AlexanderMoskovkin
Copy link
Contributor

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

❌ 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');
Copy link
Collaborator

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');

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 2978d16 have failed. See details:

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 2978d16 have failed. See details:

@inikulin inikulin merged commit fc1e5fb into DevExpress:master Apr 14, 2017
@inikulin inikulin deleted the gh1045 branch April 14, 2017 12:28
@noderat
Copy link

noderat commented Jul 28, 2017

It looks like this never made it into the documentation.

@helen-dikareva
Copy link
Collaborator

@noderat you can find it here in Method section

kirovboris pushed a commit to kirovboris/testcafe-phoenix that referenced this pull request Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants