mirror of https://github.com/apache/archiva.git
start fixing selenium tests, faster tests with no wait when testing javascript form validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172551 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
290e716752
commit
4ff75a4b90
|
@ -27,13 +27,13 @@ public class ArtifactManagementTest
|
|||
extends AbstractArtifactManagementTest
|
||||
{
|
||||
|
||||
@Test( alwaysRun = true )
|
||||
@Test( alwaysRun = true, dependsOnGroups = "about")
|
||||
public void testAddArtifactNullValues()
|
||||
{
|
||||
goToAddArtifactPage();
|
||||
clickButtonWithValue( "Submit" );
|
||||
assertTextPresent( "Please add a file to upload." );
|
||||
assertTextPresent( "Invalid version." );
|
||||
clickButtonWithValue( "Submit", false );
|
||||
//assertTextPresent( "Please add a file to upload." );
|
||||
assertTextPresent( "You must enter a version." );
|
||||
assertTextPresent( "You must enter a groupId." );
|
||||
assertTextPresent( "You must enter an artifactId." );
|
||||
assertTextPresent( "You must enter a version" );
|
||||
|
|
|
@ -72,6 +72,6 @@ public abstract class AbstractArtifactManagementTest
|
|||
setFieldValue( "artifactId", artifactId );
|
||||
setFieldValue( "version", version );
|
||||
selectValue( "repositoryId", repositoryId );
|
||||
clickButtonWithValue( "Submit" );
|
||||
clickButtonWithValue( "Submit", false );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue