mirror of https://github.com/apache/archiva.git
[MRM-1323] run tests with applet disabled to avoid warnings popping up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@918745 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1dc20b01ac
commit
3b18981b51
|
@ -13,10 +13,5 @@ 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
|
||||
|
||||
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
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
<configuration>
|
||||
<localRepository></localRepository>
|
||||
<webapp>
|
||||
<ui>
|
||||
<appletFindEnabled>false</appletFindEnabled>
|
||||
</ui>
|
||||
</webapp>
|
||||
</configuration>
|
||||
|
|
|
@ -40,4 +40,6 @@ public class FindArtifactTest
|
|||
clickButtonWithValue( "Search" );
|
||||
assertTextPresent( "No results found" );
|
||||
}
|
||||
|
||||
// TODO: test using file upload on Firefox versions that support getAsBinary (ie, no applet)
|
||||
}
|
||||
|
|
|
@ -418,11 +418,9 @@ public abstract class AbstractArchivaTest
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue