summarylogtreecommitdiffstats
path: root/fix_tests.patch
blob: 370072a1b32634d320905a828bf7450937dd8a85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
diff --git a/test/dispatch/system_testing/driver_test.rb b/test/dispatch/system_testing/driver_test.rb
index 430286f5ee..bf0f08359c 100644
--- a/test/dispatch/system_testing/driver_test.rb
+++ b/test/dispatch/system_testing/driver_test.rb
@@ -65,8 +65,7 @@ class DriverTest < ActiveSupport::TestCase
         "args" => ["start-maximized"],
         "mobileEmulation" => { "deviceName" => "iphone 6" },
         "prefs" => { "detach" => true }
-      },
-      "browserName" => "chrome"
+      }
     }
     assert_equal expected, browser_options[:options].as_json
   end
@@ -85,8 +84,7 @@ class DriverTest < ActiveSupport::TestCase
         "args" => ["--headless", "start-maximized"],
         "mobileEmulation" => { "deviceName" => "iphone 6" },
         "prefs" => { "detach" => true }
-      },
-      "browserName" => "chrome"
+      }
     }
     assert_equal expected, browser_options[:options].as_json
   end
@@ -103,8 +101,7 @@ class DriverTest < ActiveSupport::TestCase
       "moz:firefoxOptions" => {
         "args" => ["--host=127.0.0.1"],
         "prefs" => { "browser.startup.homepage" => "http://www.seleniumhq.com/" }
-      },
-      "browserName" => "firefox"
+      }
     }
     assert_equal expected, browser_options[:options].as_json
   end
@@ -121,8 +118,7 @@ class DriverTest < ActiveSupport::TestCase
       "moz:firefoxOptions" => {
         "args" => ["-headless", "--host=127.0.0.1"],
         "prefs" => { "browser.startup.homepage" => "http://www.seleniumhq.com/" }
-      },
-      "browserName" => "firefox"
+      }
     }
     assert_equal expected, browser_options[:options].as_json
   end