]> source.dussan.org Git - vaadin-framework.git/commitdiff
Report ip of test machine containing wrong browser version
authorArtur Signell <artur@vaadin.com>
Thu, 5 Feb 2015 11:33:49 +0000 (13:33 +0200)
committerVaadin Code Review <review@vaadin.com>
Thu, 5 Feb 2015 12:05:59 +0000 (12:05 +0000)
Change-Id: Ib94fbf8a092e321612081672ae54b1170a05b358

uitest/src/com/vaadin/tests/VerifyBrowserVersionTest.java

index 43d6a55a8b2ec498a9ea584c9b5804c2e1359f38..ba2e1f3c739b735c344659d4cab295dbeaca5207 100644 (file)
@@ -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());
     }
+
 }