Skip to content

Commit d8c3617

Browse files
committed
Set Marionette flag appropriately in Python tests
1 parent 6f7a4ab commit d8c3617

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

py/build.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ py_test(
2020

2121
py_test(
2222
name = "marionette_test",
23-
deps = [ ":test_ff" ],
23+
deps = [ ":test_marionette" ],
2424
browsers = [ "marionette" ])
2525

2626
py_test(

rake-tasks/browsers.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
:dir => "firefox", # Directory to put tests in/read tests from
1010
:file_string => "ff", # Browser-string to use in test filenames
1111
:class => "Firefox", # As per py/selenium/webdriver/__init__.py
12+
:constructor_args => "capabilities={'marionette': False}",
1213
:resources => [
1314
{ "//javascript/firefox-driver:webdriver" => "selenium/webdriver/firefox/" },
1415
{ "//cpp:noblur" => "selenium/webdriver/firefox/x86/x_ignore_nofocus.so" },
@@ -27,6 +28,7 @@
2728
:dir => "firefox", # Directory to put tests in/read tests from
2829
:file_string => "marionette", # Browser-string to use in test filenames
2930
:class => "Firefox", # As per py/selenium/webdriver/__init__.py
31+
:constructor_args => "capabilities={'marionette': True}",
3032
},
3133
:java => {
3234
:class => "org.openqa.selenium.firefox.SynthesizedFirefoxDriver",

0 commit comments

Comments
 (0)