[ 
http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=177375#action_177375
 ] 

Wendy Smoak commented on MRM-1164:
----------------------------------

The Selenium tests are now running on vmbuild, however there's a failure:

{noformat}
java.lang.AssertionError: 'Current User' isn't present. expected:<true> but 
was:<false>
        at org.testng.Assert.fail(Assert.java:84)
        at org.testng.Assert.failNotEquals(Assert.java:438)
        at org.testng.Assert.assertTrue(Assert.java:32)
        at 
org.apache.archiva.web.test.parent.AbstractSeleniumTest.assertTextPresent(AbstractSeleniumTest.java:117)
        at 
org.apache.archiva.web.test.parent.AbstractArchivaTest.assertAuthenticatedPage(AbstractArchivaTest.java:147)
        at 
org.apache.archiva.web.test.ArchivaAdminTest.initializeContinuum(ArchivaAdminTest.java:73)
{noformat}

That method should probably be initializeArchiva(...) .

I also noticed that AbstractSeleniumTestCase has a line
{noformat}
   if ( getTitle().endsWith( "Continuum - Configuration" ) )
{noformat}
which isn't applicable to Archiva.

> Fix the Selenium tests
> ----------------------
>
>                 Key: MRM-1164
>                 URL: http://jira.codehaus.org/browse/MRM-1164
>             Project: Archiva
>          Issue Type: Task
>    Affects Versions: 1.2
>            Reporter: Wendy Smoak
>             Fix For: 1.3
>
>         Attachments: MRM-1164-TestNG-2.patch, MRM-1164-TestNG-3.patch, 
> MRM-1164-TestNG-4.patch, MRM-1164-TestNG.patch
>
>
> The Selenium tests in the archiva-webapp-test module aren't working and need 
> to be fixed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to