summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-02-05 13:33:49 +0200
committerVaadin Code Review <review@vaadin.com>2015-02-05 12:05:59 +0000
commit37ae893aba02c233e2a19809ab8e4fa6bd616a5b (patch)
tree912feeaa31e7c808ab428940299159eb81ccd8f2
parent4204410dadb1947fec0e933f0d910bfa073022af (diff)
downloadvaadin-framework-37ae893aba02c233e2a19809ab8e4fa6bd616a5b.tar.gz
vaadin-framework-37ae893aba02c233e2a19809ab8e4fa6bd616a5b.zip
Report ip of test machine containing wrong browser version
Change-Id: Ib94fbf8a092e321612081672ae54b1170a05b358
-rw-r--r--uitest/src/com/vaadin/tests/VerifyBrowserVersionTest.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/VerifyBrowserVersionTest.java b/uitest/src/com/vaadin/tests/VerifyBrowserVersionTest.java
index 43d6a55a8b..ba2e1f3c73 100644
--- a/uitest/src/com/vaadin/tests/VerifyBrowserVersionTest.java
+++ b/uitest/src/com/vaadin/tests/VerifyBrowserVersionTest.java
@@ -56,9 +56,12 @@ public class VerifyBrowserVersionTest extends MultiBrowserTest {
@Test
public void verifyUserAgent() {
openTestURL();
- Assert.assertEquals(expectedUserAgent.get(getDesiredCapabilities()),
- vaadinElementById("userAgent").getText());
+ String expected = expectedUserAgent.get(getDesiredCapabilities());
+ String actual = vaadinElementById("userAgent").getText();
+ Assert.assertEquals("Remote control " + getRemoteControlName()
+ + " uses incorrect browser version", expected, actual);
Assert.assertEquals("Touch device? No",
vaadinElementById("touchDevice").getText());
}
+
}