]> source.dussan.org Git - vaadin-framework.git/commitdiff
Tweak test scripts to work better with chrome
authorLeif Åstrand <leif@vaadin.com>
Tue, 24 Jul 2012 13:36:58 +0000 (16:36 +0300)
committerLeif Åstrand <leif@vaadin.com>
Tue, 24 Jul 2012 13:54:05 +0000 (16:54 +0300)
tests/integration-testscripts/GateIn-3/integration-test-GateIn-3.1.0-portlet2.html
tests/integration-testscripts/eXo-3/integration-test-eXo-3.0.3-portlet2.html

index 85258d7036213fd1f9c688c9226ff56039a27610..4bc3e6a2cf386af64c52b85f788357ff3c4dea90 100644 (file)
@@ -93,7 +93,7 @@
 </tr>
 <tr>
        <td>mouseClick</td>
-       <td>//div[3]/div</td>
+       <td>//div[@onclick=&quot;javascript:ajaxGet('/portal/private/classic/home?portal:componentId=UIApplicationList&amp;portal:action=SelectCategory&amp;objectId=demo&amp;ajaxRequest=true')&quot;]</td>
        <td>51,11</td>
 </tr>
 <tr>
        <td></td>
        <td>done</td>
 </tr>
-
 </tbody></table>
 </body>
 </html>
index 958c109e067a1381e4169b60fdeb1421eb4ca5db..62561a66fe46cd55dc59eff7cc9a953f2d983236 100644 (file)
 </thead><tbody>
 <tr>
        <td>open</td>
-       <td>/portal/public/default/</td>
+       <td>/portal/public/intranet/</td>
        <td></td>
 </tr>
-<tr>
-       <td>mouseClick</td>
-       <td>link=Visit the Acme Social Intranet</td>
-       <td>121,7</td>
-</tr>
 <tr>
        <td>setTimeout</td>
        <td>60000</td>
        <td></td>
 </tr>
 <tr>
-       <td>mouseClickAndWait</td>
-       <td>link=Applications Registry</td>
+       <td>open</td>
+       <td>/portal/private/intranet/administration/registry</td>
        <td>138,17</td>
 </tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>//div[@id='UIApplicationOrganizer']/div[1]/div[2]</td>
+       <td></td>
+</tr>
 <tr>
        <td>expectDialog</td>
-       <td>//div[@onclick=&quot;javascript:if(confirm('This action will automatically create categories and import all the gadgets and portlets on it.'))ajaxGet('/portal/private/intranet/administration/registry?portal:componentId=09e0ea8b-7d6e-410d-9ed0-871e3e7bc17f&amp;portal:type=action&amp;uicomponent=UIApplicationOrganizer&amp;op=ImportAllApplications&amp;ajaxRequest=true')&quot;]</td>
+       <td>//div[@id='UIApplicationOrganizer']/div[1]/div[2]</td>
        <td>36,15</td>
 </tr>
 <tr>
        <td></td>
        <td>done</td>
 </tr>
-
 </tbody></table>
 </body>
 </html>