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

fix Onclick handler probably doesn't work after click on 'Submit' button in form (close #1291) #1294

Merged
merged 2 commits into from
Sep 6, 2017

Conversation

LavrovArtem
Copy link
Contributor

@testcafe-build-bot
Copy link
Collaborator

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

@LavrovArtem
Copy link
Contributor Author

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

✅ Tests for the commit b0ddb62 have passed. See details:

@LavrovArtem
Copy link
Contributor Author

FPR

@@ -606,3 +606,27 @@ test('document.activeElement when it equals null (GH-1226)', function () {

div.parentNode.removeChild(div);
});

if (!browserUtils.isIE) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you exclude IE?

test('form.action should return element when the form contains element with the "action" attribute name (GH-1291)', function () {
var form = document.createElement('form');
var input = document.createElement('input');

Copy link
Contributor

Choose a reason for hiding this comment

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

Use native element behaviour to get expected values.

var nativeForm = nativeMethods.createElement....
var nativeInput = nativeMethods.createElement...

@testcafe-build-bot
Copy link
Collaborator

✅ Tests for the commit e726881 have passed. See details:

@LavrovArtem
Copy link
Contributor Author

FPR

@helen-dikareva helen-dikareva merged commit 6d3dab2 into DevExpress:master Sep 6, 2017
@LavrovArtem LavrovArtem deleted the i1291 branch September 6, 2017 10:31
AndreyBelym pushed a commit to AndreyBelym/testcafe-hammerhead that referenced this pull request Feb 28, 2019
…tton in form` (close DevExpress#1291) (DevExpress#1294)

* fix `Onclick handler probably doesn't work after click on 'Submit' button in form` (close DevExpress#1291)

* test refactoring
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.

4 participants