On Mon, 17 May 2010 20:16:35 +0000, Dan Nessett wrote:
On Mon, 17 May 2010 19:11:21 +0000, Dan Nessett
wrote:
During the meeting last Friday, someone (I sorry,
I don't remember who)
mentioned he had created a test that runs with the currently checked in
selenium code. Is that test code available somewhere (it doesn't appear
to be in the current revision)?
I found the answer. On the SeleniumFramework page is a pointer to a
worked example (see:
http://www.mediawiki.org/wiki/
SeleniumFramework#Working_example). The instructions for getting the
tests to work aren't totally transparent. The test file you include is:
../phase3/extensions/PagedTiffHandler/selenium/
PagedTiffHandler_tests.php
(Not: ../phase3/extensions/PagedTiffHandler/tests/
PagedTiffHandlerTest.php)
Also, the instructions in SOURCES.txt specify getting all of the test
images from:
http://www.libtiff.org/images.html
But, when accessing the URL supplied on that page for the images (ftp://
ftp.remotesensing.org/pub/libtiff/pics-3.6.1.tar.gz) a FILE NOT FOUND
error is returned. There is a new version of the pics file in ..libtiff,
but they do not contain the correct images. The correct URL is: ftp://
ftp.remotesensing.org/pub/libtiff/old/pics-3.6.1.tar.gz. However, this
tar file does not include the images required by the PagedTiffHandler
tests.
I thought I would apprise readers of this thread that I have the
PagedTiffHandler example working. The problem turned out to be a bug in
the Framework that meant LocalSeleniumSettings wasn't being read at the
correct point in the startup sequence. According to Markus, he has fixed
this bug and is now testing it. I presume he will let us know when the
fix is committed.
If you want to run the example before the fix is available, just make all
your configuration settings to RunSeleniumTests.php.
Dan
--
-- Dan Nessett