[Jifty-commit] r5239 - jifty/branches/jquery/t/TestApp-JiftyJS/t
Jifty commits
jifty-commit at lists.jifty.org
Wed Mar 26 20:40:01 EDT 2008
Author: gugod
Date: Wed Mar 26 20:40:00 2008
New Revision: 5239
Modified:
jifty/branches/jquery/t/TestApp-JiftyJS/t/8-placeholder.t
Log:
use css=input[name="J:A:F-text-play2"] as the element locator in
selenium test because the classname "placeholder" will be removed when
the text is cleared.
Modified: jifty/branches/jquery/t/TestApp-JiftyJS/t/8-placeholder.t
==============================================================================
--- jifty/branches/jquery/t/TestApp-JiftyJS/t/8-placeholder.t (original)
+++ jifty/branches/jquery/t/TestApp-JiftyJS/t/8-placeholder.t Wed Mar 26 20:40:00 2008
@@ -13,7 +13,7 @@
plan(skip_all => "Temporarily, until the 'Operation Abort' bug is solved.");
}
else {
- plan(tests => 4);
+ plan(tests => 6);
}
}
@@ -29,7 +29,7 @@
# Test placeholder
$sel->open_ok("/act/play3");
- my $input = 'css=input.placeholder';
+ my $input = 'css=input[name="J:A:F-text-play2"]';
$sel->is_element_present($input);
my $text = $sel->get_value($input);
More information about the Jifty-commit
mailing list