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

[jira] Commented: (CONTINUUM-2073) Revive the automated Selenium integration tests

    [ http://jira.codehaus.org/browse/CONTINUUM-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=171726#action_171726 ] 

Wendy Smoak commented on CONTINUUM-2073:
----------------------------------------

Jose, I applied the 4th patch, and also updated testng-pom.xml to automatically start and stop the webapp on port 9595.

Do you have any ideas on how to handle the 'create admin user' and 'general configuration' that must be done when the app is first started?  
I put some conditional logic in src/test/it/.../AboutTest.java, which isn't pretty, but works.

This set of tests is still not working for me.  Here's what I see:

$ mvn clean install -f testng-pom.xml
...
[INFO] Selenium server started
[INFO] [cargo:start {execution: start-container}]
[INFO] [surefire:test {execution: integration-tests}]
[INFO] Surefire report directory: /Users/wsmoak/svn/continuum/continuum/continuum-webapp-test/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite

... here, it hangs until I press CTRL-C ...

^C[INFO] Shutting down...
[INFO] 12:01:54,694 INFO  [org.mortbay.util.ThreadedServer] Stopping Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=4444]
Destroying 1 processes
Destroying process..
Destroyed 1 processes
imbrium:continuum-webapp-test wsmoak$ 

I would expect to see the Selenium browser window open, and then for the tests to fail when they hit the 'create admin user' page and can't get past it.  But I don't see anything happening.


> Revive the automated Selenium integration tests
> -----------------------------------------------
>
>                 Key: CONTINUUM-2073
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2073
>             Project: Continuum
>          Issue Type: Test
>    Affects Versions: 1.3.1
>            Reporter: Wendy Smoak
>         Attachments: CONTINUUM-2073-src-test-it-2.patch, CONTINUUM-2073-src-test-it.patch, CONTINUUM-2073-TestNG, CONTINUUM-2073-TestNG-2.patch, CONTINUUM-2073-TestNG-3.patch, CONTINUUM-2073-TestNG-4.patch
>
>
> Get the automated Selenium tests in the continuum-webapp-module running again.

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