git-svn-id: http://dev.catalystframework.org/repos/Catalyst/trunk/Test-WWW-Selenium-Catalyst@5031
4ad37cd2-5fec-0310-835f-b3785c72a374
);
auto_install();
WriteAll();
-
-print {*STDERR} "*** \n";
-print {*STDERR} "*** BUG: make test might not work. Please try prove instead.\n";
-print {*STDERR} "*** \n";
Please report any problems to RT, the Catalyst mailing list, or the
#catalyst IRC channel on L<irc.perl.org>. Thanks!
-=head2 KNOWN ISSUES
-
-Sometimes the Selenium server doesn't die after the tests when running
-under C<make test>. C<prove> works fine, so until I (or you!) figure
-out the problem, use C<prove>.
-
=head1 SYNOPSIS
use Test::WWW::Selenium::Catalyst 'MyApp';
if(!$DEBUG){
close *STDERR;
close *STDOUT;
- close *STDIN;
+ #close *STDIN;
}
diag("Selenium running in $$") if $DEBUG;
$sel->open_ok('/');
$sel->text_is("link=Click here", "Click here");
$sel->click_ok("link=Click here");
-$sel->wait_for_page_to_load_ok("30000");
+$sel->wait_for_page_to_load_ok("30000", 'wait');
for my $i (1..10){
$sel->open_ok("/words/$i");
$sel->is_text_present_ok(