You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Daniel Cassidy (JIRA)" <ji...@apache.org> on 2013/08/28 18:30:53 UTC

[jira] [Commented] (MTOMCAT-236) tomcat-maven-archetype creates project with failing test

    [ https://issues.apache.org/jira/browse/MTOMCAT-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13752549#comment-13752549 ] 

Daniel Cassidy commented on MTOMCAT-236:
----------------------------------------

To fix this you can pull from this git branch: https://github.com/djcsdy/tomcat-maven-plugin/tree/MTOMCAT-236

Or apply this patch: https://gist.github.com/djcsdy/6368040/raw/996601ad8d53c8257f5d94f48232fb21066b487d/MTOMCAT-236.patch
                
> tomcat-maven-archetype creates project with failing test
> --------------------------------------------------------
>
>                 Key: MTOMCAT-236
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-236
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1, 2.2
>            Reporter: Daniel Cassidy
>
> tomcat-maven-archetype currently creates a project with a Selenium test that fails with Firefox 22 later.
> The test fails as follows:
> -------------------------------------------------------------------------------
> Test set: fr.mypackage.webapp.test.SimpleTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.209 sec <<< FAILURE!
> testSimple(fr.mypackage.webapp.test.SimpleTest)  Time elapsed: 6.143 sec  <<< ERROR!
> com.thoughtworks.selenium.SeleniumException: ERROR: Command execution failure. Please search the user group at https://groups.google.com/forum/#!forum/selenium-users for error details from the log window.  The error message is: Value does not implement interface Event.
> 	at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
> 	at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
> 	at com.thoughtworks.selenium.DefaultSelenium.click(DefaultSelenium.java:167)
> 	at fr.mypackage.webapp.test.SimpleTest.testSimple(SimpleTest.java:42)
> As a consequence, mvn install currently fails for the whole tomcat-maven-plugin project because, as part of the build, Maven creates and tests a project based on tomcat-maven-archetype.
> Tested with:
> * Windows 7, Firefox 22.
> * Lubuntu 12.04, Firefox 23.
> The problem appears to be fixed by selenium-server 2.35.0.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org