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:18:51 UTC

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

Daniel Cassidy created MTOMCAT-236:
--------------------------------------

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

{code}
-------------------------------------------------------------------------------
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)
{code}

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