2009-04-29 17:21:40 -04:00
|
|
|
ReadMe
|
|
|
|
----------
|
|
|
|
Run selenium tests in src/test/testng with Maven and TestNG
|
2009-05-14 10:24:45 -04:00
|
|
|
- mvn clean install
|
2009-05-01 20:11:22 -04:00
|
|
|
|
|
|
|
Run Selenium tests in src/test/testng against an existing Archiva instance
|
2009-04-29 17:21:40 -04:00
|
|
|
- Start Archiva
|
|
|
|
- Configure admin user for archiva (match values in src/test/resources/testng.properties )
|
|
|
|
- modify src/test/resources/testng.properties as needed
|
2009-05-14 10:24:45 -04:00
|
|
|
- mvn clean install -Dcontainer-existing
|
2009-04-29 17:21:40 -04:00
|
|
|
|
2009-11-10 05:26:23 -05:00
|
|
|
The Cargo installations are stored outside of target to avoid multiple downloads.
|
|
|
|
To remove the Cargo installations and re-download them next run, use:
|
|
|
|
- mvn -Pclean-cargo clean
|
|
|
|
|
2010-03-03 18:21:12 -05:00
|
|
|
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.
|
2010-03-03 18:10:29 -05:00
|
|
|
|
2010-04-13 02:55:01 -04:00
|
|
|
|
2010-03-09 05:23:57 -05:00
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|