aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2011-02-21 22:26:38 +0100
committerjzaefferer <joern.zaefferer@gmail.com>2011-02-21 22:26:38 +0100
commit1c7ab042fa5488fee5fbf1668e7199998a767b91 (patch)
treeb5a7f4ed40624251b601a7d23fa76e007da303e1 /tests/unit/dialog
parenta1ebed70e3f329e81891d1ac87d6b4e687bc0dfb (diff)
downloadjquery-ui-1c7ab042fa5488fee5fbf1668e7199998a767b91.tar.gz
jquery-ui-1c7ab042fa5488fee5fbf1668e7199998a767b91.zip
Disable dialog tests on TestSwarm until we can get some running in IE6
without freezing the browser.
Diffstat (limited to 'tests/unit/dialog')
-rw-r--r--tests/unit/dialog/dialog.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/unit/dialog/dialog.html b/tests/unit/dialog/dialog.html
index de3b54ada..d76bed854 100644
--- a/tests/unit/dialog/dialog.html
+++ b/tests/unit/dialog/dialog.html
@@ -28,6 +28,17 @@
<script type="text/javascript" src="dialog_options.js"></script>
<script type="text/javascript" src="dialog_tickets.js"></script>
+ <script type="text/javascript">
+ // disable this testsuite for testswarm only - until we fix it from freezing IE6
+ var url = window.location.search;
+ url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
+ if ( url && url.indexOf("http") == 0 ) {
+ // reset config to kill previous tests; make sure testsuite.js is loaded afterwards to init the testswarm script
+ QUnit.init();
+ test("dialog", function() { ok(true, "disabled dialog testsuite"); });
+ }
+ </script>
+
<script type="text/javascript" src="../swarminject.js"></script>
</head>
<body>