mirror of https://github.com/apache/archiva.git
[MRM-1276] Selenium tests need a clean up
- removed it.properties in src/test/resources - updated the path in property file and some classes for the changes made in r.928992 git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@929005 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
edf2cd3a40
commit
b60226f360
|
@ -1,13 +0,0 @@
|
|||
#properties for integration tests
|
||||
|
||||
BASE_URL=http://localhost:9696/archiva
|
||||
MAX_WAIT_TIME_IN_MS=60000
|
||||
|
||||
ADMIN_USERNAME=admin
|
||||
ADMIN_FULLNAME=Administrator
|
||||
ADMIN_EMAIL=admin@localhost
|
||||
ADMIN_PASSWORD=admin123
|
||||
|
||||
SELENIUM_HOST=localhost
|
||||
SELENIUM_PORT=4444
|
||||
SELENIUM_BROWSER=*firefox
|
|
@ -93,7 +93,7 @@ SNAPSHOT_GROUPID=org.apache.archiva
|
|||
SNAPSHOT_ARTIFACTID=archiva-test
|
||||
SNAPSHOT_VERSION=1.0-SNAPSHOT
|
||||
SNAPSHOT_PACKAGING=jar
|
||||
SNAPSHOT_ARTIFACTFILEPATH=src/test/it-resources/snapshots/org/apache/maven/archiva/web/test/foo-bar/1.0-SNAPSHOT/foo-bar-1.0-SNAPSHOT.jar
|
||||
SNAPSHOT_ARTIFACTFILEPATH=src/test/resources/snapshots/org/apache/maven/archiva/web/test/foo-bar/1.0-SNAPSHOT/foo-bar-1.0-SNAPSHOT.jar
|
||||
SNAPSHOT_REPOSITORYID=snapshots
|
||||
|
||||
# REPOSITORIES
|
||||
|
|
|
@ -60,7 +60,7 @@ public class BrowseTest
|
|||
|
||||
String snapshotsRepo = getProperty( "SNAPSHOTS_REPOSITORY" );
|
||||
|
||||
String path = "src/test/it-resources/snapshots/org/apache/maven/archiva/web/test/foo-bar/1.0-SNAPSHOT/foo-bar-1.0-SNAPSHOT.jar";
|
||||
String path = "src/test/resources/snapshots/org/apache/maven/archiva/web/test/foo-bar/1.0-SNAPSHOT/foo-bar-1.0-SNAPSHOT.jar";
|
||||
// TODO: do this differently as uploading doesn't work on browsers other than *chrome (below as well)
|
||||
// upload a snapshot artifact to repository 'releases'
|
||||
addArtifact( "archiva", "archiva-webapp", "1.0-SNAPSHOT", "jar", path, releasesRepo );
|
||||
|
|
|
@ -30,7 +30,7 @@ public abstract class AbstractArtifactManagementTest
|
|||
|
||||
public String getArtifactFilePath()
|
||||
{
|
||||
return "src/test/it-resources/snapshots/org/apache/maven/archiva/web/test/foo-bar/1.0-SNAPSHOT/foo-bar-1.0-SNAPSHOT.jar";
|
||||
return "src/test/resources/snapshots/org/apache/maven/archiva/web/test/foo-bar/1.0-SNAPSHOT/foo-bar-1.0-SNAPSHOT.jar";
|
||||
}
|
||||
|
||||
public String getRepositoryId()
|
||||
|
|
Loading…
Reference in New Issue