archiva/archiva-modules/archiva-web/archiva-webapp-test
skygo 1d3c7600c8 add page source capture for fluent content may not be accurate
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1490482 13f79535-47bb-0310-9956-ffa450edef68
2013-06-07 00:27:25 +00:00
..
src/test add page source capture for fluent content may not be accurate 2013-06-07 00:27:25 +00:00
ReadMe.txt cargo is not anymore used 2013-05-03 23:36:13 +00:00
pom.xml fixpath 2013-06-07 00:25:09 +00:00

ReadMe.txt

ReadMe
----------
Run selenium tests in src/test/testng with Maven and TestNG
  - mvn clean install 

Run Selenium tests in src/test/testng against an existing Archiva instance
  - Start Archiva
  - Configure admin user for archiva (match values in src/test/resources/testng.properties )
  - modify src/test/resources/testng.properties as needed
  - mvn clean install -Dcontainer-existing

Internet Explorer and Safari users must disable their popup blockers. Using *iexplore as
the browser requires running as an Administrator on Windows 7/Vista, or alternatively you
can use *iexploreproxy.


  

IMPORTANT:

When writing Selenium tests for artifact upload, please avoid using the "test" syllable/word for 
the groupId or artifactId (ex. test.group:testAddArtifactValidValues:1.0) as this is used for the 
search tests. The tests explicitly assert the returned number of hits for searching an artifact with 
a groupId or artifactId containing the word "test", so if you upload or add a new artifact which has
the term "test", the number of hits will be different and the search tests will fail.

See org.apache.archiva.web.test.SearchTest.java or read the related thread discussion at
http://old.nabble.com/Selenium-tests-failure-in-trunk-td27830786.html