From 51b5fd0ccc1bfc6336eebec833cfeff216226267 Mon Sep 17 00:00:00 2001 From: "mgencur@redhat.com" Date: Tue, 31 May 2011 14:12:25 +0200 Subject: [PATCH] profile for running functional tests on JBoss AS 7 --- examples/jsf/numberguess/pom.xml | 24 ++++ examples/pom.xml | 240 +++++++++++++++++++++++++++++++ 2 files changed, 264 insertions(+) diff --git a/examples/jsf/numberguess/pom.xml b/examples/jsf/numberguess/pom.xml index 439819aa70e..dcaea5850ff 100644 --- a/examples/jsf/numberguess/pom.xml +++ b/examples/jsf/numberguess/pom.xml @@ -617,6 +617,30 @@ + + ftest-jboss-remote-7 + + + + org.apache.maven.plugins + maven-antrun-plugin + + + org.codehaus.mojo + selenium-maven-plugin + + + org.codehaus.mojo + failsafe-maven-plugin + + + org.apache.maven.plugins + maven-antrun-plugin + + + + + ftest-jboss-cluster-6 diff --git a/examples/pom.xml b/examples/pom.xml index 2a8affa4474..40161646ea8 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -1171,6 +1171,246 @@ + + ftest-jboss-remote-7 + + jboss6x.xml + + + + + org.seleniumhq.selenium.client-drivers + selenium-java-client-driver + test + + + org.jboss.test + richfaces-selenium + ${richfaces.selenium.version} + test + + + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + true + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-ftest-source + + add-test-source + + + + ${ftest.sources.directory} + + + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + deploy + pre-integration-test + + + + + + + + + + + + run + + + + undeploy + post-integration-test + + + + + + + + run + + + + + + + + org.codehaus.mojo + selenium-maven-plugin + + + start-selenium + pre-integration-test + + start-server + + + true + ${selenium.server.port} + true + ${selenium.log.dir}/selenium-server.log + ${selenium.debug} + ${selenium.debug} + + + + + + + + org.codehaus.mojo + failsafe-maven-plugin + + + ${ftest.resources.directory}/${ftest.suite.xml} + + -Xmx748m + once + + + method + ${method} + + + browser + ${selenium.browser} + + + context.root + ${context.root} + + + context.path + ${context.path} + + + selenium.host + ${selenium.server.host} + + + selenium.port + ${selenium.server.port} + + + selenium.debug + ${selenium.debug} + + + selenium.maximize + ${selenium.maximize} + + + maven.resources.dir + ${resources.dir} + + + maven.project.build.directory + ${project.build.directory} + + + selenium.timeout.default + ${selenium.timeout.default} + + + selenium.timeout.gui + ${selenium.timeout.gui} + + + selenium.timeout.ajax + ${selenium.timeout.ajax} + + + selenium.timeout.model + ${selenium.timeout.model} + + + selenium.speed + ${selenium.speed} + + + selenium.timeout + ${selenium.timeout} + + + basedir + ${basedir} + + + + + + verify + verify + + verify + + + + integration-test + integration-test + + integration-test + + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + + + stop-selenium + post-integration-test + + + + + + + + run + + + + + + + + jboss-public-repository