You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2009/11/10 11:05:55 UTC

[jira] Created: (MRM-1276) Selenium tests need a clean up

Selenium tests need a clean up
------------------------------

                 Key: MRM-1276
                 URL: http://jira.codehaus.org/browse/MRM-1276
             Project: Archiva
          Issue Type: Bug
          Components: web application
    Affects Versions: 1.2.2
            Reporter: Brett Porter


the current selenium tests are quite hard to navigate:
- multiple different folders (it-resources vs resources)
- unnecessary configuration (a lot of Tomcat config instead of just the files that need changing)
- complicated POM and no documentation of the profiles
- poor formatting in the source code (tabs, etc)
- poor hierarchy (required to call open() then open( ... ) in sequence - should have all the init in one class and use TestNG to order)

I think this could use some cleaning up

-- 
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-1276) Selenium tests need a clean up

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

Marecor Baclay commented on MRM-1276:
-------------------------------------

At revision 928992,

- removed src/test/it
- removed src/test/it-resources and transferred its contents in src/test/resources

> Selenium tests need a clean up
> ------------------------------
>
>                 Key: MRM-1276
>                 URL: http://jira.codehaus.org/browse/MRM-1276
>             Project: Archiva
>          Issue Type: Bug
>          Components: Web Interface
>    Affects Versions: 1.2.2
>            Reporter: Brett Porter
>            Assignee: Marecor Baclay
>             Fix For: Backlog
>
>
> the current selenium tests are quite hard to navigate:
> - multiple different folders (it-resources vs resources)
> - unnecessary configuration (a lot of Tomcat config instead of just the files that need changing)
> - complicated POM and no documentation of the profiles
> - poor formatting in the source code (tabs, etc)
> - poor hierarchy (required to call open() then open( ... ) in sequence - should have all the init in one class and use TestNG to order)
> I think this could use some cleaning up

-- 
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-1276) Selenium tests need a clean up

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

Marecor Baclay commented on MRM-1276:
-------------------------------------

At revision 933824:
- modified LoginTest to use the methods in abstract class
- removed the unnecessary commented out lines

> Selenium tests need a clean up
> ------------------------------
>
>                 Key: MRM-1276
>                 URL: http://jira.codehaus.org/browse/MRM-1276
>             Project: Archiva
>          Issue Type: Bug
>          Components: Web Interface
>    Affects Versions: 1.2.2
>            Reporter: Brett Porter
>            Assignee: Marecor Baclay
>             Fix For: Backlog
>
>
> the current selenium tests are quite hard to navigate:
> - multiple different folders (it-resources vs resources)
> - unnecessary configuration (a lot of Tomcat config instead of just the files that need changing)
> - complicated POM and no documentation of the profiles
> - poor formatting in the source code (tabs, etc)
> - poor hierarchy (required to call open() then open( ... ) in sequence - should have all the init in one class and use TestNG to order)
> I think this could use some cleaning up

-- 
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-1276) Selenium tests need a clean up

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

Marecor Baclay commented on MRM-1276:
-------------------------------------

At revision 931475,
- fixed poor formatting in the source code (tabs, etc) following the Maven Code Style

At revision 931478,
- added licence to AbstractArtifactManagementTest class

> Selenium tests need a clean up
> ------------------------------
>
>                 Key: MRM-1276
>                 URL: http://jira.codehaus.org/browse/MRM-1276
>             Project: Archiva
>          Issue Type: Bug
>          Components: Web Interface
>    Affects Versions: 1.2.2
>            Reporter: Brett Porter
>            Assignee: Marecor Baclay
>             Fix For: Backlog
>
>
> the current selenium tests are quite hard to navigate:
> - multiple different folders (it-resources vs resources)
> - unnecessary configuration (a lot of Tomcat config instead of just the files that need changing)
> - complicated POM and no documentation of the profiles
> - poor formatting in the source code (tabs, etc)
> - poor hierarchy (required to call open() then open( ... ) in sequence - should have all the init in one class and use TestNG to order)
> I think this could use some cleaning up

-- 
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-1276) Selenium tests need a clean up

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

Marecor Baclay reassigned MRM-1276:
-----------------------------------

    Assignee: Marecor Baclay

> Selenium tests need a clean up
> ------------------------------
>
>                 Key: MRM-1276
>                 URL: http://jira.codehaus.org/browse/MRM-1276
>             Project: Archiva
>          Issue Type: Bug
>          Components: Web Interface
>    Affects Versions: 1.2.2
>            Reporter: Brett Porter
>            Assignee: Marecor Baclay
>             Fix For: Backlog
>
>
> the current selenium tests are quite hard to navigate:
> - multiple different folders (it-resources vs resources)
> - unnecessary configuration (a lot of Tomcat config instead of just the files that need changing)
> - complicated POM and no documentation of the profiles
> - poor formatting in the source code (tabs, etc)
> - poor hierarchy (required to call open() then open( ... ) in sequence - should have all the init in one class and use TestNG to order)
> I think this could use some cleaning up

-- 
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-1276) Selenium tests need a clean up

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

Brett Porter updated MRM-1276:
------------------------------

    Fix Version/s: Backlog

> Selenium tests need a clean up
> ------------------------------
>
>                 Key: MRM-1276
>                 URL: http://jira.codehaus.org/browse/MRM-1276
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.2.2
>            Reporter: Brett Porter
>             Fix For: Backlog
>
>
> the current selenium tests are quite hard to navigate:
> - multiple different folders (it-resources vs resources)
> - unnecessary configuration (a lot of Tomcat config instead of just the files that need changing)
> - complicated POM and no documentation of the profiles
> - poor formatting in the source code (tabs, etc)
> - poor hierarchy (required to call open() then open( ... ) in sequence - should have all the init in one class and use TestNG to order)
> I think this could use some cleaning up

-- 
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-1276) Selenium tests need a clean up

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

Marecor Baclay commented on MRM-1276:
-------------------------------------

At revision 931081,
- used getSelenium().open() instead of clickLinkWithText() in RepositoryTest.java

> Selenium tests need a clean up
> ------------------------------
>
>                 Key: MRM-1276
>                 URL: http://jira.codehaus.org/browse/MRM-1276
>             Project: Archiva
>          Issue Type: Bug
>          Components: Web Interface
>    Affects Versions: 1.2.2
>            Reporter: Brett Porter
>            Assignee: Marecor Baclay
>             Fix For: Backlog
>
>
> the current selenium tests are quite hard to navigate:
> - multiple different folders (it-resources vs resources)
> - unnecessary configuration (a lot of Tomcat config instead of just the files that need changing)
> - complicated POM and no documentation of the profiles
> - poor formatting in the source code (tabs, etc)
> - poor hierarchy (required to call open() then open( ... ) in sequence - should have all the init in one class and use TestNG to order)
> I think this could use some cleaning up

-- 
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-1276) Selenium tests need a clean up

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

Marecor Baclay commented on MRM-1276:
-------------------------------------

At revision 929005,
- removed it.properties in src/test/resources
- updated the path in property file and some classes for the changes made in r.928992

> Selenium tests need a clean up
> ------------------------------
>
>                 Key: MRM-1276
>                 URL: http://jira.codehaus.org/browse/MRM-1276
>             Project: Archiva
>          Issue Type: Bug
>          Components: Web Interface
>    Affects Versions: 1.2.2
>            Reporter: Brett Porter
>            Assignee: Marecor Baclay
>             Fix For: Backlog
>
>
> the current selenium tests are quite hard to navigate:
> - multiple different folders (it-resources vs resources)
> - unnecessary configuration (a lot of Tomcat config instead of just the files that need changing)
> - complicated POM and no documentation of the profiles
> - poor formatting in the source code (tabs, etc)
> - poor hierarchy (required to call open() then open( ... ) in sequence - should have all the init in one class and use TestNG to order)
> I think this could use some cleaning up

-- 
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-1276) Selenium tests need a clean up

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

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

The code itself needs clean up as well. Tests are very dependent on each other, making it hard to add new tests without breaking the other tests because of these dependencies. There are also a lot of commented out parts in the source that can already be removed.

> Selenium tests need a clean up
> ------------------------------
>
>                 Key: MRM-1276
>                 URL: http://jira.codehaus.org/browse/MRM-1276
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.2.2
>            Reporter: Brett Porter
>             Fix For: Backlog
>
>
> the current selenium tests are quite hard to navigate:
> - multiple different folders (it-resources vs resources)
> - unnecessary configuration (a lot of Tomcat config instead of just the files that need changing)
> - complicated POM and no documentation of the profiles
> - poor formatting in the source code (tabs, etc)
> - poor hierarchy (required to call open() then open( ... ) in sequence - should have all the init in one class and use TestNG to order)
> I think this could use some cleaning up

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