Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1912

Selenium Tests for Showcase

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.6
    • None
    • Unit Tests
    • None
    • Patch

    Description

      I have begun creating some Selenium tests for the Struts 2 Showcase.
      So far the changes cover:

      • Updating the showcase POM with a Selenium profile
      • Updated the showcase POM to use the latest version of Jetty (6.1.3)
      • A Selenium test for creating a Skill
      • A Selenium test for editng a Skill

      This is works in the same manner as described in the Shale docs http://shale.apache.org/shale-apps/selenium.html
      Currently you must run with mvn -Pselenium clean jetty:run-exploded and then visit http://127.0.0.1:8080/struts2-showcase/selenium/core/TestRunner.html
      A plain jetty:run will not work as the Selenium tests are not in the default web root. An alternative is to package and deploy with Cargo

      If someone could try this out and give some feeback on if they think it is a reasonable approach then I can continue creating the rest of the test suite.

      Attachments

        1. mgilday-selenium.txt
          20 kB
          Martin Gilday

        Activity

          People

            Unassigned Unassigned
            pledge Martin Gilday
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: