Lifray test update svn changeset:13853/svn branch:6.4tags/6.7.0.beta1
@@ -3,7 +3,7 @@ | |||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |||
<head profile="http://selenium-ide.openqa.org/profiles/test-case"> | |||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |||
<link rel="selenium.base" href="http://192.168.56.102:8080/" /> | |||
<link rel="selenium.base" href="http://rndtestlinux.office.itmill.com:8080/" /> | |||
<title>Add_Sampler_to_Liferay</title> | |||
</head> | |||
<body> | |||
@@ -37,8 +37,8 @@ | |||
<td>26,13</td> | |||
</tr> | |||
<tr> | |||
<td>pause</td> | |||
<td>200</td> | |||
<td>waitForElementPresent</td> | |||
<td>//div[@id='navigation']/ul/li[2]/a/span</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
@@ -52,8 +52,8 @@ | |||
<td>122,21</td> | |||
</tr> | |||
<tr> | |||
<td>pause</td> | |||
<td>200</td> | |||
<td>waitForElementPresent</td> | |||
<td>//div[1]/div[1]/span</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
@@ -72,12 +72,12 @@ | |||
<td>76,18</td> | |||
</tr> | |||
<tr> | |||
<td>pause</td> | |||
<td>3000</td> | |||
<td>waitForElementPresent</td> | |||
<td>//div[@id='Vaadin']/h2/span</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td>mouseClickAndWait</td> | |||
<td>mouseClick</td> | |||
<td>//div[@id='Vaadin-Sampler']/p/a</td> | |||
<td>9,8</td> | |||
</tr> |
@@ -16,6 +16,11 @@ | |||
<td>/web/guest/sampler</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td>waitForElementPresent</td> | |||
<td>//div[@id='add-page']/a/span</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td>waitForVaadin</td> | |||
<td></td> | |||
@@ -43,7 +48,7 @@ | |||
</tr> | |||
<tr> | |||
<td>mouseClick</td> | |||
<td>vaadin=demosampler::/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[7]/VHorizontalLayout[0]/ChildComponentContainer[1]/VNativeButton[0]</td> | |||
<td>vaadin=demosampler::/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[6]/VHorizontalLayout[0]/ChildComponentContainer[1]/VNativeButton[0]</td> | |||
<td>11,12</td> | |||
</tr> | |||
<tr> | |||
@@ -63,7 +68,7 @@ | |||
</tr> | |||
<tr> | |||
<td>mouseClick</td> | |||
<td>vaadin=demosampler::/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[7]/VHorizontalLayout[0]/ChildComponentContainer[1]/VNativeButton[0]</td> | |||
<td>vaadin=demosampler::/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[6]/VHorizontalLayout[0]/ChildComponentContainer[1]/VNativeButton[0]</td> | |||
<td>11,12</td> | |||
</tr> | |||
<tr> |
@@ -17,7 +17,7 @@ | |||
<property name="test-output-dir" value="../build/test-output" /> | |||
<property name="class-dir" value="${test-output-dir}/classes" /> | |||
<taskdef resource="net/sf/antcontrib/antcontrib.properties"> | |||
<taskdef resource="net/sf/antcontrib/antlib.xml"> | |||
<classpath> | |||
<pathelement location="../build/lib/ant-contrib-1.0b3.jar"/> | |||
</classpath> | |||
@@ -106,11 +106,16 @@ | |||
</target> | |||
<target name="run-tests" depends="compile-tests" if="server.start.succeeded"> | |||
<foreach maxthreads="20" parallel="true" target="execute-tests" param="target"> | |||
<for threadCount="20" parallel="true" keepgoing="true" param="target"> | |||
<path> | |||
<fileset dir="${test-output-dir}" includes="**/**.java" /> | |||
</path> | |||
</foreach> | |||
<sequential> | |||
<antcall target="execute-tests"> | |||
<param name="target" value="@{target}" /> | |||
</antcall> | |||
</sequential> | |||
</for> | |||
</target> | |||
<!-- This target runs the generated and compiled junit tests --> | |||
@@ -136,7 +141,7 @@ | |||
<filelist dir="${test-output-dir}" files="${target}" /> | |||
</batchtest> | |||
</junit> | |||
</target> | |||
<!-- Remove temporary source and compiled java files --> |