diff options
Diffstat (limited to 'uitest/integration-testscripts/weblogic-portal/integration-test-WebLogic-Portal-10.3.2-portlet2.html')
-rw-r--r-- | uitest/integration-testscripts/weblogic-portal/integration-test-WebLogic-Portal-10.3.2-portlet2.html | 139 |
1 files changed, 111 insertions, 28 deletions
diff --git a/uitest/integration-testscripts/weblogic-portal/integration-test-WebLogic-Portal-10.3.2-portlet2.html b/uitest/integration-testscripts/weblogic-portal/integration-test-WebLogic-Portal-10.3.2-portlet2.html index 98256862aa..f9f1d316c9 100644 --- a/uitest/integration-testscripts/weblogic-portal/integration-test-WebLogic-Portal-10.3.2-portlet2.html +++ b/uitest/integration-testscripts/weblogic-portal/integration-test-WebLogic-Portal-10.3.2-portlet2.html @@ -1,57 +1,140 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<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://vaadin-integration-tests.intra.itmill.com:7001/" /> -<title>integration-test-WebLogic-Portal-10.3.2-portlet2</title> -</head> -<body> -<table cellpadding="1" cellspacing="1" border="1"> -<thead> -<tr><td rowspan="1" colspan="3">integration-test-WebLogic-Portal-10.3.2-portlet2</td></tr> -</thead><tbody> <tr> <td>open</td> <td>/VaadinTest/TestPortal.portal</td> <td></td> </tr> +<!--Start actual test--> +<tr> + <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[4]/div//p</td> + <td>exact:Mode: view State: normal</td> +</tr> +<tr> + <td>screenCapture</td> + <td></td> + <td>initial</td> +</tr> <tr> <td>closeNotification</td> - <td>//body/div[4]</td> + <td>//body/div[4]/div</td> <td>0,0</td> </tr> <tr> + <td>assertTextNotPresent</td> + <td>Action * received</td> + <td></td> +</tr> +<tr> + <td>assertText</td> + <td>//div[@class="v-link v-disabled v-widget"]/a/span</td> + <td></td> +</tr> +<!--Send an action--> +<tr> <td>mouseClickAndWait</td> - <td>edit</td> - <td>31,9</td> + <td>//div[8]/div/a/span</td> + <td>32,9</td> +</tr> +<tr> + <td>assertTextPresent</td> + <td>Action 'someAction' received</td> + <td></td> +</tr> +<tr> + <td>assertText</td> + <td>//body/div[4]/div//p</td> + <td>exact:Mode: view State: normal</td> +</tr> +<tr> + <td>assertText</td> + <td>//div[@class="v-link v-disabled v-widget"]/a/span</td> + <td></td> </tr> <tr> <td>closeNotification</td> - <td>//body/div[4]</td> + <td>//body/div[4]/div</td> <td>0,0</td> </tr> +<!--Switch to edit mode--> <tr> - <td>screenCapture</td> - <td></td> - <td>Edit_mode</td> + <td>mouseClickAndWait</td> + <td>name=edit</td> + <td>3,5</td> +</tr> +<tr> + <td>assertText</td> + <td>//body/div[4]/div//p</td> + <td>exact:Mode: edit State: normal</td> +</tr> +<tr> + <td>closeNotification</td> + <td>//body/div[4]/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[4]/div//p</td> + <td>exact:Mode: edit State: maximized</td> +</tr> +<tr> + <td>closeNotification</td> + <td>//body/div[4]/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>vaadin=v-JSR286TestPortlet_1::/VVerticalLayout[0]/ChildComponentContainer[4]/VLink[0]/domChild[0]/domChild[0]</td> - <td>44,2</td> + <td>//div[6]/div/a/span</td> + <td>71,8</td> +</tr> +<tr> + <td>assertText</td> + <td>//body/div[4]/div//p</td> + <td>exact:Mode: edit State: normal</td> </tr> <tr> <td>closeNotification</td> - <td>//body/div[4]</td> + <td>//body/div[4]/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>done</td> + <td>final</td> </tr> - -</tbody></table> -</body> -</html> |