summaryrefslogtreecommitdiffstats
path: root/uitest/src/main/java/com
diff options
context:
space:
mode:
authorAnna Koskinen <Ansku@users.noreply.github.com>2017-11-28 13:34:00 +0200
committerTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-11-28 13:34:00 +0200
commit0fd59e941bb8ed0418cbb75a05c507aaeba09e47 (patch)
tree935b9df3e40608a3bdcf69b2da6d031ab236069f /uitest/src/main/java/com
parentd936003c92a8e3ac2e1c0637ac240f3d7624bc0d (diff)
downloadvaadin-framework-0fd59e941bb8ed0418cbb75a05c507aaeba09e47.tar.gz
vaadin-framework-0fd59e941bb8ed0418cbb75a05c507aaeba09e47.zip
Fix styling of Window control buttons to show focus (#10285)
Fixes #8918
Diffstat (limited to 'uitest/src/main/java/com')
-rw-r--r--uitest/src/main/java/com/vaadin/tests/themes/valo/WindowControlButtonFocus.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/themes/valo/WindowControlButtonFocus.java b/uitest/src/main/java/com/vaadin/tests/themes/valo/WindowControlButtonFocus.java
new file mode 100644
index 0000000000..ce30991be1
--- /dev/null
+++ b/uitest/src/main/java/com/vaadin/tests/themes/valo/WindowControlButtonFocus.java
@@ -0,0 +1,25 @@
+package com.vaadin.tests.themes.valo;
+
+import com.vaadin.server.VaadinRequest;
+import com.vaadin.tests.components.AbstractTestUI;
+import com.vaadin.ui.Label;
+import com.vaadin.ui.Window;
+
+public class WindowControlButtonFocus extends AbstractTestUI {
+ @Override
+ protected void setup(VaadinRequest request) {
+ Window window = new Window("Window", new Label());
+ window.center();
+ addWindow(window);
+ }
+
+ @Override
+ protected Integer getTicketNumber() {
+ return 8918;
+ }
+
+ @Override
+ protected String getTestDescription() {
+ return "Window control buttons should have noticeable focus styles.";
+ }
+}