summaryrefslogtreecommitdiffstats
path: root/uitest/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/build.xml')
-rw-r--r--uitest/build.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/uitest/build.xml b/uitest/build.xml
index 7d5ce867fe..b9bb5a4cbd 100644
--- a/uitest/build.xml
+++ b/uitest/build.xml
@@ -191,6 +191,44 @@
</parallel>
</target>
+ <target name="test-server" depends="clean-testbench-errors">
+ <property name="war.file" location="result/artifacts/${vaadin.version}/vaadin-uitest/vaadin-uitest-${vaadin.version}.war" />
+ <parallel>
+ <daemons>
+ <ant antfile="${uitest.dir}/vaadin-server.xml" inheritall="true" inheritrefs="true" target="deploy-and-start" />
+ </daemons>
+ <sequential>
+ <ant antfile="${uitest.dir}/integration_tests.xml" target="integration-test-all" inheritall="false" inheritrefs="false">
+ <property name="demo.war" value="${war.file}" />
+ </ant>
+ </sequential>
+ </parallel>
+ </target>
+
+ <target name="test-tb2" depends="clean-testbench-errors">
+ <property name="war.file" location="result/artifacts/${vaadin.version}/vaadin-uitest/vaadin-uitest-${vaadin.version}.war" />
+ <parallel>
+ <daemons>
+ <ant antfile="${uitest.dir}/vaadin-server.xml" inheritall="true" inheritrefs="true" target="deploy-and-start" />
+ </daemons>
+ <sequential>
+ <ant antfile="${uitest.dir}/test.xml" target="tb2-tests" />
+ </sequential>
+ </parallel>
+ </target>
+
+ <target name="test-tb3" depends="clean-testbench-errors">
+ <property name="war.file" location="result/artifacts/${vaadin.version}/vaadin-uitest/vaadin-uitest-${vaadin.version}.war" />
+ <parallel>
+ <daemons>
+ <ant antfile="${uitest.dir}/vaadin-server.xml" inheritall="true" inheritrefs="true" target="deploy-and-start" />
+ </daemons>
+ <sequential>
+ <ant antfile="${uitest.dir}/tb3test.xml" target="run-all-tb3-tests" inheritall="true" />
+ </sequential>
+ </parallel>
+ </target>
+
<target name="clean-testbench-errors">
<fail unless="com.vaadin.testbench.screenshot.directory" message="Define screenshot directory using -Dcom.vaadin.testbench.screenshot.directory" />
<mkdir dir="${com.vaadin.testbench.screenshot.directory}/errors" />