diff options
author | Johannes Dahlström <johannes.dahlstrom@vaadin.com> | 2011-11-18 12:32:36 +0000 |
---|---|---|
committer | Johannes Dahlström <johannes.dahlstrom@vaadin.com> | 2011-11-18 12:32:36 +0000 |
commit | 01e8f2b253714c4621a1c5d253ed590104b61b69 (patch) | |
tree | ffcef778b9d4a4cea4bb89760db0c6d5f5bc8a96 /tests | |
parent | dcc6cecf3633ae471855b858d466c3ae0469480a (diff) | |
download | vaadin-framework-01e8f2b253714c4621a1c5d253ed590104b61b69.tar.gz vaadin-framework-01e8f2b253714c4621a1c5d253ed590104b61b69.zip |
Patch and TestBench script for issue #7916 - setting VWindow height to undefined was a no-op
svn changeset:22063/svn branch:6.7
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testbench/com/vaadin/tests/components/window/SubWindowWithUndefinedHeight.html | 52 | ||||
-rw-r--r-- | tests/testbench/com/vaadin/tests/components/window/SubWindowWithUndefinedHeight.java | 1 |
2 files changed, 52 insertions, 1 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/window/SubWindowWithUndefinedHeight.html b/tests/testbench/com/vaadin/tests/components/window/SubWindowWithUndefinedHeight.html new file mode 100644 index 0000000000..2c3f651e41 --- /dev/null +++ b/tests/testbench/com/vaadin/tests/components/window/SubWindowWithUndefinedHeight.html @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head profile="http://selenium-ide.openqa.org/profiles/test-case"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<link rel="selenium.base" href="" /> +<title>SubWindowWithUndefinedHeight</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">SubWindowWithUndefinedHeight</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/run/com.vaadin.tests.components.window.SubWindowWithUndefinedHeight?restartApplication</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>vaadin=runcomvaadintestscomponentswindowSubWindowWithUndefinedHeight::/VVerticalLayout[0]/ChildComponentContainer[2]/VButton[0]/domChild[0]</td> + <td></td> +</tr> +<tr> + <td>screenCapture</td> + <td></td> + <td>initial-tab1</td> +</tr> +<tr> + <td>mouseClick</td> + <td>vaadin=runcomvaadintestscomponentswindowSubWindowWithUndefinedHeight::/VWindow[0]/FocusableScrollPanel[0]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[1]/domChild[0]/domChild[0]/domChild[0]</td> + <td>17,13</td> +</tr> +<tr> + <td>screenCapture</td> + <td></td> + <td>select-tab2</td> +</tr> +<tr> + <td>mouseClick</td> + <td>vaadin=runcomvaadintestscomponentswindowSubWindowWithUndefinedHeight::/VWindow[0]/FocusableScrollPanel[0]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]</td> + <td>8,9</td> +</tr> +<tr> + <td>screenCapture</td> + <td></td> + <td>select-tab1</td> +</tr> + +</tbody></table> +</body> +</html> diff --git a/tests/testbench/com/vaadin/tests/components/window/SubWindowWithUndefinedHeight.java b/tests/testbench/com/vaadin/tests/components/window/SubWindowWithUndefinedHeight.java index aa1165abdd..dbe5eda9af 100644 --- a/tests/testbench/com/vaadin/tests/components/window/SubWindowWithUndefinedHeight.java +++ b/tests/testbench/com/vaadin/tests/components/window/SubWindowWithUndefinedHeight.java @@ -5,7 +5,6 @@ import com.vaadin.ui.Window; import com.vaadin.ui.Button; import com.vaadin.ui.Table; import com.vaadin.ui.TabSheet; -import com.vaadin.ui.Label; public class SubWindowWithUndefinedHeight extends TestBase { |