summaryrefslogtreecommitdiffstats
path: root/uitest/tb2/com/vaadin/tests/components/OutOfSyncTest.html
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/tb2/com/vaadin/tests/components/OutOfSyncTest.html')
-rw-r--r--uitest/tb2/com/vaadin/tests/components/OutOfSyncTest.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/uitest/tb2/com/vaadin/tests/components/OutOfSyncTest.html b/uitest/tb2/com/vaadin/tests/components/OutOfSyncTest.html
new file mode 100644
index 0000000000..4828069e2a
--- /dev/null
+++ b/uitest/tb2/com/vaadin/tests/components/OutOfSyncTest.html
@@ -0,0 +1,38 @@
+<?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://localhost:8888/" />
+<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/OutOfSyncTest?restartApplication</td>
+ <td></td>
+</tr>
+<tr>
+ <td>pause</td>
+ <td>1000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>vaadin=runOutOfSyncTest::/VButton[0]/domChild[0]/domChild[0]</td>
+ <td></td>
+</tr>
+<!--Out of sync occured -> the button should be removed-->
+<tr>
+ <td>assertElementNotPresent</td>
+ <td>vaadin=runOutOfSyncTest::/VButton[0]</td>
+ <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>