aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/application/ResynchronizeUITest.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/application/ResynchronizeUITest.java')
-rw-r--r--uitest/src/com/vaadin/tests/application/ResynchronizeUITest.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/uitest/src/com/vaadin/tests/application/ResynchronizeUITest.java b/uitest/src/com/vaadin/tests/application/ResynchronizeUITest.java
index 4dd8292e23..726616d7b8 100644
--- a/uitest/src/com/vaadin/tests/application/ResynchronizeUITest.java
+++ b/uitest/src/com/vaadin/tests/application/ResynchronizeUITest.java
@@ -48,13 +48,7 @@ public class ResynchronizeUITest extends SingleBrowserTest {
// Click causes repaint, after this the old button element should no
// longer be available
// Ensure that the theme has changed
- waitUntil(new ExpectedCondition<Boolean>() {
- @Override
- public Boolean apply(WebDriver input) {
- WebElement app = input.findElement(By.className("v-app"));
- return hasCssClass(app, "runo");
- }
- });
+ waitForThemeToChange("runo");
try {
button.click();
Assert.fail("The old button element should have been removed by the click and replaced by a new one.");