diff options
author | Artur Signell <artur@vaadin.com> | 2013-11-14 09:38:05 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-11-15 15:41:02 +0200 |
commit | 642818fef200429d4206403e98aabd54ff3b6dd8 (patch) | |
tree | 216a71ba5d292a594d6cbc32226a8bec921b1c83 /uitest/src/com/vaadin/tests/VerifyBrowserVersionTest.java | |
parent | 33e58977c266c3b5846bb2edc5e673359768ed2e (diff) | |
download | vaadin-framework-642818fef200429d4206403e98aabd54ff3b6dd8.tar.gz vaadin-framework-642818fef200429d4206403e98aabd54ff3b6dd8.zip |
Allow using @RunLocally to run on a local Firefox/Chrome/Safari
Change-Id: Ibb1dfd12dc48637d8179f80322b5203ea5562805
Diffstat (limited to 'uitest/src/com/vaadin/tests/VerifyBrowserVersionTest.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/VerifyBrowserVersionTest.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/uitest/src/com/vaadin/tests/VerifyBrowserVersionTest.java b/uitest/src/com/vaadin/tests/VerifyBrowserVersionTest.java index ae5806af56..bb0b40e2d1 100644 --- a/uitest/src/com/vaadin/tests/VerifyBrowserVersionTest.java +++ b/uitest/src/com/vaadin/tests/VerifyBrowserVersionTest.java @@ -30,23 +30,22 @@ public class VerifyBrowserVersionTest extends MultiBrowserTest { { expectedUserAgent - .put(BrowserUtil - .firefox(MultiBrowserTest.TESTED_FIREFOX_VERSION), + .put(Browser.FIREFOX.getDesiredCapabilities(), "Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0"); expectedUserAgent - .put(BrowserUtil.ie(8), + .put(Browser.IE8.getDesiredCapabilities(), "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"); expectedUserAgent - .put(BrowserUtil.ie(9), + .put(Browser.IE9.getDesiredCapabilities(), "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"); expectedUserAgent - .put(BrowserUtil.ie(10), + .put(Browser.IE10.getDesiredCapabilities(), "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)"); expectedUserAgent - .put(BrowserUtil.ie(11), + .put(Browser.IE11.getDesiredCapabilities(), "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko"); expectedUserAgent - .put(BrowserUtil.chrome(MultiBrowserTest.TESTED_CHROME_VERSION), + .put(Browser.CHROME.getDesiredCapabilities(), "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36"); } |