From 661f111abb344bfee1f1b9520de32ab5f6447409 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Mon, 26 May 2008 20:29:22 +0000 Subject: [PATCH] auto tests - now runs multiple tests with status --- ui/tests/autodrag.html | 99 +++++++++++++++++++++++++++------------- ui/tests/ui.testmouse.js | 21 +++++---- 2 files changed, 78 insertions(+), 42 deletions(-) diff --git a/ui/tests/autodrag.html b/ui/tests/autodrag.html index 2f8f2b2b9..bb005b518 100644 --- a/ui/tests/autodrag.html +++ b/ui/tests/autodrag.html @@ -12,7 +12,13 @@ html, body { height: 100%; } #main { height: 100%; } -.drag { position: relative; margin: 10px; padding: 10px; border: 3px solid black; cursor: move; width: 200px; height: 40px; background: #eef; } + +#foo { position: relative; margin: 10px; padding: 10px; border: 3px solid gray; cursor: move; width: 200px; height: 100px; background: #eef; text-align: center; } +.ui-draggable .msg-missing-class { display: none !important; background: red; color: white; font-weight: bold; } +.ui-draggable .msg-enabled { display: block; } +.ui-draggable .msg-disabled { display: none; } +.ui-draggable-disabled .msg-enabled { display: none !important; } +.ui-draggable-disabled .msg-disabled { display: block !important; } @@ -24,46 +30,77 @@ html, body { height: 100%; }