To remove the Cargo installations and re-download them next run, use:
- mvn -Pclean-cargo clean
-The scripts cannot be run totally unattended. The following will fail if the dialog box that appears
-when the applet is run is not approved:
- testFindArtifactNullValues(org.apache.archiva.web.test.FindArtifactTest)
- testFindArtifactUsingChecksum(org.apache.archiva.web.test.FindArtifactTest)
-
Run Selenium tests in src/test/it with Maven and JUnit
- mvn clean install -f junit-pom.xml
assertPage( "Apache Archiva \\ Find Artifact" );
assertTextPresent( "Find Artifact" );
assertTextPresent( "Search for:" );
- assertElementPresent( "f" );
assertTextPresent( "Checksum:" );
assertElementPresent( "q" );
assertButtonWithValuePresent( "Search" );
- assertTextPresent( "This allows you to search the repository using the checksum of an artifact that you are trying to identify. You can either specify the checksum to look for directly, or scan a local artifact file." );
}
//Appearance