From e9ea931a48096f9e54d67020dc2d1d9214f4cbf2 Mon Sep 17 00:00:00 2001
From: sam marshall <s.marshall@open.ac.uk>
Date: Thu, 28 Feb 2019 17:36:30 +0000
Subject: [PATCH] MDL-64979 Behat: Add option to increase timeouts

---
 behat_app.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/behat_app.php b/behat_app.php
index 8a5b23813..fee3f56d9 100644
--- a/behat_app.php
+++ b/behat_app.php
@@ -307,7 +307,7 @@ class behat_app extends behat_base {
                         return 'mainpage';
                     }
                     throw new DriverException('Moodle app login URL prompt not found');
-                }, self::EXTENDED_TIMEOUT, 30);
+                }, behat_base::get_extended_timeout(), 30);
 
         // If it's the login page, we automatically fill in the URL and leave it on the user/pass
         // page. If it's the main page, we just leave it there.