[Jifty-commit] r4411 -
jifty/branches/prototype-1.6/t/TestApp-Plugin-OnClick/t
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sat Nov 10 10:49:23 EST 2007
Author: sunnavy
Date: Sat Nov 10 10:49:22 2007
New Revision: 4411
Modified:
jifty/branches/prototype-1.6/t/TestApp-Plugin-OnClick/t/onclick.t
Log:
wait 2 sec in case the click returning slowly
Modified: jifty/branches/prototype-1.6/t/TestApp-Plugin-OnClick/t/onclick.t
==============================================================================
--- jifty/branches/prototype-1.6/t/TestApp-Plugin-OnClick/t/onclick.t (original)
+++ jifty/branches/prototype-1.6/t/TestApp-Plugin-OnClick/t/onclick.t Sat Nov 10 10:49:22 2007
@@ -13,8 +13,11 @@
$sel->open_ok("/onclick.html");
$sel->click_ok("//a[\@id='replace_content']");
+sleep 2; # in case the click returning slowly
+
my $html = $sel->get_html_source;
+
like( $html, qr/yatta/, 'replace content correctly' );
unlike( $html, qr{args:/content1\.html}, 'replaced by javascript' );
More information about the Jifty-commit
mailing list