<property name="com.vaadin.testbench.lib.dir" value="${com.vaadin.testbench.lib.dir}"/>
<property name="com.vaadin.testbench.debug" value="${com.vaadin.testbench.debug}"/>
<property name="com.vaadin.testbench.screenshot.block.error" value="${com.vaadin.testbench.screenshot.block.error}"/>
+
+ <property name="deps.initialized" value="${deps.initialized}"/>
</ant>
<property name="sshkey.file" value="${sshkey.file}" />
<property name="passphrase" value="${passphrase}" />
<property name="demo.war" value="${tests.war}"/>
+
+ <property name="deps.initialized" value="${deps.initialized}"/>
</ant>
</target>
</project>
<!-- Import common targets -->
<import file="../build/common.xml" />
- <!-- Import targets for server management -->
- <import file="vaadin-server.xml" as="server"/>
<!-- ================================================================== -->
<!-- Configuration -->
</fileset>
<!-- This target converts HTML tests files to java junit tests. One test file for each browser is created. -->
- <target name="create-tests" depends="remove-temp-testclasses">
+ <target name="create-tests" depends="initialize, remove-temp-testclasses">
<pathconvert pathsep=" " property="testfiles" refid="html-test-files" />
<java classname="com.vaadin.testbench.util.TestConverter" classpathref="classpath" fork="true">
<ant antfile="vaadin-server.xml" inheritall="true" inheritrefs="true" target="deploy-and-start" />
</daemons>
<sequential>
- <antcall target="server.wait-for-startup" />
+ <ant antfile="vaadin-server.xml" target="wait-for-startup" />
<antcall inheritall="true" inheritrefs="true" target="run-and-clean-up" />
<move file="${testing.testarea}/${package.name}/war.ec" todir="../build/result" failonerror="false" />
</sequential>
<target name="wait-for-startup">
<echo>Waiting for Servlet Container to start up.</echo>
- <waitfor maxwait="30" maxwaitunit="second" checkevery="3" checkeveryunit="second" timeoutproperty="server.start.failed">
+ <waitfor maxwait="60" maxwaitunit="second" checkevery="5" checkeveryunit="second" timeoutproperty="server.start.failed">
<http url="http://localhost:8888"/>
</waitfor>
<fail if="server.start.failed" message="Server startup failed" />