aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/main/java/com/vaadin/tests/themes/valo/WindowControlButtonFocus.java
blob: ce30991be1fb0ae003d54387ad948464046a8608 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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.";
    }
}