]> source.dussan.org Git - vaadin-framework.git/commitdiff
#7020 Explicitly focus a field to avoid random focus frames in IE screenshots
authorLeif Åstrand <leif@vaadin.com>
Fri, 12 Aug 2011 06:57:22 +0000 (06:57 +0000)
committerLeif Åstrand <leif@vaadin.com>
Fri, 12 Aug 2011 06:57:22 +0000 (06:57 +0000)
svn changeset:20335/svn branch:6.7

tests/src/com/vaadin/tests/components/notification/NotificationsHtmlAllowed.java

index d4f153d30176d02ca4eddef1486ea3b857441b46..9157c301747f99f18fc71e3ba2763d1b03ec34f8 100644 (file)
@@ -22,6 +22,7 @@ public class NotificationsHtmlAllowed extends TestBase implements ClickListener
     protected void setup() {\r
         captionField = new TextField("Caption", "Hello <u>world</u>");\r
         addComponent(captionField);\r
+        captionField.focus();\r
 \r
         messageField = new TextArea("Message",\r
                 "Hello <i>world</i>\nWith a newline <br/>And a html line break");\r