From 6a01f84ed560583d1e9c4eaee715d4f7420b785e Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Mon, 7 Jun 2021 10:00:06 +0200 Subject: [PATCH] MOBILE-3320 behat: Fix negated step --- tests/behat/behat_app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/behat/behat_app.php b/tests/behat/behat_app.php index 7dc3920f6..ba732ee74 100644 --- a/tests/behat/behat_app.php +++ b/tests/behat/behat_app.php @@ -683,7 +683,7 @@ class behat_app extends behat_base { * @Given /^the app should( not)? have opened a browser tab$/ * @param bool $not */ - public function the_app_should_have_opened_a_browser_tab(bool $not) { + public function the_app_should_have_opened_a_browser_tab(bool $not = false) { $this->spin(function() use ($not) { $openedbrowsertab = count($this->getSession()->getWindowNames()) === 2;