wow, everything works now!
jrockway [Wed, 27 Sep 2006 08:42:56 +0000 (08:42 +0000)]
git-svn-id: http://dev.catalystframework.org/repos/Catalyst/trunk/Test-WWW-Selenium-Catalyst@5031 4ad37cd2-5fec-0310-835f-b3785c72a374

Makefile.PL
lib/Test/WWW/Selenium/Catalyst.pm
t/01-live.t

index ae5e2e3..bf9b477 100644 (file)
@@ -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";
index 509c22c..075fdb5 100644 (file)
@@ -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<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';
@@ -95,7 +89,7 @@ sub _start_server {
        if(!$DEBUG){
            close *STDERR;
            close *STDOUT;
-           close *STDIN;
+           #close *STDIN;
        }
        
        diag("Selenium running in $$") if $DEBUG;
index 5ef0c8e..e189e4d 100644 (file)
@@ -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(