]> source.dussan.org Git - vaadin-framework.git/commitdiff
Ensure PhantomJS2 tests are run on version 2
authorArtur Signell <artur@vaadin.com>
Thu, 4 Jun 2015 18:10:57 +0000 (21:10 +0300)
committerArtur Signell <artur@vaadin.com>
Thu, 4 Jun 2015 18:11:27 +0000 (21:11 +0300)
Change-Id: I802992a13c81a43d9f2c021184947fa83b17cdaf

uitest/src/com/vaadin/tests/tb3/SingleBrowserTestPhantomJS2.java

index a5afe3afce4fdcb4a9235055ce30a3c9bb307a15..9f4e5938e7b49be7e63f4dcbc8a28dcc14982529 100644 (file)
@@ -28,6 +28,7 @@ public abstract class SingleBrowserTestPhantomJS2 extends
     public List<DesiredCapabilities> getBrowsersToTest() {
         DesiredCapabilities p2 = Browser.PHANTOMJS.getDesiredCapabilities();
         p2.setVersion("2");
+        p2.setCapability("phantomjs.binary.path", "/usr/bin/phantomjs2");
         return Collections.singletonList(p2);
     }
 }