diff options
Diffstat (limited to 'uitest/integration-testscripts/Liferay-6/integration-test-liferay-6.0.5.html')
-rw-r--r-- | uitest/integration-testscripts/Liferay-6/integration-test-liferay-6.0.5.html | 133 |
1 files changed, 119 insertions, 14 deletions
diff --git a/uitest/integration-testscripts/Liferay-6/integration-test-liferay-6.0.5.html b/uitest/integration-testscripts/Liferay-6/integration-test-liferay-6.0.5.html index 037ce23865..656f2352e5 100644 --- a/uitest/integration-testscripts/Liferay-6/integration-test-liferay-6.0.5.html +++ b/uitest/integration-testscripts/Liferay-6/integration-test-liferay-6.0.5.html @@ -69,7 +69,7 @@ <tr> <td>enterCharacter</td> <td>//div/span[1]/span/input</td> - <td>Vaadin Liferay Theme</td> + <td>portlet2</td> </tr> <tr> <td>mouseClick</td> @@ -133,43 +133,148 @@ </tr> <tr> <td>waitForElementPresent</td> - <td>//div[@title='Vaadin Liferay Theme']/p/a</td> + <td>//div[@title='Vaadin Portlet 2.0 Test']/p/a</td> <td></td> </tr> <tr> <td>mouseClick</td> - <td>//div[@title='Vaadin Liferay Theme']/p/a</td> + <td>//div[@title='Vaadin Portlet 2.0 Test']/p/a</td> <td>10,10</td> </tr> +<!--Start actual test--> <tr> - <td>waitForTextPresent</td> - <td>Normal Label</td> + <td>waitForElementPresent</td> + <td>//div[2]/div/div/div/span</td> <td></td> </tr> <tr> + <td>assertText</td> + <td>//div[2]/div/div/div/span</td> + <td>Test of ApplicationResources with full path</td> +</tr> +<tr> + <td>assertText</td> + <td>//body/div[3]/div//p</td> + <td>exact:Mode: view State: normal</td> +</tr> +<tr> <td>screenCapture</td> <td></td> - <td>theme</td> + <td>initial</td> </tr> <tr> - <td>mouseClick</td> - <td>//td[3]/div/div/div</td> - <td>22,7</td> + <td>closeNotification</td> + <td>//body/div[3]/div</td> + <td>0,0</td> </tr> <tr> - <td>assertTextPresent</td> - <td>Normal TextField</td> + <td>assertTextNotPresent</td> + <td>Action * received</td> <td></td> </tr> <tr> + <td>assertText</td> + <td>//div[@class="v-link v-widget"]/a/span</td> + <td>Edit</td> +</tr> +<!--Send an action--> +<tr> + <td>mouseClickAndWait</td> + <td>//div[8]/div/a/span</td> + <td>32,9</td> +</tr> +<tr> <td>assertTextPresent</td> - <td>Normal TextArea</td> + <td>Action 'someAction' received</td> <td></td> </tr> <tr> - <td>assertTextNotPresent</td> - <td>Normal Label</td> + <td>assertText</td> + <td>//body/div[3]/div//p</td> + <td>exact:Mode: view State: normal</td> +</tr> +<tr> + <td>assertText</td> + <td>//div[@class="v-link v-widget"]/a/span</td> + <td>Edit</td> +</tr> +<tr> + <td>closeNotification</td> + <td>//body/div[3]/div</td> + <td>0,0</td> +</tr> +<!--Switch to edit mode--> +<tr> + <td>mouseClickAndWait</td> + <td>//div[5]/div/a/span</td> + <td>12,3</td> +</tr> +<tr> + <td>assertText</td> + <td>//body/div[3]/div//p</td> + <td>exact:Mode: edit State: normal</td> +</tr> +<tr> + <td>closeNotification</td> + <td>//body/div[3]/div</td> + <td>0,0</td> +</tr> +<tr> + <td>assertText</td> + <td>//div[@class="v-link v-widget"]/a/span</td> + <td>Done</td> +</tr> +<!--Maximize--> +<tr> + <td>mouseClickAndWait</td> + <td>//div[6]/div/a/span</td> + <td>16,7</td> +</tr> +<tr> + <td>assertText</td> + <td>//body/div[3]/div//p</td> + <td>exact:Mode: edit State: maximized</td> +</tr> +<tr> + <td>closeNotification</td> + <td>//body/div[3]/div</td> + <td>0,0</td> +</tr> +<tr> + <td>assertText</td> + <td>//div[6]/div/a/span</td> + <td>Back to normal</td> +</tr> +<!--Restore back to normal--> +<tr> + <td>mouseClickAndWait</td> + <td>//div[6]/div/a/span</td> + <td>71,8</td> +</tr> +<tr> + <td>assertText</td> + <td>//body/div[3]/div//p</td> + <td>exact:Mode: edit State: normal</td> +</tr> +<tr> + <td>closeNotification</td> + <td>//body/div[3]/div</td> + <td>0,0</td> +</tr> +<tr> + <td>assertText</td> + <td>//div[@class="v-link v-widget"]/a/span</td> + <td>Done</td> +</tr> +<tr> + <td>assertText</td> + <td>//div[6]/div/a/span</td> + <td>Maximize</td> +</tr> +<tr> + <td>screenCapture</td> <td></td> + <td>final</td> </tr> </tbody></table> </body> |