Uploaded image for project: 'Apache Tomcat Maven Plugin'
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-236

tomcat-maven-archetype creates project with failing test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1, 2.2
    • 2.2
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            olamy Olivier Lamy
            djcsdy Daniel Cassidy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: