[Geoserver-devel] [jira] (GEOS-5106) Build failure in web-demo MapPreviewPageTest.testLayerNamesPrefixed caused by unwarranted order assumption

Ben Caradoc-Davies created GEOS-5106:
----------------------------------------

             Summary: Build failure in web-demo MapPreviewPageTest.testLayerNamesPrefixed caused by unwarranted order assumption
                 Key: GEOS-5106
                 URL: https://jira.codehaus.org/browse/GEOS-5106
             Project: GeoServer
          Issue Type: Bug
          Components: Wicket UI
    Affects Versions: 2.2.x
         Environment: Apache Maven 3.0.3 (r1075438; 2011-03-01 01:31:09+0800)
Maven home: /home/car605/junk/java/maven3
Java version: 1.6.0_32, vendor: Sun Microsystems Inc.
Java home: /home/car605/junk/java/jdk1.6.0_32.x64/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "2.6.43.2-6.fc15.x86_64", arch: "amd64", family: "unix"

            Reporter: Ben Caradoc-Davies
            Assignee: Alessio Fabiani
            Priority: Blocker
             Fix For: 2.2.x

MapPreviewPageTest.testLayerNamesPrefixed assumes that cite:streams is rendered on the second page. This is not guaranteed, and on my platform this assumption causes the build to fail.

On my platform, commenting out these lines causes the build to pass.

{noformat}
//move to next page
tester.clickLink("table:navigatorBottom:navigator:next", true);
{noformat}

(I deduce that cite:streams is on the first page.)

The failure is present in both Maven and Eclipse.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira