From 63cdad4c96557364f765fdd8957e059bc2042722 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 9 Apr 2010 14:09:56 +0000 Subject: [PATCH] Merged test case from [11678] svn changeset:12447/svn branch:6.3 --- .../window/ModalWindowNativeSelect.java | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 tests/src/com/vaadin/tests/components/window/ModalWindowNativeSelect.java 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 -- 2.39.5