]> source.dussan.org Git - vaadin-framework.git/commitdiff
Split UiAccess test (#12332)
authorLeif Åstrand <leif@vaadin.com>
Wed, 7 Aug 2013 08:22:09 +0000 (11:22 +0300)
committerVaadin Code Review <review@vaadin.com>
Wed, 7 Aug 2013 09:42:13 +0000 (09:42 +0000)
Change-Id: I231e84d84adca79549d00a88dd4ae613ff291dbc

uitest/src/com/vaadin/tests/components/ui/UiAccess.html
uitest/src/com/vaadin/tests/components/ui/UiAccessPush.html [new file with mode: 0644]

index 734b95952a460beda573ec55560f81cbffbeacbc..613691623cfce0e69d3fec787fe01b3facd01281 100644 (file)
        <td>vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_0</td>
        <td>3. Test value after access: Set before run pending</td>
 </tr>
-<!-- Run last part with push enabled -->
-<tr>
-       <td>open</td>
-       <td>/run/com.vaadin.tests.components.ui.UiAccess?restartApplication&amp;transport=websocket</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>vaadin=runcomvaadintestscomponentsuiUiAccess::/VVerticalLayout[0]/Slot[2]/VVerticalLayout[0]/Slot[7]/VButton[0]/domChild[0]/domChild[0]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForNotText</td>
-       <td>vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_0</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_0</td>
-       <td>exact:1. Current session matches in beforeResponse? true</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_1</td>
-       <td>exact:0. Current UI matches in beforeResponse? true</td>
-</tr>
 </tbody></table>
 </body>
 </html>
diff --git a/uitest/src/com/vaadin/tests/components/ui/UiAccessPush.html b/uitest/src/com/vaadin/tests/components/ui/UiAccessPush.html
new file mode 100644 (file)
index 0000000..bc29534
--- /dev/null
@@ -0,0 +1,41 @@
+<?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="" />
+<title>New Test</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">New Test</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/run/com.vaadin.tests.components.ui.UiAccess?restartApplication&amp;transport=websocket</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>vaadin=runcomvaadintestscomponentsuiUiAccess::/VVerticalLayout[0]/Slot[2]/VVerticalLayout[0]/Slot[7]/VButton[0]/domChild[0]/domChild[0]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForNotText</td>
+       <td>vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_0</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_0</td>
+       <td>exact:1. Current session matches in beforeResponse? true</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_1</td>
+       <td>exact:0. Current UI matches in beforeResponse? true</td>
+</tr>
+</tbody></table>
+</body>
+</html>