-
Notifications
You must be signed in to change notification settings - Fork 161
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
Conversation
…tton in form` (close DevExpress#1291)
❌ Tests for the commit b0ddb62 have failed. See details: |
@testcafe-build-bot \retest |
✅ Tests for the commit b0ddb62 have passed. See details: |
FPR |
@@ -606,3 +606,27 @@ test('document.activeElement when it equals null (GH-1226)', function () { | |||
|
|||
div.parentNode.removeChild(div); | |||
}); | |||
|
|||
if (!browserUtils.isIE) { |
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.
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'); | ||
|
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.
Use native element behaviour to get expected values.
var nativeForm = nativeMethods.createElement....
var nativeInput = nativeMethods.createElement...
✅ Tests for the commit e726881 have passed. See details: |
FPR |
…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
/cc @miherlosev @helen-dikareva