From c388ed3b983e5a72b090c7c764efa7458b273b09 Mon Sep 17 00:00:00 2001 From: Wendy Smoak Date: Sat, 4 Apr 2009 03:13:14 +0000 Subject: [PATCH] [MRM-1164] Add it.properties to externalize info needed for tests. Adjust directory name for non-classpath resources in pom. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@761865 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-web/archiva-webapp-test/pom.xml | 22 ++++++++++++++----- .../src/test/resources/it.properties | 13 +++++++++++ 2 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 archiva-modules/archiva-web/archiva-webapp-test/src/test/resources/it.properties diff --git a/archiva-modules/archiva-web/archiva-webapp-test/pom.xml b/archiva-modules/archiva-web/archiva-webapp-test/pom.xml index 126580380..1b507b051 100644 --- a/archiva-modules/archiva-web/archiva-webapp-test/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp-test/pom.xml @@ -87,6 +87,16 @@ src/test/it + + maven-resources-plugin + + + + testResources + + + + org.codehaus.mojo dependency-maven-plugin @@ -136,22 +146,22 @@ - + - + - + - + - + - + diff --git a/archiva-modules/archiva-web/archiva-webapp-test/src/test/resources/it.properties b/archiva-modules/archiva-web/archiva-webapp-test/src/test/resources/it.properties new file mode 100644 index 000000000..a42183055 --- /dev/null +++ b/archiva-modules/archiva-web/archiva-webapp-test/src/test/resources/it.properties @@ -0,0 +1,13 @@ +#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