aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/window/ModalWindowNativeSelect.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/window/ModalWindowNativeSelect.java')
-rw-r--r--uitest/src/com/vaadin/tests/components/window/ModalWindowNativeSelect.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/window/ModalWindowNativeSelect.java b/uitest/src/com/vaadin/tests/components/window/ModalWindowNativeSelect.java
new file mode 100644
index 0000000000..2c6d3c942f
--- /dev/null
+++ b/uitest/src/com/vaadin/tests/components/window/ModalWindowNativeSelect.java
@@ -0,0 +1,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;
+ }
+
+} \ No newline at end of file