You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Wendy Smoak (JIRA)" <ji...@codehaus.org> on 2009/04/02 05:19:12 UTC

[jira] Created: (MRM-1164) Fix the Selenium tests

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


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

        

[jira] Closed: (MRM-1164) Fix the Selenium tests

Posted by "Marecor Baclay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marecor Baclay closed MRM-1164.
-------------------------------

    Resolution: Fixed

MRM-1164-TestNG-6.patch applied in r798777.

Will close the issue and will open a new one with the specific tests to be added soon. Thanks!

> 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
>            Assignee: Marecor Baclay
>             Fix For: 1.3
>
>         Attachments: MRM-1164-TestNG-2.patch, MRM-1164-TestNG-3.patch, MRM-1164-TestNG-4.patch, MRM-1164-TestNG-5.patch, MRM-1164-TestNG-6.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

        

[jira] Updated: (MRM-1164) Fix the Selenium tests

Posted by "Marecor Baclay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marecor Baclay updated MRM-1164:
--------------------------------

    Attachment: MRM-1164-TestNG-3.patch

Attached MRM-1164-TestNG-3.patch.

Modifications:
- added tests for archiva user roles
- added tests for upload artifact
- modified scripts from Search and Browse

Before running the tests, change the value of ARTIFACTFILEPATH in testng.properties (src/test/resources/testng.properties) that will point to a jar file not more than 10MB. The instruction has been added in ReadMe.txt file also.


Results :

Tests run: 32, Failures: 0, Errors: 0, Skipped: 0

> 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.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

        

[jira] Updated: (MRM-1164) Fix the Selenium tests

Posted by "Marecor Baclay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marecor Baclay updated MRM-1164:
--------------------------------

    Attachment: MRM-1164-TestNG-4.patch

Attached MRM-1164-TestNG-4.patch

Modified the scripts so as testng.properties will no longer be modified before running the tests.

Results :

Tests run: 40, Failures: 0, Errors: 0, Skipped: 0

> 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

        

[jira] Commented: (MRM-1164) Fix the Selenium tests

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=176041#action_176041 ] 

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

Thanks, Cora!  I applied the 2nd patch in r773741.  Here are my results:

Failed tests: 
  testSearchExistingArtifact(org.apache.archiva.web.test.SearchTest)
  testViewSearchedArtifact(org.apache.archiva.web.test.SearchTest)
  testClickArtifactFromBrowse(org.apache.archiva.web.test.BrowseTest)

Tests run: 18, Failures: 3, Errors: 0, Skipped: 0


> 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.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

        

[jira] Commented: (MRM-1164) Fix the Selenium tests

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174932#action_174932 ] 

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

In r770866 I moved the Cargo plugin config into a profile that is active by default (activated on the absence of the 'container' property).

To run the TestNG tests against an existing Archiva instance, edit the url in src/test/resources/testng.properties and use -Dcontainer=existing on the command line.

Cora, it looks like the antrun plugin config I took from the old pom.xml is copying some artifacts into the repository as it constructs the app... you might be able to use those for your search tests.

> 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.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

        

[jira] Updated: (MRM-1164) Fix the Selenium tests

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching updated MRM-1164:
----------------------------------

    Fix Version/s:     (was: 1.2.3)
                   1.3

> 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
>            Assignee: Marecor Baclay
>             Fix For: 1.3
>
>         Attachments: MRM-1164-TestNG-2.patch, MRM-1164-TestNG-3.patch, MRM-1164-TestNG-4.patch, MRM-1164-TestNG-5.patch, MRM-1164-TestNG-6.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

        

[jira] Commented: (MRM-1164) Fix the Selenium tests

Posted by "Marecor Baclay (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174722#action_174722 ] 

Marecor Baclay commented on MRM-1164:
-------------------------------------

Hi Wendy, i assumed those errors were from BrowseTest and/or ReportsTest because I haven't added automation yet with adding artifacts and that nothing can't be browsed. I will be fixing it while i'll be creating tests for Artifact Management. Thanks.

> 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.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

        

[jira] Updated: (MRM-1164) Fix the Selenium tests

Posted by "Marecor Baclay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marecor Baclay updated MRM-1164:
--------------------------------

    Attachment: MRM-1164-TestNG-2.patch

Attached MRM-1164-TestNG-2.patch

I modified the pom and some of the classes to make the tests run through executing "mvn clean install -f testng-pom.xml" (Firefox will now launch with this patch). It has 6 failures still and I'm still looking/working unto the antrun plugin and hopefully I could get it work for Search/Browse tests and solve the failing tests.

> 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.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

        

[jira] Updated: (MRM-1164) Fix the Selenium tests

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-1164:
------------------------------

    Fix Version/s: 1.3

let's get these running if not complete for the next point release as a starting point

> 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
>
>
> 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

        

[jira] Updated: (MRM-1164) Fix the Selenium tests

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-1164:
------------------------------

    Fix Version/s:     (was: 1.3)
                   1.2.3

> 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
>            Assignee: Marecor Baclay
>             Fix For: 1.2.3
>
>         Attachments: MRM-1164-TestNG-2.patch, MRM-1164-TestNG-3.patch, MRM-1164-TestNG-4.patch, MRM-1164-TestNG-5.patch, MRM-1164-TestNG-6.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

        

[jira] Commented: (MRM-1164) Fix the Selenium tests

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=180760#action_180760 ] 

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

Applied patch #5 on trunk in r785892.  Thanks, Cora!

I still get failured/skipped tests locally, and I did make sure to use JDK 1.5 which made a difference for the Continuum tests.

> 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-5.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

        

[jira] Commented: (MRM-1164) Fix the Selenium tests

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=177444#action_177444 ] 

Maria Odea Ching commented on MRM-1164:
---------------------------------------

Yay! Thanks for the patches Cora and thanks for taking care of these Wendy :)

> 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

        

[jira] Updated: (MRM-1164) Fix the Selenium tests

Posted by "Marecor Baclay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marecor Baclay updated MRM-1164:
--------------------------------

    Attachment: MRM-1164-TestNG-5.patch

attached MRM-1164-TestNG-5.patch

patch includes the following:
- initial tests for virtual repositories
- modification on AbstractSeleniumTest class (adding method that would capture screenshots on failed tests. screenshots for failed tests could be found in /target/screenshots directory with the class name as the image name where failure occured.)

> 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-5.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

        

[jira] Commented: (MRM-1164) Fix the Selenium tests

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=177358#action_177358 ] 

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

Applied patch #4 in r776772.  I still get failures locally:

Failed tests: 
  displayLandingPage(org.apache.archiva.web.test.ArchivaAdminTest)
  testWithBadUsername(org.apache.archiva.web.test.LoginTest)
  testWithBadPassword(org.apache.archiva.web.test.LoginTest)
  testWithEmptyUsername(org.apache.archiva.web.test.LoginTest)
  testWithEmptyPassword(org.apache.archiva.web.test.LoginTest)
  testWithCorrectUsernamePassword(org.apache.archiva.web.test.LoginTest)

Tests run: 40, Failures: 6, Errors: 0, Skipped: 34

Check here for CI results:  http://vmbuild.apache.org/continuum/buildResults.action?projectId=2464

> 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

        

[jira] Commented: (MRM-1164) Fix the Selenium tests

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=177384#action_177384 ] 

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

I don't know what changed, but all 40 of the tests have *passed* on vmbuild!
http://vmbuild.apache.org/continuum/buildResult.action?buildId=192487&projectId=2464

> 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

        

[jira] Updated: (MRM-1164) Fix the Selenium tests

Posted by "Marecor Baclay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marecor Baclay updated MRM-1164:
--------------------------------

    Attachment: MRM-1164-TestNG.patch

Patch for selenium tests Maven and TestNG.

I also have added a ReadMe file in /archiva-module/archiva-web/archiva-webapp-test. This test does not run with cargo plugin yet.

Thanks.

> 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.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

        

[jira] Assigned: (MRM-1164) Fix the Selenium tests

Posted by "Marecor Baclay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marecor Baclay reassigned MRM-1164:
-----------------------------------

    Assignee: Marecor Baclay

> 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
>            Assignee: Marecor Baclay
>             Fix For: 1.3
>
>         Attachments: MRM-1164-TestNG-2.patch, MRM-1164-TestNG-3.patch, MRM-1164-TestNG-4.patch, MRM-1164-TestNG-5.patch, MRM-1164-TestNG-6.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

        

[jira] Commented: (MRM-1164) Fix the Selenium tests

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=176721#action_176721 ] 

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

Patch #3 applied in r775412.    I get:  Tests run: 32, Failures: 3, Errors: 0, Skipped: 10

The part of the patch for the Readme.txt file didn't apply properly.  Can you try that again?  Thanks!

> 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.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

        

[jira] Commented: (MRM-1164) Fix the Selenium tests

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174671#action_174671 ] 

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

Cora, I applied MRM-1164-TestNG.patch in r769940.  I get 6 failures from this set of tests, however I didn't look closely to see what might be wrong.  Thanks!

> 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.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

        

[jira] Commented: (MRM-1164) Fix the Selenium tests

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Updated: (MRM-1164) Fix the Selenium tests

Posted by "Marecor Baclay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marecor Baclay updated MRM-1164:
--------------------------------

    Attachment: MRM-1164-TestNG-6.patch

attached MRM-1164-TestNG-6.patch with tests for Repositories and Network Proxy.

Results :

Tests run: 65, Failures: 0, Errors: 0, Skipped: 0

> 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-5.patch, MRM-1164-TestNG-6.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

        

[jira] Commented: (MRM-1164) Fix the Selenium tests

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174931#action_174931 ] 

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

r770861 is the result of copying pom.xml to testng-pom.xml and attempting to put back the things that TestNG needs.  (I tried it the other way around, adding things to testng-pom.xml and couldn't get it to to work in a reasonable amount of time.)  You might want to check that I haven't broken anything. :)



> 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.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