summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2011-08-12 06:57:22 +0000
committerLeif Åstrand <leif@vaadin.com>2011-08-12 06:57:22 +0000
commit93b81024de12fac0df9bcb4179f85b91b9125eec (patch)
tree4e75f75795b8ce94ef78351485775112af3c03ad /tests
parent99375fed88241616a1eb058659d58c01459474ca (diff)
downloadvaadin-framework-93b81024de12fac0df9bcb4179f85b91b9125eec.tar.gz
vaadin-framework-93b81024de12fac0df9bcb4179f85b91b9125eec.zip
#7020 Explicitly focus a field to avoid random focus frames in IE screenshots
svn changeset:20335/svn branch:6.7
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/vaadin/tests/components/notification/NotificationsHtmlAllowed.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/src/com/vaadin/tests/components/notification/NotificationsHtmlAllowed.java b/tests/src/com/vaadin/tests/components/notification/NotificationsHtmlAllowed.java
index d4f153d301..9157c30174 100644
--- a/tests/src/com/vaadin/tests/components/notification/NotificationsHtmlAllowed.java
+++ b/tests/src/com/vaadin/tests/components/notification/NotificationsHtmlAllowed.java
@@ -22,6 +22,7 @@ public class NotificationsHtmlAllowed extends TestBase implements ClickListener
protected void setup() {
captionField = new TextField("Caption", "Hello <u>world</u>");
addComponent(captionField);
+ captionField.focus();
messageField = new TextArea("Message",
"Hello <i>world</i>\nWith a newline <br/>And a html line break");