-
Notifications
You must be signed in to change notification settings - Fork 165
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
Selection setting fixed #1565
Selection setting fixed #1565
Conversation
@@ -7,6 +7,8 @@ var isIE = browserUtils.isIE; | |||
var isMobileBrowser = browserUtils.isIOS || browserUtils.isAndroid; | |||
var browserVersion = browserUtils.version; | |||
|
|||
var IE_FOCUS_TIMEOUT = 100; |
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 IE11_FOCUS_TIMEOUT = 100;
@@ -80,3 +82,89 @@ test('Focus should stay on input with "number" type after setting selection', fu | |||
strictEqual(document.activeElement, input); | |||
document.body.removeChild(input); | |||
}); | |||
|
|||
asyncTest('Focus should not be called during setting selection if conteneditable element has been already focused (TestCafe GH - 2301)', function () { | |||
var isOldIE = browserUtils.isIE && browserUtils.version < 12; |
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.
Remove the isOldIE
variable and use the browserUtils.isIE11
instruction.
❌ Tests for the commit b2515cf have failed. See details: |
b2515cf
to
73ee44a
Compare
❌ Tests for the commit 73ee44a have failed. See details: |
✅ Tests for the commit 4a8ec08 have passed. See details: |
* fix * test added * test fixed
This fix for TestCafe bug