aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/window/ModalWindowNativeSelect.java
blob: 2c6d3c942f8fe111a73da8ee11af773531af0fad (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
26
27
28
29
30
31
32
package com.vaadin.tests.components.window;

import com.vaadin.tests.components.TestBase;
import com.vaadin.ui.NativeSelect;
import com.vaadin.ui.Window;

public class ModalWindowNativeSelect extends TestBase {

    @Override
    protected void setup() {
        NativeSelect ns = new NativeSelect();

        Window modalWindow = new Window();
        modalWindow.setModal(true);
        modalWindow.center();

        addComponent(ns);
        getMainWindow().addWindow(modalWindow);

    }

    @Override
    protected String getDescription() {
        return "The native select should be behind the modality curtain and user should not be able to interact with it";
    }

    @Override
    protected Integer getTicketNumber() {
        return 4261;
    }

}