From: Teemu Suo-Anttila Date: Wed, 6 May 2015 10:05:22 +0000 (+0300) Subject: Convert theme tests from TB2 to TB4 X-Git-Tag: 7.5.0.beta1~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=05d294e6152963d45262d06c727f977e0901d723;p=vaadin-framework.git Convert theme tests from TB2 to TB4 This change makes FixedNotificationElement work with notifications and rounded edges. Change-Id: I8e682fab471aa89bef5fc67d5aafdc3e37333a17 --- diff --git a/uitest/src/com/vaadin/tests/components/uitest/BaseThemeTest.java b/uitest/src/com/vaadin/tests/components/uitest/BaseThemeTest.java new file mode 100644 index 0000000000..6a7174bf99 --- /dev/null +++ b/uitest/src/com/vaadin/tests/components/uitest/BaseThemeTest.java @@ -0,0 +1,23 @@ +/* + * Copyright 2000-2014 Vaadin Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.vaadin.tests.components.uitest; + +public class BaseThemeTest extends ThemeTest { + @Override + protected String getTheme() { + return "base"; + } +} diff --git a/uitest/src/com/vaadin/tests/components/uitest/ChameleonThemeTest.java b/uitest/src/com/vaadin/tests/components/uitest/ChameleonThemeTest.java new file mode 100644 index 0000000000..8c4349ad5f --- /dev/null +++ b/uitest/src/com/vaadin/tests/components/uitest/ChameleonThemeTest.java @@ -0,0 +1,33 @@ +/* + * Copyright 2000-2014 Vaadin Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.vaadin.tests.components.uitest; + +import java.io.IOException; + +public class ChameleonThemeTest extends ThemeTest { + @Override + protected String getTheme() { + return "chameleon"; + } + + @Override + protected void testWindows() throws IOException { + super.testWindows(); + + // chameleon theme only + testWindow(4, "subwindow-opaque"); + } +} diff --git a/uitest/src/com/vaadin/tests/components/uitest/LiferayThemeTest.java b/uitest/src/com/vaadin/tests/components/uitest/LiferayThemeTest.java new file mode 100644 index 0000000000..47c4c1baae --- /dev/null +++ b/uitest/src/com/vaadin/tests/components/uitest/LiferayThemeTest.java @@ -0,0 +1,23 @@ +/* + * Copyright 2000-2014 Vaadin Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.vaadin.tests.components.uitest; + +public class LiferayThemeTest extends ThemeTest { + @Override + protected String getTheme() { + return "liferay"; + } +} diff --git a/uitest/src/com/vaadin/tests/components/uitest/ReindeerThemeTest.java b/uitest/src/com/vaadin/tests/components/uitest/ReindeerThemeTest.java new file mode 100644 index 0000000000..cdeb4b0606 --- /dev/null +++ b/uitest/src/com/vaadin/tests/components/uitest/ReindeerThemeTest.java @@ -0,0 +1,34 @@ +/* + * Copyright 2000-2014 Vaadin Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.vaadin.tests.components.uitest; + +import java.io.IOException; + +public class ReindeerThemeTest extends ThemeTest { + @Override + protected String getTheme() { + return "reindeer"; + } + + @Override + protected void testWindows() throws IOException { + super.testWindows(); + + // reindeer theme only + testWindow(1, "subwindow-light"); + testWindow(2, "subwindow-black"); + } +} diff --git a/uitest/src/com/vaadin/tests/components/uitest/RunoThemeTest.java b/uitest/src/com/vaadin/tests/components/uitest/RunoThemeTest.java new file mode 100644 index 0000000000..073ab27566 --- /dev/null +++ b/uitest/src/com/vaadin/tests/components/uitest/RunoThemeTest.java @@ -0,0 +1,33 @@ +/* + * Copyright 2000-2014 Vaadin Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.vaadin.tests.components.uitest; + +import java.io.IOException; + +public class RunoThemeTest extends ThemeTest { + @Override + protected String getTheme() { + return "runo"; + } + + @Override + protected void testWindows() throws IOException { + super.testWindows(); + + // runo theme only + testWindow(3, "subwindow-dialog"); + } +} diff --git a/uitest/src/com/vaadin/tests/components/uitest/ThemeTest.java b/uitest/src/com/vaadin/tests/components/uitest/ThemeTest.java new file mode 100644 index 0000000000..86847fc28e --- /dev/null +++ b/uitest/src/com/vaadin/tests/components/uitest/ThemeTest.java @@ -0,0 +1,209 @@ +package com.vaadin.tests.components.uitest; + +import java.io.IOException; + +import org.junit.Test; +import org.openqa.selenium.Keys; +import org.openqa.selenium.WebElement; +import org.openqa.selenium.interactions.Actions; + +import com.vaadin.testbench.By; +import com.vaadin.testbench.elements.ButtonElement; +import com.vaadin.testbench.elements.ComboBoxElement; +import com.vaadin.testbench.elements.TableElement; +import com.vaadin.testbench.elementsbase.ServerClass; +import com.vaadin.testbench.parallel.BrowserUtil; +import com.vaadin.tests.tb3.MultiBrowserTest; +import com.vaadin.tests.tb3.newelements.FixedNotificationElement; +import com.vaadin.tests.tb3.newelements.WindowElement; + +public abstract class ThemeTest extends MultiBrowserTest { + + @ServerClass("com.vaadin.ui.DateField") + public static class DateFieldElement extends + com.vaadin.testbench.elements.DateFieldElement { + public void openPopup() { + findElement(By.tagName("button")).click(); + } + } + + @ServerClass("com.vaadin.ui.TabSheet") + public static class TabSheetElement extends + com.vaadin.testbench.elements.TabSheetElement { + @Override + public void openTab(String tabCaption) { + super.openTab(tabCaption); + /* Layouting takes a moment after tab has been opened. */ + try { + Thread.sleep(300); + } catch (InterruptedException e) { + } + } + } + + @Override + protected boolean requireWindowFocusForIE() { + return true; + } + + @Override + protected Class getUIClass() { + return ThemeTestUI.class; + } + + protected abstract String getTheme(); + + @Test + public void testTheme() throws Exception { + openTestURL("theme=" + getTheme()); + runThemeTest(); + } + + private void runThemeTest() throws IOException { + TabSheetElement themeTabSheet = $(TabSheetElement.class).first(); + + // Labels tab + compareScreen("labels"); + + // Buttons tab + themeTabSheet.openTab("Buttons"); + compareScreen("buttons"); + + // Embedded tab + themeTabSheet.openTab("Embedded"); + compareScreen("embedded"); + + // Dates tab + themeTabSheet.openTab("Dates"); + testDates(); + + // TextFields tab + themeTabSheet.openTab("TextFields"); + compareScreen("textfields"); + + // Selects tab + themeTabSheet.openTab("Selects"); + testSelects(); + + // Sliders tab + themeTabSheet.openTab("Sliders"); + compareScreen("sliders"); + + // Uploads tab + themeTabSheet.openTab("Uploads"); + compareScreen("uploads"); + + // Forms tab + themeTabSheet.openTab("Forms"); + compareScreen("forms"); + + // Tables tab + themeTabSheet.openTab("Tables"); + testTables(); + + // Trees tab + themeTabSheet.openTab("Trees"); + compareScreen("trees"); + + // TreeTable tab + themeTabSheet.openTab("TreeTable"); + compareScreen("treetable"); + + // Layouts tab + themeTabSheet.openTab("Layouts"); + compareScreen("layouts"); + + // TabSheets tab + themeTabSheet.openTab("TabSheets"); + compareScreen("tabsheets"); + + // Accordions tab + themeTabSheet.openTab("Accordions"); + compareScreen("accordions"); + + // Windows tab + themeTabSheet.openTab("Windows"); + testWindows(); + + // Notifications tab + themeTabSheet.openTab("Notifications"); + testNotifications(); + } + + private void testNotifications() throws IOException { + testNotification(0, "notification-humanized"); + testNotification(1, "notification-warning"); + testNotification(2, "notification-error"); + testNotification(3, "notification-tray"); + } + + private void testNotification(int id, String identifier) throws IOException { + $(ButtonElement.class).id("notifButt" + id).click(); + compareScreen(identifier); + $(FixedNotificationElement.class).first().close(); + } + + protected void testWindows() throws IOException { + testWindow(0, "subwindow-default"); + } + + protected void testWindow(int id, String identifier) throws IOException { + $(ButtonElement.class).id("windButton" + id).click(); + compareScreen(identifier); + WindowElement window = $(WindowElement.class).first(); + if (getTheme() == "chameleon" + && BrowserUtil.isIE(getDesiredCapabilities())) { + new Actions(getDriver()).moveToElement(window, 10, 10).click() + .sendKeys(Keys.ESCAPE).perform(); + } else { + window.findElement(By.className("v-window-closebox")).click(); + } + } + + private void testTables() throws IOException { + compareScreen("tables"); + TableElement table = $(TableElement.class).first(); + new Actions(driver).moveToElement(table.getCell(0, 1), 5, 5) + .contextClick().perform(); + compareScreen("tables-contextmenu"); + table.findElement(By.className("v-table-column-selector")).click(); + compareScreen("tables-collapsemenu"); + } + + private void testSelects() throws IOException { + compareScreen("selects"); + $(ComboBoxElement.class).id("select0").openPopup(); + compareScreen("selects-first-open"); + $(ComboBoxElement.class).id("select1").openPopup(); + compareScreen("selects-second-open"); + $(ComboBoxElement.class).id("select6").openPopup(); + compareScreen("selects-third-open"); + + /* In chameleon theme search combobox has no visible popup button */ + ComboBoxElement searchComboBox = $(ComboBoxElement.class).id("select7"); + if (searchComboBox.findElement(By.tagName("div")).isDisplayed()) { + searchComboBox.openPopup(); + } else { + WebElement textBox = searchComboBox.findElement(By + .vaadin("#textbox")); + textBox.click(); + textBox.sendKeys(Keys.ARROW_DOWN); + } + compareScreen("selects-fourth-open"); + + $(ComboBoxElement.class).id("select8").openPopup(); + compareScreen("selects-fifth-open"); + } + + private void testDates() throws IOException { + compareScreen("dates"); + $(DateFieldElement.class).id("datefield0").openPopup(); + compareScreen("dates-first-popup"); + $(DateFieldElement.class).id("datefield1").openPopup(); + compareScreen("dates-second-popup"); + $(DateFieldElement.class).id("datefield2").openPopup(); + compareScreen("dates-third-popup"); + $(DateFieldElement.class).id("datefield3").openPopup(); + compareScreen("dates-fourth-popup"); + } +} diff --git a/uitest/src/com/vaadin/tests/tb3/newelements/FixedNotificationElement.java b/uitest/src/com/vaadin/tests/tb3/newelements/FixedNotificationElement.java index a3eb952ea7..8f8dd82d9f 100644 --- a/uitest/src/com/vaadin/tests/tb3/newelements/FixedNotificationElement.java +++ b/uitest/src/com/vaadin/tests/tb3/newelements/FixedNotificationElement.java @@ -19,7 +19,7 @@ public class FixedNotificationElement extends NotificationElement { @Override public void close() { - click(); + click(5, 5); WebDriverWait wait = new WebDriverWait(getDriver(), 10); wait.until(ExpectedConditions.not(ExpectedConditions .presenceOfAllElementsLocatedBy(By.className("v-Notification")))); diff --git a/uitest/tb2/com/vaadin/tests/components/uitest/base_theme_test.html b/uitest/tb2/com/vaadin/tests/components/uitest/base_theme_test.html deleted file mode 100644 index a87cba69ab..0000000000 --- a/uitest/tb2/com/vaadin/tests/components/uitest/base_theme_test.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - -base_theme_test - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
base_theme_test
open/run/ThemeTestUI?restartApplication&theme=base
screenCapturelabels
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[2]/div/div/div31,8
screenCapturebuttons
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[3]/div/div/div27,1
screenCaptureembedded
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[4]/div/div33,24
screenCapturedates
mouseClick//div[@id='datefield0']/button11,10
screenCapturedates-first-popup
mouseClick//div[@id='datefield1']/button14,9
screenCapturedates-second-popup
mouseClick//div[@id='datefield2']/button9,16
screenCapturedates-third-popup
mouseClick//div[@id='datefield3']/button9,10
screenCapturedates-fourth-popup
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[5]/div/div/div35,2
screenCapturetextfields
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[6]/div/div/div27,10
screenCaptureselects
mouseClick//div[@id='select0']/div9,11
screenCaptureselects-first-open
mouseClick//div[@id='select1']/div10,13
screenCaptureselects-second-open
mouseClick//div[@id='select6']/div7,13
screenCaptureselects-third-open
mouseClick//div[@id='select7']/div7,12
screenCaptureselects-fourth-open
mouseClick//div[@id='select8']/div9,7
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[7]/div/div/div20,3
screenCapturesliders
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[8]/div/div/div18,5
mouseClickvaadin=runThemeTestUI::/VVerticalLayout[0]518,136
screenCaptureuploads
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[9]/div/div/div18,10
screenCaptureforms
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[10]/div/div22,25
screenCapturetables
contextMenuAt//div[@id='table0']/div[2]/div[1]/table/tbody/tr[2]/td[1]/div0,0
screenCapturetables-contextmenu
mouseClick//div[@id='table0']/div[1]/div[2]12,9
screenCapturetables-collapsemenu
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[11]/div/div/div28,3
screenCapturetrees
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[12]/div/div52,9
screenCapturetreetable
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[13]/div/div23,9
screenCapturelayouts
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[14]/div/div/div24,1
screenCapturetabsheets
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[15]/div/div/div24,9
screenCaptureaccordions
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[16]/div/div/div15,0
click//div[@id='windButton0']/span
screenCapturesubwindow-default
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]9,8
click//div[@id='windButton1']/span/span
screenCapturesubwindow-light
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]11,6
click//div[@id='windButton2']/span/span
screenCapturesubwindow-black
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]8,5
click//div[@id='windButton3']/span/span
screenCapturesubwindow-dialog
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]9,6
click//div[@id='windButton4']/span/span
screenCapturesubwindow-opaque
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]10,7
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[17]/div/div46,8
click//div[@id='notifButt0']/span/span
screenCapturenotification-humanized
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]214,15
click//div[@id='notifButt1']/span/span
screenCapturenotification-warning
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]172,13
click//div[@id='notifButt2']/span/span
screenCapturenotification-error
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]318,11
click//div[@id='notifButt3']/span/span
screenCapturenotification-tray
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]66,9
- - diff --git a/uitest/tb2/com/vaadin/tests/components/uitest/chameleon_theme_test.html b/uitest/tb2/com/vaadin/tests/components/uitest/chameleon_theme_test.html deleted file mode 100644 index 3c3c229e97..0000000000 --- a/uitest/tb2/com/vaadin/tests/components/uitest/chameleon_theme_test.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - -chameleon_theme_test - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
chameleon_theme_test
open/run/ThemeTestUI?restartApplication&theme=chameleon
screenCapturelabels
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[2]/div/div/div31,8
screenCapturebuttons
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[3]/div/div/div27,1
screenCaptureembedded
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[4]/div/div33,24
screenCapturedates
mouseClick//div[@id='datefield0']/button11,10
screenCapturedates-first-popup
mouseClick//div[@id='datefield1']/button14,9
screenCapturedates-second-popup
mouseClick//div[@id='datefield2']/button9,16
screenCapturedates-third-popup
mouseClick//div[@id='datefield3']/button9,10
screenCapturedates-fourth-popup
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[5]/div/div/div35,2
screenCapturetextfields
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[6]/div/div/div27,10
screenCaptureselects
mouseClick//div[@id='select0']/div9,11
screenCaptureselects-first-open
mouseClick//div[@id='select1']/div10,13
screenCaptureselects-second-open
mouseClick//div[@id='select6']/div7,13
screenCaptureselects-third-open
mouseClick//div[@id='select7']/div7,12
screenCaptureselects-fourth-open
mouseClick//div[@id='select8']/div9,7
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[7]/div/div/div20,3
screenCapturesliders
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[8]/div/div/div18,5
mouseClickvaadin=runThemeTestUI::/VVerticalLayout[0]518,136
screenCaptureuploads
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[9]/div/div/div18,10
screenCaptureforms
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[10]/div/div22,25
screenCapturetables
contextMenuAt//div[@id='table0']/div[2]/div[1]/table/tbody/tr[2]/td[1]/div0,0
screenCapturetables-contextmenu
mouseClick//div[@id='table0']/div[1]/div[2]12,9
screenCapturetables-collapsemenu
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[11]/div/div/div28,3
screenCapturetrees
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[12]/div/div52,9
screenCapturetreetable
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[13]/div/div23,9
screenCapturelayouts
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[14]/div/div/div24,1
screenCapturetabsheets
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[15]/div/div/div24,9
screenCaptureaccordions
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[16]/div/div/div15,0
click//div[@id='windButton0']/span
screenCapturesubwindow-default
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]9,8
click//div[@id='windButton1']/span/span
screenCapturesubwindow-light
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]11,6
click//div[@id='windButton2']/span/span
screenCapturesubwindow-black
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]8,5
click//div[@id='windButton3']/span/span
screenCapturesubwindow-dialog
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]9,6
click//div[@id='windButton4']/span/span
screenCapturesubwindow-opaque
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]10,7
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[17]/div/div46,8
click//div[@id='notifButt0']/span/span
screenCapturenotification-humanized
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]214,15
click//div[@id='notifButt1']/span/span
screenCapturenotification-warning
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]172,13
click//div[@id='notifButt2']/span/span
screenCapturenotification-error
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]318,11
click//div[@id='notifButt3']/span/span
screenCapturenotification-tray
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]66,9
- - diff --git a/uitest/tb2/com/vaadin/tests/components/uitest/liferay_theme_test.html b/uitest/tb2/com/vaadin/tests/components/uitest/liferay_theme_test.html deleted file mode 100644 index 3ed5836c86..0000000000 --- a/uitest/tb2/com/vaadin/tests/components/uitest/liferay_theme_test.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - -liferay_theme_test - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
liferay_theme_test
open/run/ThemeTestUI?restartApplication&theme=liferay
screenCapturelabels
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[2]/div/div/div31,8
screenCapturebuttons
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[3]/div/div/div27,1
screenCaptureembedded
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[4]/div/div33,24
screenCapturedates
mouseClick//div[@id='datefield0']/button11,10
screenCapturedates-first-popup
mouseClick//div[@id='datefield1']/button14,9
screenCapturedates-second-popup
mouseClick//div[@id='datefield2']/button9,16
screenCapturedates-third-popup
mouseClick//div[@id='datefield3']/button9,10
screenCapturedates-fourth-popup
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[5]/div/div/div35,2
screenCapturetextfields
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[6]/div/div/div27,10
screenCaptureselects
mouseClick//div[@id='select0']/div9,11
screenCaptureselects-first-open
mouseClick//div[@id='select1']/div10,13
screenCaptureselects-second-open
mouseClick//div[@id='select6']/div7,13
screenCaptureselects-third-open
mouseClick//div[@id='select7']/div7,12
screenCaptureselects-fourth-open
mouseClick//div[@id='select8']/div9,7
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[7]/div/div/div20,3
screenCapturesliders
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[8]/div/div/div18,5
mouseClickvaadin=runThemeTestUI::/VVerticalLayout[0]518,136
screenCaptureuploads
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[9]/div/div/div18,10
screenCaptureforms
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[10]/div/div22,25
screenCapturetables
contextMenuAt//div[@id='table0']/div[2]/div[1]/table/tbody/tr[2]/td[1]/div0,0
screenCapturetables-contextmenu
mouseClick//div[@id='table0']/div[1]/div[2]12,9
screenCapturetables-collapsemenu
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[11]/div/div/div28,3
screenCapturetrees
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[12]/div/div52,9
screenCapturetreetable
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[13]/div/div23,9
screenCapturelayouts
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[14]/div/div/div24,1
screenCapturetabsheets
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[15]/div/div/div24,9
screenCaptureaccordions
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[16]/div/div/div15,0
click//div[@id='windButton0']/span
screenCapturesubwindow-default
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]9,8
click//div[@id='windButton1']/span/span
screenCapturesubwindow-light
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]11,6
click//div[@id='windButton2']/span/span
screenCapturesubwindow-black
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]8,5
click//div[@id='windButton3']/span/span
screenCapturesubwindow-dialog
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]9,6
click//div[@id='windButton4']/span/span
screenCapturesubwindow-opaque
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]10,7
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[17]/div/div46,8
click//div[@id='notifButt0']/span/span
screenCapturenotification-humanized
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]214,15
click//div[@id='notifButt1']/span/span
screenCapturenotification-warning
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]172,13
click//div[@id='notifButt2']/span/span
screenCapturenotification-error
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]318,11
click//div[@id='notifButt3']/span/span
screenCapturenotification-tray
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]66,9
- - diff --git a/uitest/tb2/com/vaadin/tests/components/uitest/reindeer_theme_test.html b/uitest/tb2/com/vaadin/tests/components/uitest/reindeer_theme_test.html deleted file mode 100644 index 6d19f5c7a1..0000000000 --- a/uitest/tb2/com/vaadin/tests/components/uitest/reindeer_theme_test.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - -reindeer_theme_test - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
reindeer_theme_test
open/run/ThemeTestUI?restartApplication&theme=reindeer
screenCapturelabels
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[2]/div/div/div31,8
screenCapturebuttons
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[3]/div/div/div27,1
screenCaptureembedded
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[4]/div/div33,24
screenCapturedates
mouseClick//div[@id='datefield0']/button11,10
screenCapturedates-first-popup
mouseClick//div[@id='datefield1']/button14,9
screenCapturedates-second-popup
mouseClick//div[@id='datefield2']/button9,16
screenCapturedates-third-popup
mouseClick//div[@id='datefield3']/button9,10
screenCapturedates-fourth-popup
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[5]/div/div/div35,2
screenCapturetextfields
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[6]/div/div/div27,10
screenCaptureselects
mouseClick//div[@id='select0']/div9,11
screenCaptureselects-first-open
mouseClick//div[@id='select1']/div10,13
screenCaptureselects-second-open
mouseClick//div[@id='select6']/div7,13
screenCaptureselects-third-open
mouseClick//div[@id='select7']/div7,12
screenCaptureselects-fourth-open
mouseClick//div[@id='select8']/div9,7
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[7]/div/div/div20,3
screenCapturesliders
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[8]/div/div/div18,5
mouseClickvaadin=runThemeTestUI::/VVerticalLayout[0]518,136
screenCaptureuploads
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[9]/div/div/div18,10
screenCaptureforms
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[10]/div/div22,25
screenCapturetables
contextMenuAt//div[@id='table0']/div[2]/div[1]/table/tbody/tr[2]/td[1]/div0,0
screenCapturetables-contextmenu
mouseClick//div[@id='table0']/div[1]/div[2]12,9
screenCapturetables-collapsemenu
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[11]/div/div/div28,3
screenCapturetrees
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[12]/div/div52,9
screenCapturetreetable
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[13]/div/div23,9
screenCapturelayouts
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[14]/div/div/div24,1
screenCapturetabsheets
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[15]/div/div/div24,9
screenCaptureaccordions
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[16]/div/div/div15,0
click//div[@id='windButton0']/span
screenCapturesubwindow-default
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]9,8
click//div[@id='windButton1']/span/span
screenCapturesubwindow-light
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]11,6
click//div[@id='windButton2']/span/span
screenCapturesubwindow-black
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]8,5
click//div[@id='windButton3']/span/span
screenCapturesubwindow-dialog
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]9,6
click//div[@id='windButton4']/span/span
screenCapturesubwindow-opaque
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]10,7
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[17]/div/div46,8
click//div[@id='notifButt0']/span/span
screenCapturenotification-humanized
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]214,15
click//div[@id='notifButt1']/span/span
screenCapturenotification-warning
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]172,13
click//div[@id='notifButt2']/span/span
screenCapturenotification-error
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]318,11
click//div[@id='notifButt3']/span/span
screenCapturenotification-tray
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]66,9
- - diff --git a/uitest/tb2/com/vaadin/tests/components/uitest/runo_theme_test.html b/uitest/tb2/com/vaadin/tests/components/uitest/runo_theme_test.html deleted file mode 100644 index 183854102d..0000000000 --- a/uitest/tb2/com/vaadin/tests/components/uitest/runo_theme_test.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - -runo_theme_test - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
runo_theme_test
open/run/ThemeTestUI?restartApplication&theme=runo
screenCapturelabels
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[2]/div/div/div31,8
screenCapturebuttons
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[3]/div/div/div27,1
screenCaptureembedded
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[4]/div/div33,24
screenCapturedates
mouseClick//div[@id='datefield0']/button11,10
screenCapturedates-first-popup
mouseClick//div[@id='datefield1']/button14,9
screenCapturedates-second-popup
mouseClick//div[@id='datefield2']/button9,16
screenCapturedates-third-popup
mouseClick//div[@id='datefield3']/button9,10
screenCapturedates-fourth-popup
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[5]/div/div/div35,2
screenCapturetextfields
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[6]/div/div/div27,10
screenCaptureselects
mouseClick//div[@id='select0']/div9,11
screenCaptureselects-first-open
mouseClick//div[@id='select1']/div10,13
screenCaptureselects-second-open
mouseClick//div[@id='select6']/div7,13
screenCaptureselects-third-open
mouseClick//div[@id='select7']/div7,12
screenCaptureselects-fourth-open
mouseClick//div[@id='select8']/div9,7
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[7]/div/div/div20,3
screenCapturesliders
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[8]/div/div/div18,5
mouseClickvaadin=runThemeTestUI::/VVerticalLayout[0]518,136
screenCaptureuploads
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[9]/div/div/div18,10
screenCaptureforms
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[10]/div/div22,25
screenCapturetables
contextMenuAt//div[@id='table0']/div[2]/div[1]/table/tbody/tr[2]/td[1]/div0,0
screenCapturetables-contextmenu
mouseClick//div[@id='table0']/div[1]/div[2]12,9
screenCapturetables-collapsemenu
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[11]/div/div/div28,3
screenCapturetrees
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[12]/div/div52,9
screenCapturetreetable
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[13]/div/div23,9
screenCapturelayouts
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[14]/div/div/div24,1
screenCapturetabsheets
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[15]/div/div/div24,9
screenCaptureaccordions
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[16]/div/div/div15,0
click//div[@id='windButton0']/span
screenCapturesubwindow-default
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]9,8
click//div[@id='windButton1']/span/span
screenCapturesubwindow-light
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]11,6
click//div[@id='windButton2']/span/span
screenCapturesubwindow-black
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]8,5
click//div[@id='windButton3']/span/span
screenCapturesubwindow-dialog
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]9,6
click//div[@id='windButton4']/span/span
screenCapturesubwindow-opaque
mouseClickvaadin=runThemeTestUI::/VWindow[0]/domChild[0]/domChild[0]/domChild[1]/domChild[1]10,7
mouseClick//div[@id='testsampler']/div[1]/table/tbody/tr/td[17]/div/div46,8
click//div[@id='notifButt0']/span/span
screenCapturenotification-humanized
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]214,15
click//div[@id='notifButt1']/span/span
screenCapturenotification-warning
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]172,13
click//div[@id='notifButt2']/span/span
screenCapturenotification-error
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]318,11
click//div[@id='notifButt3']/span/span
screenCapturenotification-tray
closeNotificationvaadin=runThemeTestUI::Root/VNotification[0]66,9
- -