Skip to content
Snippets Groups Projects
Commit 013c86de authored by anttil's avatar anttil
Browse files

SWE-2 / SP-263: Fix Hudson run

SVN: 26809
parent 37eb5930
No related branches found
No related tags found
No related merge requests found
......@@ -27,8 +27,11 @@
<target name="_run-testng-ui">
<condition property="internal-url" value="${ui-test.url}" else="">
<isset property="ui-test.url"/>
<condition property="internal-as-url" value="${ui-test.as-url}" else="">
<isset property="ui-test.as-url"/>
</condition>
<condition property="internal-dss-url" value="${ui-test.dss-url}" else="">
<isset property="ui-test.dss-url"/>
</condition>
<testng classpath="${ecp}"
......@@ -38,7 +41,8 @@
<xmlfileset dir="source/java" includes="${test.suite}" />
<jvmarg value="-Xmx1024M" />
<jvmarg value="-XX:MaxPermSize=512m" />
<jvmarg value="-Dui-test.url=${internal-url}" />
<jvmarg value="-Dui-test.as-url=${internal-as-url}" />
<jvmarg value="-Dui-test.dss-url=${internal-dss-url}" />
</testng>
<fail if="${failure.property}" />
......
......@@ -130,6 +130,10 @@ public abstract class SeleniumTest
dssUrl = "http://localhost:8889";
}
System.out.println("asUrl: " + asUrl);
System.out.println("dssUrl: " + dssUrl);
System.out.println("startPage: " + startPage);
driver = new FirefoxDriver();
setImplicitWaitToDefault();
delete(new File("targets/dist"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment