From 2365d03cef512bc7651b3a4796236400112cd2c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Thu, 2 Sep 2010 08:41:28 -0400 Subject: [PATCH] Dialog: Fixed a broken maxHeight test. The size tests are fragile because they require the browser window to be large enough to contain the dialog. --- tests/unit/dialog/dialog_options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/dialog/dialog_options.js b/tests/unit/dialog/dialog_options.js index 2d0cbe907..277b8f39f 100644 --- a/tests/unit/dialog/dialog_options.js +++ b/tests/unit/dialog/dialog_options.js @@ -199,7 +199,7 @@ test("maxHeight", function() { el.remove(); el = $('
').dialog({ maxHeight: 400 }).dialog('option', 'maxHeight', 600); - drag('.ui-resizable-n', -1000, -1000); + drag('.ui-resizable-s', 1000, 1000); equals(heightAfter, 600, "maxHeight"); el.remove(); }); -- 2.39.5