mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Datepicker test: Attempt to work around an issue in IE9 in TestSwarm.
This commit is contained in:
parent
4992fc902e
commit
acd2e1391f
@ -89,7 +89,7 @@ test("change", function() {
|
|||||||
|
|
||||||
asyncTest( "invocation", function() {
|
asyncTest( "invocation", function() {
|
||||||
var button, image,
|
var button, image,
|
||||||
isOldIE = $.ui.ie && ( !document.documentMode || document.documentMode < 9 ),
|
isOldIE = $.ui.ie && ( !document.documentMode || document.documentMode < 10 ),
|
||||||
body = $( "body" );
|
body = $( "body" );
|
||||||
|
|
||||||
expect( isOldIE ? 25 : 29 );
|
expect( isOldIE ? 25 : 29 );
|
||||||
@ -196,7 +196,7 @@ asyncTest( "invocation", function() {
|
|||||||
image = button.children( "img" );
|
image = button.children( "img" );
|
||||||
ok( image.length === 1, "Both - button image present" );
|
ok( image.length === 1, "Both - button image present" );
|
||||||
|
|
||||||
// TODO: occasionally this test flakily fails to focus in IE8 in browserstack
|
// TODO: This test occasionally fails to focus in IE in TestSwarm
|
||||||
if ( !isOldIE ) {
|
if ( !isOldIE ) {
|
||||||
TestHelpers.datepicker.onFocus( inp, function() {
|
TestHelpers.datepicker.onFocus( inp, function() {
|
||||||
ok( dp.is( ":visible" ), "Both - rendered on focus" );
|
ok( dp.is( ":visible" ), "Both - rendered on focus" );
|
||||||
|
Loading…
Reference in New Issue
Block a user