From ad1b3e2a11be19b9beb66d06a0af9d0af7921ec7 Mon Sep 17 00:00:00 2001 From: Rajesh Taneja Date: Fri, 13 May 2016 09:43:44 +0800 Subject: [PATCH] MDL-54564 behat: Wait after hover, to ensure page is ready --- calendar/tests/behat/behat_calendar.php | 1 + 1 file changed, 1 insertion(+) diff --git a/calendar/tests/behat/behat_calendar.php b/calendar/tests/behat/behat_calendar.php index 70e57b22730..d8acb6adeda 100644 --- a/calendar/tests/behat/behat_calendar.php +++ b/calendar/tests/behat/behat_calendar.php @@ -96,6 +96,7 @@ class behat_calendar extends behat_base { $dayofmonth = "a[{$daycontains}]"; return array( new Given('I hover "//' . $currentmonth . '/descendant::' . $daycell . '/' . $dayofmonth . '" "xpath_element"'), + new Given('I wait until the page is ready'), ); }