Selenium Tests for Showcase
---------------------------
Key: WW-1912
URL: https://issues.apache.org/struts/browse/WW-1912
Project: Struts 2
Issue Type: New Feature
Components: Tests
Affects Versions: 2.1.0
Reporter: Martin Gilday
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.