aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--uitest/src/com/vaadin/tests/layouts/layouttester/HorizontalLayoutTests.java3
-rw-r--r--uitest/src/com/vaadin/tests/layouts/layouttester/LayoutTesterApplicationTest.java3
-rw-r--r--uitest/src/com/vaadin/tests/layouts/layouttester/VerticalLayoutTests.java3
3 files changed, 3 insertions, 6 deletions
diff --git a/uitest/src/com/vaadin/tests/layouts/layouttester/HorizontalLayoutTests.java b/uitest/src/com/vaadin/tests/layouts/layouttester/HorizontalLayoutTests.java
index 971205ccbb..afa53c012e 100644
--- a/uitest/src/com/vaadin/tests/layouts/layouttester/HorizontalLayoutTests.java
+++ b/uitest/src/com/vaadin/tests/layouts/layouttester/HorizontalLayoutTests.java
@@ -97,8 +97,7 @@ public class HorizontalLayoutTests extends AbstractLayoutTests {
for (int i = 0; i < captions.length; i++) {
component = getTestTabsheet();
component.setCaption(captions[i]);
- component.setComponentError(new UserError(
- "component error, user error"));
+ component.setComponentError(new UserError(""));
vlo.addComponent(component);
}
baseLayout.addComponent(vlo);
diff --git a/uitest/src/com/vaadin/tests/layouts/layouttester/LayoutTesterApplicationTest.java b/uitest/src/com/vaadin/tests/layouts/layouttester/LayoutTesterApplicationTest.java
index 6ba5109ce7..0544be326a 100644
--- a/uitest/src/com/vaadin/tests/layouts/layouttester/LayoutTesterApplicationTest.java
+++ b/uitest/src/com/vaadin/tests/layouts/layouttester/LayoutTesterApplicationTest.java
@@ -25,7 +25,6 @@ import org.openqa.selenium.By;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.support.ui.Select;
-import com.thoughtworks.selenium.webdriven.WebDriverBackedSelenium;
import com.vaadin.tests.tb3.MultiBrowserTest;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.HorizontalLayout;
@@ -117,7 +116,7 @@ public class LayoutTesterApplicationTest extends MultiBrowserTest {
// Table does some extra layout phase and TestBench does not always
// take this into account, grabbing screenshots before the layout
// phase is done (see #12866).
- sleep(350);
+ sleep(500);
}
compareScreen(screenshotPrefix + "-"
+ sanitize(driver.findElement(By.id(buttonId)).getText()));
diff --git a/uitest/src/com/vaadin/tests/layouts/layouttester/VerticalLayoutTests.java b/uitest/src/com/vaadin/tests/layouts/layouttester/VerticalLayoutTests.java
index 04cee2d68d..df9be8ffd0 100644
--- a/uitest/src/com/vaadin/tests/layouts/layouttester/VerticalLayoutTests.java
+++ b/uitest/src/com/vaadin/tests/layouts/layouttester/VerticalLayoutTests.java
@@ -96,8 +96,7 @@ public class VerticalLayoutTests extends AbstractLayoutTests {
for (int i = 0; i < captions.length; i++) {
component = getTestTabsheet();
component.setCaption(captions[i]);
- component.setComponentError(new UserError(
- "component error, user error"));
+ component.setComponentError(new UserError(""));
vlo.addComponent(component);
}
baseLayout.addComponent(vlo);