]> source.dussan.org Git - vaadin-framework.git/commitdiff
Automatic test for escape closing window from combobox (#12163)
authorHenri Sara <hesara@vaadin.com>
Thu, 4 Jul 2013 07:08:52 +0000 (10:08 +0300)
committerHenri Sara <hesara@vaadin.com>
Thu, 4 Jul 2013 07:08:52 +0000 (10:08 +0300)
Change-Id: I38a143fb76ebf3a64cd416e5ba7d325aedc60ffe

uitest/src/com/vaadin/tests/components/combobox/EscapeClosesComboboxNotWindow.html [new file with mode: 0644]

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 (file)
index 0000000..312fffc
--- /dev/null
@@ -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>