From acd2e1391f4d5f4cb381f0733d371ca03be3d5e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Tue, 3 Dec 2013 11:27:20 -0500 Subject: [PATCH] Datepicker test: Attempt to work around an issue in IE9 in TestSwarm. --- tests/unit/datepicker/datepicker_options.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/datepicker/datepicker_options.js b/tests/unit/datepicker/datepicker_options.js index b5dd4cac2..feedfba2d 100644 --- a/tests/unit/datepicker/datepicker_options.js +++ b/tests/unit/datepicker/datepicker_options.js @@ -89,7 +89,7 @@ test("change", function() { asyncTest( "invocation", function() { var button, image, - isOldIE = $.ui.ie && ( !document.documentMode || document.documentMode < 9 ), + isOldIE = $.ui.ie && ( !document.documentMode || document.documentMode < 10 ), body = $( "body" ); expect( isOldIE ? 25 : 29 ); @@ -196,7 +196,7 @@ asyncTest( "invocation", function() { image = button.children( "img" ); 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 ) { TestHelpers.datepicker.onFocus( inp, function() { ok( dp.is( ":visible" ), "Both - rendered on focus" ); -- 2.39.5