From: jrockway Date: Wed, 27 Sep 2006 08:42:56 +0000 (+0000) Subject: wow, everything works now! X-Git-Tag: 0.04~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e39d6317277f067e6105ffbcdc8c9de44d6092e1;p=catagits%2FTest-WWW-Selenium-Catalyst.git wow, everything works now! git-svn-id: http://dev.catalystframework.org/repos/Catalyst/trunk/Test-WWW-Selenium-Catalyst@5031 4ad37cd2-5fec-0310-835f-b3785c72a374 --- diff --git a/Makefile.PL b/Makefile.PL index ae5e2e3..bf9b477 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -17,7 +17,3 @@ requires( ); auto_install(); WriteAll(); - -print {*STDERR} "*** \n"; -print {*STDERR} "*** BUG: make test might not work. Please try prove instead.\n"; -print {*STDERR} "*** \n"; diff --git a/lib/Test/WWW/Selenium/Catalyst.pm b/lib/Test/WWW/Selenium/Catalyst.pm index 509c22c..075fdb5 100644 --- a/lib/Test/WWW/Selenium/Catalyst.pm +++ b/lib/Test/WWW/Selenium/Catalyst.pm @@ -40,12 +40,6 @@ on. I can live with that, but I need your help to get to that stage! Please report any problems to RT, the Catalyst mailing list, or the #catalyst IRC channel on L. Thanks! -=head2 KNOWN ISSUES - -Sometimes the Selenium server doesn't die after the tests when running -under C. C works fine, so until I (or you!) figure -out the problem, use C. - =head1 SYNOPSIS use Test::WWW::Selenium::Catalyst 'MyApp'; @@ -95,7 +89,7 @@ sub _start_server { if(!$DEBUG){ close *STDERR; close *STDOUT; - close *STDIN; + #close *STDIN; } diag("Selenium running in $$") if $DEBUG; diff --git a/t/01-live.t b/t/01-live.t index 5ef0c8e..e189e4d 100644 --- a/t/01-live.t +++ b/t/01-live.t @@ -14,7 +14,7 @@ my $sel = Test::WWW::Selenium::Catalyst->start({browser => '*firefox'}); $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(