Skip to content

Commit

Permalink
[behat] Force set marionette capability to true
Browse files Browse the repository at this point in the history
This works around Behat/MinkExtension#376.
  • Loading branch information
andrewnicols committed Dec 1, 2021
1 parent 1c8c62a commit fa114d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runner/master/config.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,10 @@ public static function configure_profiles_for_browser(string $browser, string $r
// Set the default profile to use the first selenium URL only.
$profile['wd_host'] = getenv('SELENIUMURL_1') . '/wd/hub';

// Work around for https://github.com/Behat/MinkExtension/issues/376.
$profile['capabilities']['extra_capabilities']['marionette'] = true;
$profile['capabilities']['marionette'] = true;

$CFG->behat_profiles = [];
$CFG->behat_profiles[$browser] = $profile;

Expand Down

0 comments on commit fa114d4

Please sign in to comment.