diff options
Diffstat (limited to 'uitest/src/test/java/com/vaadin/tests/applicationservlet/ContextProtocolTest.java')
-rw-r--r-- | uitest/src/test/java/com/vaadin/tests/applicationservlet/ContextProtocolTest.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/applicationservlet/ContextProtocolTest.java b/uitest/src/test/java/com/vaadin/tests/applicationservlet/ContextProtocolTest.java index a4bd0b5f85..186523545d 100644 --- a/uitest/src/test/java/com/vaadin/tests/applicationservlet/ContextProtocolTest.java +++ b/uitest/src/test/java/com/vaadin/tests/applicationservlet/ContextProtocolTest.java @@ -15,7 +15,8 @@ */ package com.vaadin.tests.applicationservlet; -import org.junit.Assert; +import static org.junit.Assert.assertEquals; + import org.junit.Test; import com.vaadin.testbench.By; @@ -27,9 +28,9 @@ public class ContextProtocolTest extends SingleBrowserTest { public void contextPathCorrect() { openTestURL(); // Added by bootstrap - Assert.assertEquals("said", executeScript("return window.hello")); + assertEquals("said", executeScript("return window.hello")); // Added by client side - Assert.assertEquals(getBaseURL() + "/statictestfiles/image.png", + assertEquals(getBaseURL() + "/statictestfiles/image.png", findElement(By.id("image")).getAttribute("src")); } |