aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-03-15 14:56:09 +0200
committerArtur Signell <artur@vaadin.com>2013-03-15 14:56:30 +0200
commit0dbe5989a8c503bbe878bce20c9fe3ad1725f45e (patch)
tree55927f667afdc7e8510def6e841b37343d85f95a
parentf7b9f9f9afe8b09571d05f1790c9fe0c68a363a9 (diff)
downloadvaadin-framework-0dbe5989a8c503bbe878bce20c9fe3ad1725f45e.tar.gz
vaadin-framework-0dbe5989a8c503bbe878bce20c9fe3ad1725f45e.zip
Made test more reliable
Change-Id: Ibd93d834abaa1ec2ba322ab4ca9f53944cfe9519
-rw-r--r--uitest/integration-testscripts/GateIn-3/integration-test-GateIn-3.1.0-portlet2.html73
1 files changed, 59 insertions, 14 deletions
diff --git a/uitest/integration-testscripts/GateIn-3/integration-test-GateIn-3.1.0-portlet2.html b/uitest/integration-testscripts/GateIn-3/integration-test-GateIn-3.1.0-portlet2.html
index 9ae3865815..5d2d4c3445 100644
--- a/uitest/integration-testscripts/GateIn-3/integration-test-GateIn-3.1.0-portlet2.html
+++ b/uitest/integration-testscripts/GateIn-3/integration-test-GateIn-3.1.0-portlet2.html
@@ -17,11 +17,6 @@
<td></td>
</tr>
<tr>
- <td>setSpeed</td>
- <td>100</td>
- <td>100</td>
-</tr>
-<tr>
<td>mouseClickAndWait</td>
<td>link=Administrator</td>
<td>27,7</td>
@@ -32,52 +27,97 @@
<td>93,13</td>
</tr>
<tr>
- <td>mouseClickAndWait</td>
+ <td>mouseClick</td>
<td>link=Portlet</td>
<td>33,11</td>
</tr>
<tr>
- <td>mouseClickAndWait</td>
+ <td>waitForElementPresent</td>
<td>link=Vaadin Portlet 2.0 Test</td>
<td>59,9</td>
</tr>
<tr>
- <td>mouseClickAndWait</td>
+ <td>mouseClick</td>
+ <td>link=Vaadin Portlet 2.0 Test</td>
+ <td>59,9</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Click here to add into categories</td>
+ <td></td>
+</tr>
+<tr>
+ <td>mouseClick</td>
<td>link=Click here to add into categories</td>
<td>48,3</td>
</tr>
<tr>
- <td>mouseClickAndWait</td>
+ <td>waitForElementPresent</td>
+ <td>name=category_Gadgets</td>
+ <td></td>
+</tr>
+<tr>
+ <td>mouseClick</td>
<td>name=category_Gadgets</td>
<td>10,16</td>
</tr>
<tr>
- <td>mouseClickAndWait</td>
+ <td>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>mouseClick</td>
<td>link=Save</td>
<td>4,6</td>
</tr>
<tr>
- <td>mouseClickAndWait</td>
+ <td>waitForElementPresent</td>
+ <td>link=Vaadin Liferay Theme</td>
+ <td></td>
+</tr>
+<tr>
+ <td>mouseClick</td>
<td>link=Vaadin Liferay Theme</td>
<td>64,13</td>
</tr>
<tr>
- <td>mouseClickAndWait</td>
+ <td>waitForElementPresent</td>
+ <td>link=Click here to add into categories</td>
+ <td></td>
+</tr>
+<tr>
+ <td>mouseClick</td>
<td>link=Click here to add into categories</td>
<td>96,9</td>
</tr>
<tr>
- <td>mouseClickAndWait</td>
+ <td>waitForElementPresent</td>
<td>name=category_Gadgets</td>
<td>7,12</td>
</tr>
<tr>
- <td>mouseClickAndWait</td>
+ <td>mouseClick</td>
+ <td>name=category_Gadgets</td>
+ <td>7,12</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
<td>link=Save</td>
<td>4,6</td>
</tr>
<tr>
<td>mouseClick</td>
+ <td>link=Save</td>
+ <td>4,6</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Add New Page</td>
+ <td>55,11</td>
+</tr>
+<tr>
+ <td>mouseClick</td>
<td>link=Add New Page</td>
<td>55,11</td>
</tr>
@@ -127,6 +167,11 @@
<td>//div[2]/div/div/div[1]/div/div[2]/div/div/div/div</td>
<td>113,9</td>
</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>Vaadin Portlet 2.0 Test</td>
+ <td></td>
+</tr>
<!--Switch to view mode-->
<tr>
<td>mouseClickAndWait</td>