From 7c1116dbbb4592ac69c3577a83994c2e7e4638aa Mon Sep 17 00:00:00 2001 From: Rajesh Taneja Date: Mon, 12 Dec 2016 08:22:17 +0800 Subject: [PATCH] MDL-57343 behat: Ensure we wait enough for page to be fully loaded --- .../tests/behat/completion_condition_require_status.feature | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/scorm/tests/behat/completion_condition_require_status.feature b/mod/scorm/tests/behat/completion_condition_require_status.feature index 9d3e4ad22c7..c33cdf97518 100644 --- a/mod/scorm/tests/behat/completion_condition_require_status.feature +++ b/mod/scorm/tests/behat/completion_condition_require_status.feature @@ -182,6 +182,7 @@ Feature: Scorm multi-sco completion And I should see "Knowledge Check" And I switch to the main frame And I follow "Exit activity" + And I wait until the page is ready Then I should see "ADV Multi-sco SCORM package" And I log out And I log in as "teacher1"