From: Artur Signell Date: Fri, 9 Apr 2010 14:09:56 +0000 (+0000) Subject: Merged test case from [11678] X-Git-Tag: 6.7.0.beta1~1752 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=63cdad4c96557364f765fdd8957e059bc2042722;p=vaadin-framework.git Merged test case from [11678] svn changeset:12447/svn branch:6.3 --- diff --git a/tests/src/com/vaadin/tests/components/window/ModalWindowNativeSelect.java b/tests/src/com/vaadin/tests/components/window/ModalWindowNativeSelect.java new file mode 100644 index 0000000000..d7672a88d5 --- /dev/null +++ b/tests/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