Skip Menu |

This queue is for tickets about the Test-WWW-Selenium CPAN distribution.

Report information
The Basics
Id: 66831
Status: resolved
Priority: 0/
Queue: Test-WWW-Selenium

People
Owner: Nobody in particular
Requestors: rml [...] uoregon.edu
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.24
Fixed in: (no value)



Subject: CPAN install fails with selenium server 1.0.3
sudo perl -MCPAN -e 'install Test::WWW::Selenium' failed because make test rely on files that don't seem to be included with most resent selenium server distribution t/test_default_server.t .. # Test::WWW::Selenium running open (/selenium- server/tests/html/test_click_page1.html) t/test_default_server.t .. 1/7 # Error requesting http://localhost:4444/selenium- server/driver/: # XHR ERROR: URL = http://localhost:4444/selenium- server/tests/html/test_click_page1.html Response_Code = 404 Error_Message = Not+found [...] t/test_default_server.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 7/7 subtests t/test_google.t .......... Error requesting http://localhost:4444/selenium-server/driver/: Timed out after 5000ms # Looks like your test exited with 255 before it could output anything. t/test_google.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/1 subtests timed out because URL requested is not viable 13:44:53.480 INFO - Command request: getNewBrowserSession[*firefox, http://www.google.com/webhp] on session null 13:44:53.480 INFO - creating new remote session 13:44:53.481 INFO - Allocated session 1383c9811b184a21aa81bd07ecc43b9d for http://www.google.com/webhp, launching... 13:44:53.481 WARN - It looks like your baseUrl (http://www.google.com/webhp) is pointing to a file, not a directory (it doesn't end with a /). We're going to have to strip off the last part of the pathname. 13:45:03.938 INFO - Preparing Firefox profile... 13:45:06.902 INFO - Launching Firefox... 13:45:10.991 INFO - Got result: OK,1383c9811b184a21aa81bd07ecc43b9d on session 1383c9811b184a21aa81bd07ecc43b9d 13:45:10.995 INFO - Command request: open[http://www.google.com/webhp, ] on session 1383c9811b184a21aa81bd07ecc43b9d 13:45:11.659 INFO - Got result: OK on session 1383c9811b184a21aa81bd07ecc43b9d 13:45:11.662 INFO - Command request: type[q, hello world] on session 1383c9811b184a21aa81bd07ecc43b9d 13:45:11.680 INFO - Got result: OK on session 1383c9811b184a21aa81bd07ecc43b9d 13:45:11.683 INFO - Command request: click[btnG, ] on session 1383c9811b184a21aa81bd07ecc43b9d 13:45:11.742 INFO - Got result: OK on session 1383c9811b184a21aa81bd07ecc43b9d 13:45:11.745 INFO - Command request: waitForPageToLoad[5000, ] on session 1383c9811b184a21aa81bd07ecc43b9d 13:45:16.794 INFO - Got result: Timed out after 5000ms on session 1383c9811b184a21aa81bd07ecc43b9d 13:45:16.798 INFO - Command request: testComplete[, ] on session 1383c9811b184a21aa81bd07ecc43b9d 13:45:16.799 INFO - Killing Firefox...
Subject: Re: [rt.cpan.org #66831] CPAN install fails with selenium server 1.0.3
Date: Wed, 23 Mar 2011 16:38:31 -0700
To: bug-Test-WWW-Selenium [...] rt.cpan.org
From: Luke Closs <lukecloss [...] gmail.com>
Thanks for reporting this. Code is here if you want to offer a patch: https://github.com/lukec/cpan-selenium-rc-perl On Wed, Mar 23, 2011 at 4:36 PM, http://litch.livejournal.com/ via RT <bug-Test-WWW-Selenium@rt.cpan.org> wrote: Show quoted text
> Wed Mar 23 19:36:51 2011: Request 66831 was acted upon. > Transaction: Ticket created by http://litch.livejournal.com/ >       Queue: Test-WWW-Selenium >     Subject: CPAN install fails with selenium server 1.0.3 >   Broken in: 1.24 >    Severity: Normal >       Owner: Nobody >  Requestors: rml@uoregon.edu >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=66831 > > > > sudo perl -MCPAN -e 'install Test::WWW::Selenium' > failed because make test rely on files that don't seem to be included with most resent > selenium server distribution > > t/test_default_server.t .. # Test::WWW::Selenium running open (/selenium- > server/tests/html/test_click_page1.html) > t/test_default_server.t .. 1/7 # Error requesting http://localhost:4444/selenium- > server/driver/: > # XHR ERROR: URL = http://localhost:4444/selenium- > server/tests/html/test_click_page1.html Response_Code = 404 Error_Message = Not+found > [...] > > t/test_default_server.t .. Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 7/7 subtests > t/test_google.t .......... Error requesting http://localhost:4444/selenium-server/driver/: > Timed out after 5000ms > # Looks like your test exited with 255 before it could output anything. > t/test_google.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 1/1 subtests > > timed out because URL requested is not viable > > 13:44:53.480 INFO - Command request: getNewBrowserSession[*firefox, > http://www.google.com/webhp] on session null > 13:44:53.480 INFO - creating new remote session > 13:44:53.481 INFO - Allocated session 1383c9811b184a21aa81bd07ecc43b9d for > http://www.google.com/webhp, launching... > 13:44:53.481 WARN - It looks like your baseUrl (http://www.google.com/webhp) is pointing > to a file, not a directory (it doesn't end with a /).  We're going to have to strip off the last part > of the pathname. > 13:45:03.938 INFO - Preparing Firefox profile... > 13:45:06.902 INFO - Launching Firefox... > 13:45:10.991 INFO - Got result: OK,1383c9811b184a21aa81bd07ecc43b9d on session > 1383c9811b184a21aa81bd07ecc43b9d > 13:45:10.995 INFO - Command request: open[http://www.google.com/webhp, ] on session > 1383c9811b184a21aa81bd07ecc43b9d > 13:45:11.659 INFO - Got result: OK on session 1383c9811b184a21aa81bd07ecc43b9d > 13:45:11.662 INFO - Command request: type[q, hello world] on session > 1383c9811b184a21aa81bd07ecc43b9d > 13:45:11.680 INFO - Got result: OK on session 1383c9811b184a21aa81bd07ecc43b9d > 13:45:11.683 INFO - Command request: click[btnG, ] on session > 1383c9811b184a21aa81bd07ecc43b9d > 13:45:11.742 INFO - Got result: OK on session 1383c9811b184a21aa81bd07ecc43b9d > 13:45:11.745 INFO - Command request: waitForPageToLoad[5000, ] on session > 1383c9811b184a21aa81bd07ecc43b9d > 13:45:16.794 INFO - Got result: Timed out after 5000ms on session > 1383c9811b184a21aa81bd07ecc43b9d > 13:45:16.798 INFO - Command request: testComplete[, ] on session > 1383c9811b184a21aa81bd07ecc43b9d > 13:45:16.799 INFO - Killing Firefox... > > >
This is now fixed on github, and will be resolved in the upcoming 1.25 release. Cheers