Issue Details (XML | Word | Printable)

Key: SHALE-243
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Wendy Smoak
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Shale

Use Selenium for functional testing of the example apps

Created: 01/Aug/06 12:55 AM   Updated: 23/Jan/07 04:40 PM
Return to search
Component/s: Examples
Affects Version/s: 1.0.3-SNAPSHOT
Fix Version/s: 1.0.4

File Attachments:
  Size
File Licensed for inclusion in ASF works SHALE-243-wsmoak.diff 2006-08-01 04:11 PM Wendy Smoak 1 kB


 Description  « Hide
Use Selenium from OpenQA to verify that the example apps work properly.



 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #427397 Tue Aug 01 01:21:09 UTC 2006 wsmoak Added configuration for Selenium and some simple tests for the Mailreader app.
Added a menu item and information on installing Selenium and running the tests to the shale-apps site.
SHALE-243
Files Changed
ADD /shale/framework/trunk/shale-apps/shale-mailreader/src/test/selenium/TestRegistration.html
ADD /shale/framework/trunk/shale-apps/shale-mailreader/src/test/selenium
ADD /shale/framework/trunk/shale-apps/shale-mailreader/src/test/selenium/TestCreateNew.html
MODIFY /shale/framework/trunk/shale-apps/pom.xml
ADD /shale/framework/trunk/shale-apps/src/site/apt
ADD /shale/framework/trunk/shale-apps/src/site/apt/selenium.apt
MODIFY /shale/framework/trunk/shale-apps/src/site/site.xml
ADD /shale/framework/trunk/shale-apps/shale-mailreader/src/test/selenium/TestSuite.html

Repository Revision Date User Message
ASF #427419 Tue Aug 01 03:10:28 UTC 2006 wsmoak Move the dependency-maven-plugin execution to the generate-sources phase so that it runs before antrun.
This should not be necessary, but Maven is executing them in the wrong order which causes a failure.
The selenium profile can now be activated with -Pselenium, or with -Dselenium as a system property.
Minor documentation improvements.
SHALE-243
Files Changed
MODIFY /shale/framework/trunk/shale-apps/pom.xml
MODIFY /shale/framework/trunk/shale-apps/src/site/apt/selenium.apt

Wendy Smoak added a comment - 01/Aug/06 05:54 AM

See this page for information on installing Selenium and running the tests:
   http://shale.apache.org/shale-apps/selenium.html

Commits:
* http://svn.apache.org/viewvc?rev=427397&view=rev
* http://svn.apache.org/viewvc?rev=427419&view=rev


Repository Revision Date User Message
ASF #427581 Tue Aug 01 13:46:04 UTC 2006 wsmoak Add the OpenQA Maven repository to the 'selenium' profile.
Adjust the groupId and type for the selenium-core artifact.
Update the documentation.
SHALE-243
Files Changed
MODIFY /shale/framework/trunk/shale-apps/pom.xml
MODIFY /shale/framework/trunk/src/site/site.xml
MODIFY /shale/framework/trunk/shale-apps/src/site/apt/selenium.apt

Wendy Smoak added a comment - 01/Aug/06 04:11 PM
Packaging the webapp is not working properly after r427581 this morning.
 * http://svn.apache.org/viewvc?rev=427581&view=rev

When I switched from the distribution to the selenium-core jar in the Maven repo, I didn't synchronize the location where it gets unpacked with the location where the antrun plugin expects to find the files to copy.

After the patch, 'mvn package -Pselenium' works again.

Wendy Smoak made changes - 01/Aug/06 04:11 PM
Field Original Value New Value
Attachment SHALE-243-wsmoak.diff [ 13107 ]
Repository Revision Date User Message
ASF #427859 Wed Aug 02 02:35:29 UTC 2006 wsmoak Correct the location of the unpacked selenium jar. (r427581)
SHALE-243
Files Changed
MODIFY /shale/framework/trunk/shale-apps/pom.xml

sean schofield made changes - 08/Aug/06 02:26 AM
Affects Version/s Nightly [ 21715 ]
Affects Version/s 1.0.3-SNAPSHOT [ 21714 ]
Craig McClanahan added a comment - 14/Dec/06 12:56 AM
 Wendy, is this still an issue? If so, feel free to apply the patch ... it was not obvious to me which of the poms was supposed to be updated.

Wendy Smoak added a comment - 14/Dec/06 04:05 AM
Resolving as the Selenium test for the mailreader app is working for me, and the infrastructure is in place to add Selenium tests to any of the other apps. (Just add files in src/test/selenium and package with the 'selenium' profile activated: -P selenium .)


Wendy Smoak made changes - 14/Dec/06 04:05 AM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Rahul Akolkar made changes - 23/Jan/07 04:40 PM
Fix Version/s 1.0.4 [ 21790 ]
Fix Version/s 1.0.4-SNAPSHOT [ 21740 ]
Jeff Turner made changes - 09/Aug/07 07:17 AM
Workflow Struts [ 38603 ] Struts - editable closed status [ 42260 ]
Antonio Petrelli made changes - 08/Jan/09 08:56 AM
Workflow Struts - editable closed status [ 42260 ] Struts - editable closed status (temporary) [ 45961 ]
Antonio Petrelli made changes - 08/Jan/09 09:08 AM
Workflow Struts - editable closed status (temporary) [ 45961 ] Struts - editable closed status [ 52657 ]