From: Artur Signell Date: Tue, 15 Sep 2009 08:06:31 +0000 (+0000) Subject: Merged test changes from 6.1 X-Git-Tag: 6.7.0.beta1~2481 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=30f5f0e698e80c3172c863e0a4e92a3b672d65a7;p=vaadin-framework.git Merged test changes from 6.1 svn changeset:8789/svn branch:6.2 --- diff --git a/build/build.xml b/build/build.xml index 6759566ae3..e69ebed14d 100644 --- a/build/build.xml +++ b/build/build.xml @@ -240,6 +240,8 @@ + + @@ -630,7 +632,7 @@ - + @@ -650,7 +652,7 @@ - + @@ -698,11 +700,13 @@ - + + - + + @@ -747,7 +751,7 @@ - + @@ -985,7 +989,7 @@ - + @@ -997,7 +1001,7 @@ - + @@ -1130,7 +1134,7 @@ - + @@ -1230,22 +1234,29 @@ + Version: ${version} + - - + + + + + + + - - + + diff --git a/build/package/WebContent/WEB-INF/web.xml b/build/package/WebContent/WEB-INF/web.xml index 4b7937b302..e78047ca48 100644 --- a/build/package/WebContent/WEB-INF/web.xml +++ b/build/package/WebContent/WEB-INF/web.xml @@ -47,11 +47,7 @@ --> VaadinApplicationRunner - com.vaadin.terminal.gwt.server.ApplicationServlet - - applicationRunner - true - + com.vaadin.terminal.gwt.server.ApplicationRunnerServlet diff --git a/src/com/vaadin/tests/components/HierarchicalContainerSorting.java b/src/com/vaadin/tests/components/HierarchicalContainerSorting.java new file mode 100644 index 0000000000..4e498d93b6 --- /dev/null +++ b/src/com/vaadin/tests/components/HierarchicalContainerSorting.java @@ -0,0 +1,97 @@ +package com.vaadin.tests.components; + +import com.vaadin.data.Item; +import com.vaadin.data.util.HierarchicalContainer; +import com.vaadin.data.util.IndexedContainer; +import com.vaadin.ui.HorizontalLayout; +import com.vaadin.ui.Tree; + +public class HierarchicalContainerSorting extends TestBase { + IndexedContainer hierarchicalContainer = new HierarchicalContainer(); + + IndexedContainer indexedContainer = new IndexedContainer(); + + @Override + public void setup() { + + populateContainer(indexedContainer); + populateContainer(hierarchicalContainer); + + sort(indexedContainer); + sort(hierarchicalContainer); + + HorizontalLayout hl = new HorizontalLayout(); + + Tree tree1 = new Tree("Tree with IndexedContainer"); + tree1.setContainerDataSource(indexedContainer); + hl.addComponent(tree1); + + Tree tree2 = new Tree("Tree with HierarchicalContainer"); + tree2.setContainerDataSource(hierarchicalContainer); + for (Object id : tree2.rootItemIds()) { + tree2.expandItemsRecursively(id); + } + hl.addComponent(tree2); + + addComponent(hl); + } + + private static void sort(IndexedContainer container) { + Object[] properties = new Object[1]; + properties[0] = "name"; + + boolean[] ascending = new boolean[1]; + ascending[0] = true; + + container.sort(properties, ascending); + } + + private static void populateContainer(IndexedContainer container) { + container.addContainerProperty("name", String.class, null); + + addItem(container, "Games", null); + addItem(container, "Call of Duty", "Games"); + addItem(container, "Might and Magic", "Games"); + addItem(container, "Fallout", "Games"); + addItem(container, "Red Alert", "Games"); + + addItem(container, "Cars", null); + addItem(container, "Toyota", "Cars"); + addItem(container, "Volvo", "Cars"); + addItem(container, "Audi", "Cars"); + addItem(container, "Ford", "Cars"); + + addItem(container, "Natural languages", null); + addItem(container, "Swedish", "Natural languages"); + addItem(container, "English", "Natural languages"); + addItem(container, "Finnish", "Natural languages"); + + addItem(container, "Programming languages", null); + addItem(container, "C++", "Programming languages"); + addItem(container, "PHP", "Programming languages"); + addItem(container, "Java", "Programming languages"); + addItem(container, "Python", "Programming languages"); + + } + + public static void addItem(IndexedContainer container, String string, + String parent) { + Item item = container.addItem(string); + item.getItemProperty("name").setValue(string); + + if (parent != null && container instanceof HierarchicalContainer) { + ((HierarchicalContainer) container).setParent(string, parent); + } + } + + @Override + protected String getDescription() { + return "The two trees contain the same data, one uses IndexedContainer, one uses HierarchicalContainer. Both should be sorted, both the root nodes and the children."; + } + + @Override + protected Integer getTicketNumber() { + return 3095; + } + +} \ No newline at end of file diff --git a/src/com/vaadin/tests/components/absolutelayout/AbsoluteLayoutClipping.html b/src/com/vaadin/tests/components/absolutelayout/AbsoluteLayoutClipping.html new file mode 100644 index 0000000000..ff5c890abf --- /dev/null +++ b/src/com/vaadin/tests/components/absolutelayout/AbsoluteLayoutClipping.html @@ -0,0 +1,27 @@ + + + + + + +AbsoluteLayoutClipping + + + + + + + + + + + + + + + + + +
AbsoluteLayoutClipping
open/run/com.vaadin.tests.components.absolutelayout.AbsoluteLayoutClipping
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/abstractfield/AbstractFieldCommitWithInvalidValues.html b/src/com/vaadin/tests/components/abstractfield/AbstractFieldCommitWithInvalidValues.html new file mode 100644 index 0000000000..ef2c784e15 --- /dev/null +++ b/src/com/vaadin/tests/components/abstractfield/AbstractFieldCommitWithInvalidValues.html @@ -0,0 +1,72 @@ + + + + + + +AbstractFieldCommitWithInvalidValues + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AbstractFieldCommitWithInvalidValues
open/run/com.vaadin.tests.components.abstractfield.AbstractFieldCommitWithInvalidValues
waitForVaadin
clickvaadin=runcomvaadintestscomponentsabstractfieldAbstractFieldCommitWithInvalidValues::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]
waitForVaadin
screenCapture
clickAtvaadin=runcomvaadintestscomponentsabstractfieldAbstractFieldCommitWithInvalidValues::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]
waitForVaadin
typevaadin=runcomvaadintestscomponentsabstractfieldAbstractFieldCommitWithInvalidValues::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]long
clickvaadin=runcomvaadintestscomponentsabstractfieldAbstractFieldCommitWithInvalidValues::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/accordion/RemoveTabs.html b/src/com/vaadin/tests/components/accordion/RemoveTabs.html new file mode 100644 index 0000000000..ec24ade8ce --- /dev/null +++ b/src/com/vaadin/tests/components/accordion/RemoveTabs.html @@ -0,0 +1,122 @@ + + + + + + +RemoveTabsTest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
RemoveTabsTest
open/run/com.vaadin.tests.components.accordion.RemoveTabs
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentsaccordionRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentsaccordionRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VAccordion[0]/domChild[2]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentsaccordionRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[3]/VButton[0]/domChild[0]
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentsaccordionRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[4]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentsaccordionRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[2]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentsaccordionRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/beanitemcontainer/TestBeanItemContainerUsage.html b/src/com/vaadin/tests/components/beanitemcontainer/TestBeanItemContainerUsage.html new file mode 100644 index 0000000000..ea49b92c6a --- /dev/null +++ b/src/com/vaadin/tests/components/beanitemcontainer/TestBeanItemContainerUsage.html @@ -0,0 +1,37 @@ + + + + + + +TestBeanItemContainerUsage + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestBeanItemContainerUsage
open/run/com.vaadin.tests.components.beanitemcontainer.TestBeanItemContainerUsage
waitForVaadin
verifyTextPresentTable containing Persons



age

firstName

lastName




35
Jones
Birchman
30
Marc
Smith
75
Greg
Sandman
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/button/ButtonUndefinedWidth.html b/src/com/vaadin/tests/components/button/ButtonUndefinedWidth.html new file mode 100644 index 0000000000..7c9b3a6559 --- /dev/null +++ b/src/com/vaadin/tests/components/button/ButtonUndefinedWidth.html @@ -0,0 +1,82 @@ + + + + + + +ButtonUndefinedWidth + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ButtonUndefinedWidth
open/run/com.vaadin.tests.components.button.ButtonUndefinedWidth
waitForVaadin
screenCapture1
waitForVaadin
clickvaadin=runcomvaadintestscomponentsbuttonButtonUndefinedWidth::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentsbuttonButtonUndefinedWidth::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VNativeButton[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentsbuttonButtonUndefinedWidth::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[2]/VScrollTable[0]/ScrollPanel[0]/VScrollTable$VScrollTableBody[0]/VScrollTable$VScrollTableBody$VScrollTableRow[0]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentsbuttonButtonUndefinedWidth::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[2]/VScrollTable[0]/ScrollPanel[0]/VScrollTable$VScrollTableBody[0]/VScrollTable$VScrollTableBody$VScrollTableRow[1]/VNativeButton[0]
waitForVaadin
screenCapture1
+ + diff --git a/src/com/vaadin/tests/components/button/DisabledButtons.html b/src/com/vaadin/tests/components/button/DisabledButtons.html new file mode 100644 index 0000000000..65584fd4d0 --- /dev/null +++ b/src/com/vaadin/tests/components/button/DisabledButtons.html @@ -0,0 +1,32 @@ + + + + + + +DisabledButtons + + + + + + + + + + + + + + + + + + + + + + +
DisabledButtons
open/run/com.vaadin.tests.components.button.DisabledButtons
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/button/IE7ButtonWithIcon.html b/src/com/vaadin/tests/components/button/IE7ButtonWithIcon.html new file mode 100644 index 0000000000..a05b439759 --- /dev/null +++ b/src/com/vaadin/tests/components/button/IE7ButtonWithIcon.html @@ -0,0 +1,32 @@ + + + + + + +IE7ButtonWithIcon + + + + + + + + + + + + + + + + + + + + + + +
IE7ButtonWithIcon
open/run/com.vaadin.tests.components.button.IE7ButtonWithIcon
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/button/TooltipForDisabledButton.html b/src/com/vaadin/tests/components/button/TooltipForDisabledButton.html new file mode 100644 index 0000000000..f5dc4dfebe --- /dev/null +++ b/src/com/vaadin/tests/components/button/TooltipForDisabledButton.html @@ -0,0 +1,92 @@ + + + + + + +TooltipForDisabledButton + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TooltipForDisabledButton
open/run/com.vaadin.tests.components.button.TooltipForDisabledButton
waitForVaadin
clickvaadin=runcomvaadintestscomponentsbuttonTooltipForDisabledButton::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
mouseOvervaadin=runcomvaadintestscomponentsbuttonTooltipForDisabledButton::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
pause500
screenCapture
waitForVaadin
clickvaadin=runcomvaadintestscomponentsbuttonTooltipForDisabledButton::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
mouseOvervaadin=runcomvaadintestscomponentsbuttonTooltipForDisabledButton::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
pause500
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/caption/LargeCaptionIcon.html b/src/com/vaadin/tests/components/caption/LargeCaptionIcon.html new file mode 100644 index 0000000000..61a014c975 --- /dev/null +++ b/src/com/vaadin/tests/components/caption/LargeCaptionIcon.html @@ -0,0 +1,37 @@ + + + + + + +LargeCaptionIcon + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LargeCaptionIcon
open/run/com.vaadin.tests.components.caption.LargeCaptionIcon
screenCapture
refresh
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/checkbox/CheckboxCaptionWrapping.html b/src/com/vaadin/tests/components/checkbox/CheckboxCaptionWrapping.html new file mode 100644 index 0000000000..26ecc95721 --- /dev/null +++ b/src/com/vaadin/tests/components/checkbox/CheckboxCaptionWrapping.html @@ -0,0 +1,32 @@ + + + + + + +CheckboxCaptionWrapping + + + + + + + + + + + + + + + + + + + + + + +
CheckboxCaptionWrapping
open/run/com.vaadin.tests.components.checkbox.CheckboxCaptionWrapping
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/checkbox/CheckboxIcon.html b/src/com/vaadin/tests/components/checkbox/CheckboxIcon.html new file mode 100644 index 0000000000..1404a052f0 --- /dev/null +++ b/src/com/vaadin/tests/components/checkbox/CheckboxIcon.html @@ -0,0 +1,62 @@ + + + + + + +CheckboxIcon + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CheckboxIcon
open/run/com.vaadin.tests.components.checkbox.CheckboxIcon
waitForVaadin
verifyTextPresentA checkbox
waitForVaadin
clickvaadin=runcomvaadintestscomponentscheckboxCheckboxIcon::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VCheckBox[0]/domChild[0]
waitForVaadin
mouseOvervaadin=runcomvaadintestscomponentscheckboxCheckboxIcon::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VCheckBox[0]/domChild[0]
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/checkbox/CheckboxIcon.java b/src/com/vaadin/tests/components/checkbox/CheckboxIcon.java index b38348e45f..1f96a05084 100644 --- a/src/com/vaadin/tests/components/checkbox/CheckboxIcon.java +++ b/src/com/vaadin/tests/components/checkbox/CheckboxIcon.java @@ -20,7 +20,7 @@ public class CheckboxIcon extends TestBase { @Override protected void setup() { CheckBox checkbox = new CheckBox("A checkbox"); - checkbox.setIcon(new ThemeResource("icons/32/calendar.png")); + checkbox.setIcon(new ThemeResource("../runo/icons/32/calendar.png")); checkbox.setDescription("Tooltip for checkbox"); addComponent(checkbox); diff --git a/src/com/vaadin/tests/components/combobox/ComboBoxItemIcon.html b/src/com/vaadin/tests/components/combobox/ComboBoxItemIcon.html new file mode 100644 index 0000000000..447000d6d7 --- /dev/null +++ b/src/com/vaadin/tests/components/combobox/ComboBoxItemIcon.html @@ -0,0 +1,57 @@ + + + + + + +ComboBoxItemIcon + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ComboBoxItemIcon
open/run/com.vaadin.tests.components.combobox.ComboBoxItemIcon
waitForVaadin
clickvaadin=runcomvaadintestscomponentscomboboxComboBoxItemIcon::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VFilterSelect[0]/domChild[1]
waitForVaadin
screenCapture
click//div[@id='VAADIN_COMBOBOX_OPTIONLIST']/div/div[2]/table/tbody/tr[2]/td
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/combobox/ComboBoxNavigation.html b/src/com/vaadin/tests/components/combobox/ComboBoxNavigation.html new file mode 100644 index 0000000000..38f82be079 --- /dev/null +++ b/src/com/vaadin/tests/components/combobox/ComboBoxNavigation.html @@ -0,0 +1,82 @@ + + + + + + +ComboBoxNavigation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ComboBoxNavigation
open/run/com.vaadin.tests.components.combobox.ComboBoxNavigation
waitForVaadin
clickvaadin=runcomvaadintestscomponentscomboboxComboBoxNavigation::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VFilterSelect[0]/domChild[0]
waitForVaadin
keyPressvaadin=runcomvaadintestscomponentscomboboxComboBoxNavigation::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VFilterSelect[0]/domChild[0]\25
waitForVaadin
screenCapture
keyPressvaadin=runcomvaadintestscomponentscomboboxComboBoxNavigation::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VFilterSelect[0]/domChild[0]\25
waitForVaadin
screenCapture
keyPressvaadin=runcomvaadintestscomponentscomboboxComboBoxNavigation::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VFilterSelect[0]/domChild[0]\24
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/datefield/DateFieldReadOnly.html b/src/com/vaadin/tests/components/datefield/DateFieldReadOnly.html new file mode 100644 index 0000000000..efc9983ab5 --- /dev/null +++ b/src/com/vaadin/tests/components/datefield/DateFieldReadOnly.html @@ -0,0 +1,77 @@ + + + + + + +DateFieldReadOnly + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DateFieldReadOnly
open/run/com.vaadin.tests.components.datefield.DateFieldReadOnly
waitForVaadin
screenCapture1
clickvaadin=runcomvaadintestscomponentsdatefieldDateFieldReadOnly::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentsdatefieldDateFieldReadOnly::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VPopupCalendar[0]/domChild[1]
waitForVaadin
screenCapture2
waitForVaadin
clickAtvaadin=runcomvaadintestscomponentsdatefieldDateFieldReadOnly::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]0,0
waitForVaadin
screenCapture1
+ + diff --git a/src/com/vaadin/tests/components/datefield/DateFieldReadOnly.java b/src/com/vaadin/tests/components/datefield/DateFieldReadOnly.java index 857af3a8be..46af5b07be 100644 --- a/src/com/vaadin/tests/components/datefield/DateFieldReadOnly.java +++ b/src/com/vaadin/tests/components/datefield/DateFieldReadOnly.java @@ -30,7 +30,11 @@ public class DateFieldReadOnly extends TestBase { timeField.setWidth("8em"); timeField.addStyleName("timeField"); - timeField.setValue(new Date()); + // Set date so that testing always has same time + Date date = new Date(); + date.setTime((long) 1000000000000.0); + + timeField.setValue(date); timeField.setReadOnly(true); addComponent(timeField); diff --git a/src/com/vaadin/tests/components/datefield/TestDatefieldYear.html b/src/com/vaadin/tests/components/datefield/TestDatefieldYear.html new file mode 100644 index 0000000000..2582948eee --- /dev/null +++ b/src/com/vaadin/tests/components/datefield/TestDatefieldYear.html @@ -0,0 +1,92 @@ + + + + + + +TestDatefieldYear + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestDatefieldYear
open/run/com.vaadin.tests.components.datefield.TestDatefieldYear
waitForVaadin
clickvaadin=runcomvaadintestscomponentsdatefieldTestDatefieldYear::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VPopupCalendar[0]/domChild[1]
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentsdatefieldTestDatefieldYear::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VPopupCalendar[0]/domChild[1]
waitForVaadin
click//table[@id='PID_VAADIN_POPUPCAL']/tbody/tr/td[1]/button
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentsdatefieldTestDatefieldYear::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VPopupCalendar[0]/domChild[1]
waitForVaadin
click//table[@id='PID_VAADIN_POPUPCAL']/tbody/tr/td[2]/button
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/embedded/EmbeddedTooltip.html b/src/com/vaadin/tests/components/embedded/EmbeddedTooltip.html new file mode 100644 index 0000000000..43e9863fb9 --- /dev/null +++ b/src/com/vaadin/tests/components/embedded/EmbeddedTooltip.html @@ -0,0 +1,42 @@ + + + + + + +EmbeddedTooltip + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
EmbeddedTooltip
open/run/com.vaadin.tests.components.embedded.EmbeddedTooltip
waitForVaadin
screenCapture
mouseOvervaadin=runcomvaadintestscomponentsembeddedEmbeddedTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VEmbedded[0]/domChild[0]
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/form/FormCommitWithInvalidValues.html b/src/com/vaadin/tests/components/form/FormCommitWithInvalidValues.html new file mode 100644 index 0000000000..b0305e60dc --- /dev/null +++ b/src/com/vaadin/tests/components/form/FormCommitWithInvalidValues.html @@ -0,0 +1,112 @@ + + + + + + +FormCommitWithInvalidValues + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FormCommitWithInvalidValues
open/run/com.vaadin.tests.components.form.FormCommitWithInvalidValues
waitForVaadin
clickvaadin=runcomvaadintestscomponentsformFormCommitWithInvalidValues::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentsformFormCommitWithInvalidValues::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VForm[0]/VFormLayout[0]/VFormLayout$VFormLayoutTable[0]/VTextField[0]
waitForVaadin
typevaadin=runcomvaadintestscomponentsformFormCommitWithInvalidValues::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VForm[0]/VFormLayout[0]/VFormLayout$VFormLayoutTable[0]/VTextField[0]1
waitForVaadin
clickvaadin=runcomvaadintestscomponentsformFormCommitWithInvalidValues::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentsformFormCommitWithInvalidValues::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VForm[0]/VFormLayout[0]/VFormLayout$VFormLayoutTable[0]/VTextField[0]
waitForVaadin
typevaadin=runcomvaadintestscomponentsformFormCommitWithInvalidValues::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VForm[0]/VFormLayout[0]/VFormLayout$VFormLayoutTable[0]/VTextField[0]123
waitForVaadin
clickvaadin=runcomvaadintestscomponentsformFormCommitWithInvalidValues::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/form/FormRenderingFlicker.html b/src/com/vaadin/tests/components/form/FormRenderingFlicker.html new file mode 100644 index 0000000000..a99556d6d6 --- /dev/null +++ b/src/com/vaadin/tests/components/form/FormRenderingFlicker.html @@ -0,0 +1,42 @@ + + + + + + +FormRenderingFlicker + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FormRenderingFlicker
open/run/com.vaadin.tests.components.form.FormRenderingFlicker
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentsformFormRenderingFlicker::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VPanel[0]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/domChild[1]/domChild[0]/domChild[1]/domChild[0]/domChild[1]/domChild[0]
waitForVaadin
+ + diff --git a/src/com/vaadin/tests/components/label/HundredPercentWideLabelResize.html b/src/com/vaadin/tests/components/label/HundredPercentWideLabelResize.html new file mode 100644 index 0000000000..667f08ba4f --- /dev/null +++ b/src/com/vaadin/tests/components/label/HundredPercentWideLabelResize.html @@ -0,0 +1,62 @@ + + + + + + +HundredPercentWideLabelResize + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HundredPercentWideLabelResize
open/run/com.vaadin.tests.components.label.HundredPercentWideLabelResize
waitForVaadin
screenCapture1
clickvaadin=runcomvaadintestscomponentslabelHundredPercentWideLabelResize::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture2
clickvaadin=runcomvaadintestscomponentslabelHundredPercentWideLabelResize::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture1
+ + diff --git a/src/com/vaadin/tests/components/label/LabelWrapping.html b/src/com/vaadin/tests/components/label/LabelWrapping.html new file mode 100644 index 0000000000..b8038a75b4 --- /dev/null +++ b/src/com/vaadin/tests/components/label/LabelWrapping.html @@ -0,0 +1,62 @@ + + + + + + +LabelWrapping + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LabelWrapping
open/run/com.vaadin.tests.components.label.LabelWrapping
waitForVaadin
screenCapture1
clickvaadin=runcomvaadintestscomponentslabelLabelWrapping::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]
waitForVaadin
screenCapture2
clickvaadin=runcomvaadintestscomponentslabelLabelWrapping::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]
waitForVaadin
screenCapture1
+ + diff --git a/src/com/vaadin/tests/components/link/LinkIcon.html b/src/com/vaadin/tests/components/link/LinkIcon.html new file mode 100644 index 0000000000..8ae7942916 --- /dev/null +++ b/src/com/vaadin/tests/components/link/LinkIcon.html @@ -0,0 +1,27 @@ + + + + + + +LinkIcon + + + + + + + + + + + + + + + + + +
LinkIcon
open/run/com.vaadin.tests.components.link.LinkIcon
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/link/LinkIcon.java b/src/com/vaadin/tests/components/link/LinkIcon.java index 0b10e87f21..372417a45c 100644 --- a/src/com/vaadin/tests/components/link/LinkIcon.java +++ b/src/com/vaadin/tests/components/link/LinkIcon.java @@ -22,7 +22,7 @@ public class LinkIcon extends TestBase { protected void setup() { Link l = new Link("www.google.com", new ExternalResource( "http://www.vaadin.com/")); - l.setIcon(new ThemeResource("icons/32/calendar.png")); + l.setIcon(new ThemeResource("../runo/icons/32/calendar.png")); addComponent(l); } diff --git a/src/com/vaadin/tests/components/link/LinkTargetSize.html b/src/com/vaadin/tests/components/link/LinkTargetSize.html new file mode 100644 index 0000000000..a28865361f --- /dev/null +++ b/src/com/vaadin/tests/components/link/LinkTargetSize.html @@ -0,0 +1,42 @@ + + + + + + +LinkTargetSize + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LinkTargetSize
open/run/com.vaadin.tests.components.link.LinkTargetSize
waitForVaadin
clickvaadin=runcomvaadintestscomponentslinkLinkTargetSize::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VLink[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/orderedlayout/ReplaceComponentNPE.html b/src/com/vaadin/tests/components/orderedlayout/ReplaceComponentNPE.html new file mode 100644 index 0000000000..7a071030dc --- /dev/null +++ b/src/com/vaadin/tests/components/orderedlayout/ReplaceComponentNPE.html @@ -0,0 +1,47 @@ + + + + + + +ReplaceComponentNPE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ReplaceComponentNPE
open/run/com.vaadin.tests.components.orderedlayout.ReplaceComponentNPE
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentsorderedlayoutReplaceComponentNPE::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/popupview/PopupViewOffScreen.html b/src/com/vaadin/tests/components/popupview/PopupViewOffScreen.html new file mode 100644 index 0000000000..99ee864179 --- /dev/null +++ b/src/com/vaadin/tests/components/popupview/PopupViewOffScreen.html @@ -0,0 +1,47 @@ + + + + + + +PopupViewOffScreen + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PopupViewOffScreen
open/run/com.vaadin.tests.components.popupview.PopupViewOffScreen
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentspopupviewPopupViewOffScreen::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/richtextarea/RichTextAreaSize.html b/src/com/vaadin/tests/components/richtextarea/RichTextAreaSize.html new file mode 100644 index 0000000000..7708c88e54 --- /dev/null +++ b/src/com/vaadin/tests/components/richtextarea/RichTextAreaSize.html @@ -0,0 +1,32 @@ + + + + + + +RichTextAreaSize + + + + + + + + + + + + + + + + + + + + + + +
RichTextAreaSize
open/run/com.vaadin.tests.components.richtextarea.RichTextAreaSize
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/splitpanel/SplitPanelSplitterWidth.html b/src/com/vaadin/tests/components/splitpanel/SplitPanelSplitterWidth.html new file mode 100644 index 0000000000..876ed75ea8 --- /dev/null +++ b/src/com/vaadin/tests/components/splitpanel/SplitPanelSplitterWidth.html @@ -0,0 +1,47 @@ + + + + + + +SplitPanelSplitterWidth + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SplitPanelSplitterWidth
open/run/com.vaadin.tests.components.splitpanel.SplitPanelSplitterWidth
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentssplitpanelSplitPanelSplitterWidth::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/table/ClippedComponentsInTable.html b/src/com/vaadin/tests/components/table/ClippedComponentsInTable.html new file mode 100644 index 0000000000..4a6ccbbe2d --- /dev/null +++ b/src/com/vaadin/tests/components/table/ClippedComponentsInTable.html @@ -0,0 +1,32 @@ + + + + + + +ClippedComponentsInTable + + + + + + + + + + + + + + + + + + + + + + +
ClippedComponentsInTable
open/run/com.vaadin.tests.components.table.ClippedComponentsInTable
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/table/ColumnCollapsingAndColumnExpansion.html b/src/com/vaadin/tests/components/table/ColumnCollapsingAndColumnExpansion.html new file mode 100644 index 0000000000..33509916f7 --- /dev/null +++ b/src/com/vaadin/tests/components/table/ColumnCollapsingAndColumnExpansion.html @@ -0,0 +1,57 @@ + + + + + + +ColumnCollapsingAndColumnExpansion + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ColumnCollapsingAndColumnExpansion
open/run/com.vaadin.tests.components.table.ColumnCollapsingAndColumnExpansion
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentstableColumnCollapsingAndColumnExpansion::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/domChild[0]/domChild[1]
waitForVaadin
click//td[@id='gwt-uid-2']/span/div
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/table/ColumnExpandRatio.html b/src/com/vaadin/tests/components/table/ColumnExpandRatio.html new file mode 100644 index 0000000000..6d5422831e --- /dev/null +++ b/src/com/vaadin/tests/components/table/ColumnExpandRatio.html @@ -0,0 +1,32 @@ + + + + + + +ColumnExpandRatio + + + + + + + + + + + + + + + + + + + + + + +
ColumnExpandRatio
open/run/com.vaadin.tests.components.table.ColumnExpandRatio
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/table/ColumnExpandWithFixedColumns.html b/src/com/vaadin/tests/components/table/ColumnExpandWithFixedColumns.html new file mode 100644 index 0000000000..eb338c8dde --- /dev/null +++ b/src/com/vaadin/tests/components/table/ColumnExpandWithFixedColumns.html @@ -0,0 +1,32 @@ + + + + + + +ColumnExpandWithFixedColumns + + + + + + + + + + + + + + + + + + + + + + +
ColumnExpandWithFixedColumns
open/run/com.vaadin.tests.components.table.ColumnExpandWithFixedColumns
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/table/ContainerSizeChange.html b/src/com/vaadin/tests/components/table/ContainerSizeChange.html new file mode 100644 index 0000000000..7c2374f322 --- /dev/null +++ b/src/com/vaadin/tests/components/table/ContainerSizeChange.html @@ -0,0 +1,82 @@ + + + + + + +ContainerSizeChange + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ContainerSizeChange
open/run/com.vaadin.tests.components.table.ContainerSizeChange
waitForVaadin
clickvaadin=runcomvaadintestscomponentstableContainerSizeChange::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentstableContainerSizeChange::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
scrollvaadin=runcomvaadintestscomponentstableContainerSizeChange::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/domChild[1]945
pause300
waitForVaadin
scrollvaadin=runcomvaadintestscomponentstableContainerSizeChange::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/domChild[1]525
pause300
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/table/LabelEmbeddedClickThroughForTable.html b/src/com/vaadin/tests/components/table/LabelEmbeddedClickThroughForTable.html new file mode 100644 index 0000000000..e8dccea4e7 --- /dev/null +++ b/src/com/vaadin/tests/components/table/LabelEmbeddedClickThroughForTable.html @@ -0,0 +1,52 @@ + + + + + + +LabelEmbeddedClickThroughForTable + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LabelEmbeddedClickThroughForTable
open/run/com.vaadin.tests.components.table.LabelEmbeddedClickThroughForTable
waitForVaadin
clickvaadin=runcomvaadintestscomponentstableLabelEmbeddedClickThroughForTable::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/ScrollPanel[0]/VScrollTable$VScrollTableBody[0]/VScrollTable$VScrollTableBody$VScrollTableRow[0]/VLabel[1]/domChild[0]
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentstableLabelEmbeddedClickThroughForTable::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/ScrollPanel[0]/VScrollTable$VScrollTableBody[0]/VScrollTable$VScrollTableBody$VScrollTableRow[1]/VLabel[1]/domChild[0]
waitForVaadin
+ + diff --git a/src/com/vaadin/tests/components/table/MissingScrollbar.html b/src/com/vaadin/tests/components/table/MissingScrollbar.html new file mode 100644 index 0000000000..dfea329e60 --- /dev/null +++ b/src/com/vaadin/tests/components/table/MissingScrollbar.html @@ -0,0 +1,57 @@ + + + + + + +MissingScrollbar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MissingScrollbar
open/run/com.vaadin.tests.components.table.MissingScrollbar
waitForVaadin
clickvaadin=runcomvaadintestscomponentstableMissingScrollbar::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[0]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentstableMissingScrollbar::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[0]/VVerticalLayout[0]/ChildComponentContainer[0]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/table/ModifyContainerProperty.java b/src/com/vaadin/tests/components/table/ModifyContainerProperty.java new file mode 100644 index 0000000000..0038e7f083 --- /dev/null +++ b/src/com/vaadin/tests/components/table/ModifyContainerProperty.java @@ -0,0 +1,57 @@ +package com.vaadin.tests.components.table; + +import com.vaadin.data.util.IndexedContainer; +import com.vaadin.tests.components.TestBase; +import com.vaadin.ui.Button; +import com.vaadin.ui.Table; + +@SuppressWarnings("serial") +public class ModifyContainerProperty extends TestBase { + + private Table table = new Table(); + private IndexedContainer ic = new IndexedContainer(); + + @Override + protected void setup() { + addComponent(table); + + ic.addContainerProperty("one", String.class, "one"); + ic.addContainerProperty("two", String.class, "two"); + + ic.addItem("foo"); + + ic.getContainerProperty("foo", "one").setValue("bar"); + ic.getContainerProperty("foo", "two").setValue("baz"); + + table.setContainerDataSource(ic); + addComponent(new Button("Remove container property", + new Button.ClickListener() { + public void buttonClick(com.vaadin.ui.Button.ClickEvent arg0) { + ic.removeContainerProperty("one"); + } + })); + addComponent(new Button("Add container property", + new Button.ClickListener() { + public void buttonClick(com.vaadin.ui.Button.ClickEvent arg0) { + ic.addContainerProperty("three", String.class, "three"); + Object[] current = table.getVisibleColumns(); + Object[] vis = new Object[current.length + 1]; + for (int i = 0; i < current.length; i++) { + vis[i] = current[i]; + } + vis[current.length] = "three"; + table.setVisibleColumns(vis); + } + })); + } + + @Override + protected String getDescription() { + return "Clicking on \"Add container property\" adds a property to the container and sets it visible. The table should then show a \"three\" column in addition to the others. Clicking on \"Remove container property\" should remove column \"two\" from the table."; + } + + @Override + protected Integer getTicketNumber() { + return 3165; + } +} diff --git a/src/com/vaadin/tests/components/table/PropertyValueChange.html b/src/com/vaadin/tests/components/table/PropertyValueChange.html new file mode 100644 index 0000000000..41f97ebb61 --- /dev/null +++ b/src/com/vaadin/tests/components/table/PropertyValueChange.html @@ -0,0 +1,87 @@ + + + + + + +PropertyValueChange + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PropertyValueChange
open/run/com.vaadin.tests.components.table.PropertyValueChange
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentstablePropertyValueChange::PID_Seditortable/ScrollPanel[0]/VScrollTable$VScrollTableBody[0]/VScrollTable$VScrollTableBody$VScrollTableRow[0]/VFilterSelect[0]/domChild[1]
waitForVaadin
click//div[@id='VAADIN_COMBOBOX_OPTIONLIST']/div/div[2]/table/tbody/tr[4]/td
waitForVaadin
clickvaadin=runcomvaadintestscomponentstablePropertyValueChange::PID_Seditortable/ScrollPanel[0]/VScrollTable$VScrollTableBody[0]/VScrollTable$VScrollTableBody$VScrollTableRow[0]/VTextField[0]
waitForVaadin
typevaadin=runcomvaadintestscomponentstablePropertyValueChange::PID_Seditortable/ScrollPanel[0]/VScrollTable$VScrollTableBody[0]/VScrollTable$VScrollTableBody$VScrollTableRow[0]/VTextField[0]9
waitForVaadin
clickvaadin=runcomvaadintestscomponentstablePropertyValueChange::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[3]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/table/RowAdditionTest.html b/src/com/vaadin/tests/components/table/RowAdditionTest.html new file mode 100644 index 0000000000..4125e32e41 --- /dev/null +++ b/src/com/vaadin/tests/components/table/RowAdditionTest.html @@ -0,0 +1,157 @@ + + + + + + +RowAdditionTest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
RowAdditionTest
open/run/com.vaadin.tests.components.table.RowAdditionTest
waitForVaadin
clickvaadin=runcomvaadintestscomponentstableRowAdditionTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VHorizontalLayout[0]/ChildComponentContainer[0]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentstableRowAdditionTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VHorizontalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
scrollvaadin=runcomvaadintestscomponentstableRowAdditionTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/domChild[1]300
waitForVaadin
scrollvaadin=runcomvaadintestscomponentstableRowAdditionTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/domChild[1]600
waitForVaadin
scrollvaadin=runcomvaadintestscomponentstableRowAdditionTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/domChild[1]900
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentstableRowAdditionTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VHorizontalLayout[0]/ChildComponentContainer[2]/VButton[0]/domChild[0]
waitForVaadin
scrollvaadin=runcomvaadintestscomponentstableRowAdditionTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/domChild[1]903
waitForVaadin
scrollvaadin=runcomvaadintestscomponentstableRowAdditionTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/domChild[1]1203
waitForVaadin
scrollvaadin=runcomvaadintestscomponentstableRowAdditionTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/domChild[1]1503
waitForVaadin
scrollvaadin=runcomvaadintestscomponentstableRowAdditionTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/domChild[1]1803
waitForVaadin
screenCapture
scrollvaadin=runcomvaadintestscomponentstableRowAdditionTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/domChild[1]1848
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/table/TableLastRowMissing.html b/src/com/vaadin/tests/components/table/TableLastRowMissing.html new file mode 100644 index 0000000000..ca8ee6d6a4 --- /dev/null +++ b/src/com/vaadin/tests/components/table/TableLastRowMissing.html @@ -0,0 +1,32 @@ + + + + + + +TableLastRowMissing + + + + + + + + + + + + + + + + + + + + + + +
TableLastRowMissing
open/run/com.vaadin.tests.components.table.TableLastRowMissing
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/table/TablePageLengthUpdate.html b/src/com/vaadin/tests/components/table/TablePageLengthUpdate.html new file mode 100644 index 0000000000..fe5887634f --- /dev/null +++ b/src/com/vaadin/tests/components/table/TablePageLengthUpdate.html @@ -0,0 +1,127 @@ + + + + + + +TablePageLengthUpdate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TablePageLengthUpdate
open/run/com.vaadin.tests.components.table.TablePageLengthUpdate
waitForVaadin
clickvaadin=runcomvaadintestscomponentstableTablePageLengthUpdate::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[3]/VTextField[0]
waitForVaadin
typevaadin=runcomvaadintestscomponentstableTablePageLengthUpdate::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[3]/VTextField[0]200px
clickvaadin=runcomvaadintestscomponentstableTablePageLengthUpdate::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[2]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
verifyTextPresentexact:Pagelength: 9
screenCapture
clickvaadin=runcomvaadintestscomponentstableTablePageLengthUpdate::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[3]/VTextField[0]
waitForVaadin
typevaadin=runcomvaadintestscomponentstableTablePageLengthUpdate::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[3]/VTextField[0]250px
clickvaadin=runcomvaadintestscomponentstableTablePageLengthUpdate::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[2]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
verifyTextPresentexact:Pagelength: 11
waitForVaadin
screenCapture
typevaadin=runcomvaadintestscomponentstableTablePageLengthUpdate::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[3]/VTextField[0]50px
clickvaadin=runcomvaadintestscomponentstableTablePageLengthUpdate::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[2]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
verifyTextPresentexact:Pagelength: 2
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/table/TableRowHeight.html b/src/com/vaadin/tests/components/table/TableRowHeight.html new file mode 100644 index 0000000000..a28df6329f --- /dev/null +++ b/src/com/vaadin/tests/components/table/TableRowHeight.html @@ -0,0 +1,32 @@ + + + + + + +TableRowHeight + + + + + + + + + + + + + + + + + + + + + + +
TableRowHeight
open/run/com.vaadin.tests.components.table.TableRowHeight
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/table/TableRowHeight2.html b/src/com/vaadin/tests/components/table/TableRowHeight2.html new file mode 100644 index 0000000000..bd83c1d9dc --- /dev/null +++ b/src/com/vaadin/tests/components/table/TableRowHeight2.html @@ -0,0 +1,57 @@ + + + + + + +TableRowHeight2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TableRowHeight2
open/run/com.vaadin.tests.components.table.TableRowHeight2
waitForVaadin
screenCapture1
clickvaadin=runcomvaadintestscomponentstableTableRowHeight2::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/ScrollPanel[0]/VScrollTable$VScrollTableBody[0]/VScrollTable$VScrollTableBody$VScrollTableRow[0]/VButton[1]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentstableTableRowHeight2::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/ScrollPanel[0]/VScrollTable$VScrollTableBody[0]/VScrollTable$VScrollTableBody$VScrollTableRow[1]/VButton[1]/domChild[0]/domChild[0]
waitForVaadin
screenCapture1
+ + diff --git a/src/com/vaadin/tests/components/table/TableRowHeight3.html b/src/com/vaadin/tests/components/table/TableRowHeight3.html new file mode 100644 index 0000000000..2aa90085e4 --- /dev/null +++ b/src/com/vaadin/tests/components/table/TableRowHeight3.html @@ -0,0 +1,27 @@ + + + + + + +TableRowHeight3 + + + + + + + + + + + + + + + + + +
TableRowHeight3
open/run/com.vaadin.tests.components.table.TableRowHeight3
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/table/TableVisibleColumnsUpdate.html b/src/com/vaadin/tests/components/table/TableVisibleColumnsUpdate.html new file mode 100644 index 0000000000..05325cb9e6 --- /dev/null +++ b/src/com/vaadin/tests/components/table/TableVisibleColumnsUpdate.html @@ -0,0 +1,77 @@ + + + + + + +TableVisibleColumnsUpdate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TableVisibleColumnsUpdate
open/run/com.vaadin.tests.components.table.TableVisibleColumnsUpdate
waitForVaadin
screenCapture1
clickvaadin=runcomvaadintestscomponentstableTableVisibleColumnsUpdate::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture2
clickvaadin=runcomvaadintestscomponentstableTableVisibleColumnsUpdate::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]
waitForVaadin
screenCapture1
clickvaadin=runcomvaadintestscomponentstableTableVisibleColumnsUpdate::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]
waitForVaadin
screenCapture2
+ + diff --git a/src/com/vaadin/tests/components/table/TextFieldRelativeWidth.html b/src/com/vaadin/tests/components/table/TextFieldRelativeWidth.html new file mode 100644 index 0000000000..5b5ea40168 --- /dev/null +++ b/src/com/vaadin/tests/components/table/TextFieldRelativeWidth.html @@ -0,0 +1,57 @@ + + + + + + +TextFieldRelativeWidth + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TextFieldRelativeWidth
open/run/com.vaadin.tests.components.table.TextFieldRelativeWidth
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentstableTextFieldRelativeWidth::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/ScrollPanel[0]/VScrollTable$VScrollTableBody[0]/VScrollTable$VScrollTableBody$VScrollTableRow[2]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentstableTextFieldRelativeWidth::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/ScrollPanel[0]/VScrollTable$VScrollTableBody[0]/VScrollTable$VScrollTableBody$VScrollTableRow[4]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/tabsheet/AddAndRemoveTabs.html b/src/com/vaadin/tests/components/tabsheet/AddAndRemoveTabs.html new file mode 100644 index 0000000000..dd07d8cef6 --- /dev/null +++ b/src/com/vaadin/tests/components/tabsheet/AddAndRemoveTabs.html @@ -0,0 +1,117 @@ + + + + + + +AddAndRemoveTabs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddAndRemoveTabs
open/run/com.vaadin.tests.components.tabsheet.AddAndRemoveTabs
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetAddAndRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/VTabsheetPanel[0]/VHorizontalLayout[0]/ChildComponentContainer[0]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentstabsheetAddAndRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetAddAndRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetAddAndRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentstabsheetAddAndRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[1]/domChild[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetAddAndRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/VTabsheetPanel[0]/VHorizontalLayout[1]/ChildComponentContainer[0]/VButton[0]/domChild[0]
waitForVaadin
verifyTextPresentTest 1



Test 3





Close tab












Add new tab
clickvaadin=runcomvaadintestscomponentstabsheetAddAndRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]
waitForVaadin
verifyTextPresentTest 1



Test 3



Test 4





Close tab












Add new tab
+ + diff --git a/src/com/vaadin/tests/components/tabsheet/PreventTabChange.html b/src/com/vaadin/tests/components/tabsheet/PreventTabChange.html new file mode 100644 index 0000000000..c4f5998f47 --- /dev/null +++ b/src/com/vaadin/tests/components/tabsheet/PreventTabChange.html @@ -0,0 +1,77 @@ + + + + + + +PreventTabChange + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PreventTabChange
open/run/com.vaadin.tests.components.tabsheet.PreventTabChange
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetPreventTabChange::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[1]/domChild[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetPreventTabChange::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[2]/domChild[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentstabsheetPreventTabChange::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetPreventTabChange::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[2]/domChild[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/tabsheet/RemoveTabsTabsheet.html b/src/com/vaadin/tests/components/tabsheet/RemoveTabsTabsheet.html new file mode 100644 index 0000000000..07db540395 --- /dev/null +++ b/src/com/vaadin/tests/components/tabsheet/RemoveTabsTabsheet.html @@ -0,0 +1,112 @@ + + + + + + +RemoveTabs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
RemoveTabs
open/run/com.vaadin.tests.components.tabsheet.RemoveTabs
waitForVaadin
verifyTextPresentTab 1



Tab 2



Tab 3



Tab 4



Tab 5





This is the contents of tab 1







close first tab


close last tab


Close current tab


reorder
clickvaadin=runcomvaadintestscomponentstabsheetRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
verifyTextPresentTab 2



Tab 3



Tab 4



Tab 5





This is the contents of tab 2







close first tab


close last tab


Close current tab


reorder
clickvaadin=runcomvaadintestscomponentstabsheetRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[2]/domChild[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[3]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
verifyTextPresentTab 2



Tab 3



Tab 5





This is the contents of tab 2







close first tab


close last tab


Close current tab


reorder
clickvaadin=runcomvaadintestscomponentstabsheetRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[4]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
verifyTextPresentTab 5



Tab 3



Tab 2





This is the contents of tab 5







close first tab


close last tab


Close current tab


reorder
clickvaadin=runcomvaadintestscomponentstabsheetRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[2]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetRemoveTabs::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[1]/domChild[0]/domChild[0]/domChild[0]
waitForVaadin
verifyTextPresentTab 5



Tab 3





This is the contents of tab 5

This is the contents of tab 3







close first tab


close last tab


Close current tab


reorder
+ + diff --git a/src/com/vaadin/tests/components/tabsheet/TabSheetCaptions.html b/src/com/vaadin/tests/components/tabsheet/TabSheetCaptions.html new file mode 100644 index 0000000000..d240d4b419 --- /dev/null +++ b/src/com/vaadin/tests/components/tabsheet/TabSheetCaptions.html @@ -0,0 +1,77 @@ + + + + + + +TabSheetCaptions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TabSheetCaptions
open/run/com.vaadin.tests.components.tabsheet.TabSheetCaptions
verifyTextvaadin=runcomvaadintestscomponentstabsheetTabSheetCaptions::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]Panel initial caption (should also be tab caption)
verifyTextvaadin=runcomvaadintestscomponentstabsheetTabSheetCaptions::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/VTabsheetPanel[0]/VPanel[0]/domChild[0]/domChild[0]/domChild[0]Panel initial caption (should also be tab caption)
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetTabSheetCaptions::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
verifyTextvaadin=runcomvaadintestscomponentstabsheetTabSheetCaptions::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]This is a new tab caption Sun, 2001-Sep-09
verifyTextvaadin=runcomvaadintestscomponentstabsheetTabSheetCaptions::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/VTabsheetPanel[0]/VPanel[0]/domChild[0]/domChild[0]/domChild[0]Panel initial caption (should also be tab caption)
clickvaadin=runcomvaadintestscomponentstabsheetTabSheetCaptions::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[2]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
verifyTextvaadin=runcomvaadintestscomponentstabsheetTabSheetCaptions::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]This is a new tab caption Sun, 2001-Sep-09
verifyTextvaadin=runcomvaadintestscomponentstabsheetTabSheetCaptions::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/VTabsheetPanel[0]/VPanel[0]/domChild[0]/domChild[0]/domChild[0]This is a new panel caption Sun, 2001-Sep-09
+ + diff --git a/src/com/vaadin/tests/components/tabsheet/TabSheetCaptions.java b/src/com/vaadin/tests/components/tabsheet/TabSheetCaptions.java index 9e8f4a35f4..699988489f 100644 --- a/src/com/vaadin/tests/components/tabsheet/TabSheetCaptions.java +++ b/src/com/vaadin/tests/components/tabsheet/TabSheetCaptions.java @@ -1,6 +1,8 @@ package com.vaadin.tests.components.tabsheet; +import java.text.SimpleDateFormat; import java.util.Date; +import java.util.Locale; import com.vaadin.tests.components.TestBase; import com.vaadin.ui.Button; @@ -26,6 +28,11 @@ public class TabSheetCaptions extends TestBase { @Override protected void setup() { final TabSheet tabSheet = new TabSheet(); + // Define date and locale so that it doesn't change for machine/time + final SimpleDateFormat dateFormatter = new SimpleDateFormat( + "EEE, yyyy-MMM-dd", Locale.ENGLISH); + final Date date = new Date(); + date.setTime((long) 1000000000000.0); panel1 = new Panel("Panel initial caption (should also be tab caption)"); panel1.setSizeFull(); @@ -37,14 +44,15 @@ public class TabSheetCaptions extends TestBase { button.addListener(new Button.ClickListener() { public void buttonClick(ClickEvent event) { tabSheet.setTabCaption(panel1, "This is a new tab caption " - + new Date()); + + dateFormatter.format(date)); } }); Button button2 = new Button("Update panel caption"); button2.addListener(new Button.ClickListener() { public void buttonClick(ClickEvent event) { - panel1.setCaption("This is a new panel caption " + new Date()); + panel1.setCaption("This is a new panel caption " + + dateFormatter.format(date)); } }); diff --git a/src/com/vaadin/tests/components/tabsheet/TabSheetDisabling.html b/src/com/vaadin/tests/components/tabsheet/TabSheetDisabling.html new file mode 100644 index 0000000000..bc03f7687b --- /dev/null +++ b/src/com/vaadin/tests/components/tabsheet/TabSheetDisabling.html @@ -0,0 +1,162 @@ + + + + + + +TabSheetDisabling + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TabSheetDisabling
open/run/com.vaadin.tests.components.tabsheet.TabSheetDisabling
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetTabSheetDisabling::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/VTabsheetPanel[0]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetTabSheetDisabling::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[5]/domChild[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture1
clickvaadin=runcomvaadintestscomponentstabsheetTabSheetDisabling::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetTabSheetDisabling::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
screenCapture1
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetTabSheetDisabling::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/VTabsheetPanel[0]/VButton[2]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetTabSheetDisabling::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[6]/domChild[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture2
clickvaadin=runcomvaadintestscomponentstabsheetTabSheetDisabling::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetTabSheetDisabling::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetTabSheetDisabling::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/VTabsheetPanel[0]/VButton[3]/domChild[0]/domChild[0]
screenCapture3
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetTabSheetDisabling::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/VTabsheetPanel[0]/VButton[1]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentstabsheetTabSheetDisabling::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/VTabsheetPanel[0]/VButton[2]/domChild[0]/domChild[0]
waitForVaadin
screenCapture4
+ + diff --git a/src/com/vaadin/tests/components/tabsheet/TabSheetIcons.html b/src/com/vaadin/tests/components/tabsheet/TabSheetIcons.html new file mode 100644 index 0000000000..425da11af4 --- /dev/null +++ b/src/com/vaadin/tests/components/tabsheet/TabSheetIcons.html @@ -0,0 +1,27 @@ + + + + + + +TabSheetIcons + + + + + + + + + + + + + + + + + +
TabSheetIcons
open/run/com.vaadin.tests.components.tabsheet.TabSheetIcons
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/tabsheet/TabSheetIcons.java b/src/com/vaadin/tests/components/tabsheet/TabSheetIcons.java index c295f1a9e5..49c9784eb9 100644 --- a/src/com/vaadin/tests/components/tabsheet/TabSheetIcons.java +++ b/src/com/vaadin/tests/components/tabsheet/TabSheetIcons.java @@ -37,11 +37,11 @@ public class TabSheetIcons extends TestBase { Component[] tab = new Component[3]; tab[0] = new Label("This is tab 1"); - tab[0].setIcon(new ThemeResource("icons/32/folder-add.png")); + tab[0].setIcon(new ThemeResource("../runo/icons/32/folder-add.png")); tab[0].setCaption("tab number 1"); tab[1] = new TextField("This is tab 2", "Contents of tab 2 textfield"); tab[2] = new Label("This is tab 3"); - tab[2].setIcon(new ThemeResource("icons/16/folder-add.png")); + tab[2].setIcon(new ThemeResource("../runo/icons/16/folder-add.png")); tab[2].setCaption("tab number 3"); for (Component c : tab) { diff --git a/src/com/vaadin/tests/components/tabsheet/TabSheetWithoutTabCaption.html b/src/com/vaadin/tests/components/tabsheet/TabSheetWithoutTabCaption.html new file mode 100644 index 0000000000..36e85c1b37 --- /dev/null +++ b/src/com/vaadin/tests/components/tabsheet/TabSheetWithoutTabCaption.html @@ -0,0 +1,32 @@ + + + + + + +TabSheetWithoutTabCaption + + + + + + + + + + + + + + + + + + + + + + +
TabSheetWithoutTabCaption
open/run/com.vaadin.tests.components.tabsheet.TabSheetWithoutTabCaption
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/tabsheet/TabsheetTooltip.html b/src/com/vaadin/tests/components/tabsheet/TabsheetTooltip.html new file mode 100644 index 0000000000..08b7869587 --- /dev/null +++ b/src/com/vaadin/tests/components/tabsheet/TabsheetTooltip.html @@ -0,0 +1,82 @@ + + + + + + +TabsheetTooltip + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TabsheetTooltip
open/run/com.vaadin.tests.components.tabsheet.TabsheetTooltip
waitForVaadin
verifyTextPresentTab




Tab 2





Label
clickvaadin=runcomvaadintestscomponentstabsheetTabsheetTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[1]/domChild[0]/domChild[0]/domChild[0]
waitForVaadin
verifyTextPresentTab




Tab 2





Label

Another label, d'oh
mouseOvervaadin=runcomvaadintestscomponentstabsheetTabsheetTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture
clickvaadin=runcomvaadintestscomponentstabsheetTabsheetTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[1]/domChild[0]/domChild[0]/domChild[0]
waitForVaadin
mouseOvervaadin=runcomvaadintestscomponentstabsheetTabsheetTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[1]/domChild[0]/domChild[0]/domChild[0]
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/tabsheet/VerticalScrollbarPosition.html b/src/com/vaadin/tests/components/tabsheet/VerticalScrollbarPosition.html new file mode 100644 index 0000000000..3da03edb6a --- /dev/null +++ b/src/com/vaadin/tests/components/tabsheet/VerticalScrollbarPosition.html @@ -0,0 +1,77 @@ + + + + + + +VerticalScrollbarPosition + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VerticalScrollbarPosition
open/run/com.vaadin.tests.components.tabsheet.VerticalScrollbarPosition
waitForVaadin
screenCapture1
clickvaadin=runcomvaadintestscomponentstabsheetVerticalScrollbarPosition::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[1]/domChild[1]
waitForVaadin
screenCapture2
clickvaadin=runcomvaadintestscomponentstabsheetVerticalScrollbarPosition::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[1]/domChild[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture3
clickvaadin=runcomvaadintestscomponentstabsheetVerticalScrollbarPosition::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]
waitForVaadin
screenCapture1
+ + diff --git a/src/com/vaadin/tests/components/tree/TreeNodeCaptionWrapping.html b/src/com/vaadin/tests/components/tree/TreeNodeCaptionWrapping.html new file mode 100644 index 0000000000..2c2baca773 --- /dev/null +++ b/src/com/vaadin/tests/components/tree/TreeNodeCaptionWrapping.html @@ -0,0 +1,37 @@ + + + + + + +TreeNodeCaptionWrapping + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TreeNodeCaptionWrapping
open/run/com.vaadin.tests.components.tree.TreeNodeCaptionWrapping
waitForVaadin
verifyTextPresent1




A very long item that should not wrap


Subitem - also long
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/window/CenteredWindowWithUndefinedSize.html b/src/com/vaadin/tests/components/window/CenteredWindowWithUndefinedSize.html new file mode 100644 index 0000000000..2e15d8d645 --- /dev/null +++ b/src/com/vaadin/tests/components/window/CenteredWindowWithUndefinedSize.html @@ -0,0 +1,32 @@ + + + + + + +CenteredWindowWithUndefinedSize + + + + + + + + + + + + + + + + + + + + + + +
CenteredWindowWithUndefinedSize
open/run/com.vaadin.tests.components.window.CenteredWindowWithUndefinedSize
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/window/EmbeddedInSubWindow.html b/src/com/vaadin/tests/components/window/EmbeddedInSubWindow.html new file mode 100644 index 0000000000..d74e09dd6a --- /dev/null +++ b/src/com/vaadin/tests/components/window/EmbeddedInSubWindow.html @@ -0,0 +1,32 @@ + + + + + + +EmbeddedInSubWindow + + + + + + + + + + + + + + + + + + + + + + +
EmbeddedInSubWindow
open/run/com.vaadin.tests.components.window.EmbeddedInSubWindow
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/window/SubwindowInvalidLayout.html b/src/com/vaadin/tests/components/window/SubwindowInvalidLayout.html new file mode 100644 index 0000000000..9d54eafd02 --- /dev/null +++ b/src/com/vaadin/tests/components/window/SubwindowInvalidLayout.html @@ -0,0 +1,32 @@ + + + + + + +SubwindowInvalidLayout + + + + + + + + + + + + + + + + + + + + + + +
SubwindowInvalidLayout
open/run/com.vaadin.tests.components.window.SubwindowInvalidLayout
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/window/TestTooSmallSubwindowSize.html b/src/com/vaadin/tests/components/window/TestTooSmallSubwindowSize.html new file mode 100644 index 0000000000..f926696d63 --- /dev/null +++ b/src/com/vaadin/tests/components/window/TestTooSmallSubwindowSize.html @@ -0,0 +1,32 @@ + + + + + + +TestTooSmallSubwindowSize + + + + + + + + + + + + + + + + + + + + + + +
TestTooSmallSubwindowSize
open/run/com.vaadin.tests.components.window.TestTooSmallSubwindowSize
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/window/UndefinedWidthSubWindow.html b/src/com/vaadin/tests/components/window/UndefinedWidthSubWindow.html new file mode 100644 index 0000000000..51aabc7e8f --- /dev/null +++ b/src/com/vaadin/tests/components/window/UndefinedWidthSubWindow.html @@ -0,0 +1,32 @@ + + + + + + +UndefinedWidthSubWindow + + + + + + + + + + + + + + + + + + + + + + +
UndefinedWidthSubWindow
open/run/com.vaadin.tests.components.window.UndefinedWidthSubWindow
waitForVaadin
screenCapture
+ + diff --git a/src/com/vaadin/tests/components/window/WindowShouldRemoveActionHandler.html b/src/com/vaadin/tests/components/window/WindowShouldRemoveActionHandler.html new file mode 100644 index 0000000000..4923bff58a --- /dev/null +++ b/src/com/vaadin/tests/components/window/WindowShouldRemoveActionHandler.html @@ -0,0 +1,107 @@ + + + + + + +WindowShouldRemoveActionHandler + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
WindowShouldRemoveActionHandler
open/run/com.vaadin.tests.components.window.WindowShouldRemoveActionHandler
waitForVaadin
clickvaadin=runcomvaadintestscomponentswindowWindowShouldRemoveActionHandler::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentswindowWindowShouldRemoveActionHandler::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[2]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
verifyTitleA panel with 2 action handlers
clickvaadin=runcomvaadintestscomponentswindowWindowShouldRemoveActionHandler::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
verifyTitleA panel with 3 action handlers
clickvaadin=runcomvaadintestscomponentswindowWindowShouldRemoveActionHandler::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[3]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
clickvaadin=runcomvaadintestscomponentswindowWindowShouldRemoveActionHandler::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[3]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
verifyTitleA panel with 3 action handlers - Removed handler - Removed handler
clickvaadin=runcomvaadintestscomponentswindowWindowShouldRemoveActionHandler::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]
waitForVaadin
verifyTitleA panel with 2 action handlers
+ + diff --git a/tests/test.xml b/tests/test.xml index aa37a564ae..7ac2aca772 100644 --- a/tests/test.xml +++ b/tests/test.xml @@ -5,38 +5,39 @@ - + + + - + + - - - + + + - - - - + - + + - + @@ -44,6 +45,7 @@ + @@ -62,6 +64,7 @@ + @@ -76,26 +79,37 @@ - + - + - - + + + - + - - - + + + + + - - + + + + + + + + + + @@ -106,14 +120,24 @@ + - + + + + + + + + + + @@ -126,5 +150,5 @@ - +