From 37ae893aba02c233e2a19809ab8e4fa6bd616a5b Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 5 Feb 2015 13:33:49 +0200 Subject: Report ip of test machine containing wrong browser version Change-Id: Ib94fbf8a092e321612081672ae54b1170a05b358 --- uitest/src/com/vaadin/tests/VerifyBrowserVersionTest.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'uitest/src/com/vaadin') 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()); } + } -- cgit v1.2.3