summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>2013-05-02 13:48:45 +0000
committerVaadin Code Review <review@vaadin.com>2013-05-10 13:27:29 +0000
commitbdb793187c513121cc3b4732b053ba549d94e7b8 (patch)
treea644eccd3549f5c18d985588c45b542dfacab07e /tests
parent21d9b67d8bf5841aee0116fef031f549b3417af9 (diff)
downloadvaadin-framework-bdb793187c513121cc3b4732b053ba549d94e7b8.tar.gz
vaadin-framework-bdb793187c513121cc3b4732b053ba549d94e7b8.zip
Merge test for #11623 to 7.0.
The fix itself is not required due to the changed style name handling. svn changeset:25902/svn branch:6.8 svn changeset:25903/svn branch:6.8 Change-Id: I95a9adbcac82236017369003765735bbaacfe980
Diffstat (limited to 'tests')
-rw-r--r--tests/testbench/com/vaadin/tests/components/textfield/TextChangeListenerLosesFocus.html72
1 files changed, 72 insertions, 0 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/textfield/TextChangeListenerLosesFocus.html b/tests/testbench/com/vaadin/tests/components/textfield/TextChangeListenerLosesFocus.html
new file mode 100644
index 0000000000..d0dec8ce40
--- /dev/null
+++ b/tests/testbench/com/vaadin/tests/components/textfield/TextChangeListenerLosesFocus.html
@@ -0,0 +1,72 @@
+<?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:8068/" />
+<title>TextChangeListenerLosesFocus</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">TextChangeListenerLosesFocus</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/run/com.vaadin.tests.components.textfield.TextChangeListenerLosesFocus?restartApplication</td>
+ <td></td>
+</tr>
+<tr>
+ <td>focus</td>
+ <td>test-textfield</td>
+ <td></td>
+</tr>
+<tr>
+ <td>enterCharacter</td>
+ <td>test-textfield</td>
+ <td>123</td>
+</tr>
+<tr>
+ <td>pause</td>
+ <td>1000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertValue</td>
+ <td>test-textfield</td>
+ <td>Updated by TextChangeListener</td>
+</tr>
+<tr>
+ <td>assertCSSClass</td>
+ <td>test-textfield</td>
+ <td>v-textfield-focus</td>
+</tr>
+<tr>
+ <td>focus</td>
+ <td>test-textarea</td>
+ <td></td>
+</tr>
+<tr>
+ <td>enterCharacter</td>
+ <td>test-textarea</td>
+ <td>123</td>
+</tr>
+<tr>
+ <td>pause</td>
+ <td>1000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertValue</td>
+ <td>test-textarea</td>
+ <td>Updated by TextChangeListener</td>
+</tr>
+<tr>
+ <td>assertCSSClass</td>
+ <td>test-textarea</td>
+ <td>v-textarea-focus</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>