aboutsummaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2013-07-04 10:08:52 +0300
committerHenri Sara <hesara@vaadin.com>2013-07-04 10:08:52 +0300
commit9a9b0a518000d2c765917e83ccf798dfa3e4c72a (patch)
treec3f264000918d7b202b4daad766bd22b8ab62158 /uitest
parentf7cc72df9b6fb54be95a02b9977e9df264037135 (diff)
downloadvaadin-framework-9a9b0a518000d2c765917e83ccf798dfa3e4c72a.tar.gz
vaadin-framework-9a9b0a518000d2c765917e83ccf798dfa3e4c72a.zip
Automatic test for escape closing window from combobox (#12163)
Change-Id: I38a143fb76ebf3a64cd416e5ba7d325aedc60ffe
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/components/combobox/EscapeClosesComboboxNotWindow.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/combobox/EscapeClosesComboboxNotWindow.html b/uitest/src/com/vaadin/tests/components/combobox/EscapeClosesComboboxNotWindow.html
new file mode 100644
index 0000000000..312fffcb97
--- /dev/null
+++ b/uitest/src/com/vaadin/tests/components/combobox/EscapeClosesComboboxNotWindow.html
@@ -0,0 +1,42 @@
+<?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>EscapeClosesComboboxNotWindow</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">EscapeClosesComboboxNotWindow</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/run/EscapeClosesComboboxNotWindow?restartApplication</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>vaadin=runEscapeClosesComboboxNotWindow::/VVerticalLayout[0]/Slot[0]/VButton[0]/domChild[0]/domChild[0]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>mouseClick</td>
+ <td>vaadin=runEscapeClosesComboboxNotWindow::/VWindow[0]/FocusableScrollPanel[0]/VFormLayout[0]/VFormLayout$VFormLayoutTable[0]/VFilterSelect[0]/domChild[1]</td>
+ <td>10,16</td>
+</tr>
+<tr>
+ <td>keyDown</td>
+ <td>vaadin=runEscapeClosesComboboxNotWindow::/VWindow[0]/FocusableScrollPanel[0]/VFormLayout[0]/VFormLayout$VFormLayoutTable[0]/VFilterSelect[0]/domChild[0]</td>
+ <td>\27</td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>Window</td>
+ <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>