From 3398ecbfc2bbec71ac640769eee07b24601eeda1 Mon Sep 17 00:00:00 2001 From: Rajesh Taneja Date: Wed, 18 Jan 2017 13:08:29 +0800 Subject: [PATCH] MDL-45821 behat: navigate back to scorm to avoid scroll On Exiting scrom activity, it goes back to course and scrolls to section. On slow machines next step fails. To avoid such case navigate to home screen and then follow next step. --- mod/scorm/tests/behat/multisco_review_mode.feature | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mod/scorm/tests/behat/multisco_review_mode.feature b/mod/scorm/tests/behat/multisco_review_mode.feature index 6826e3caedd..d0100dbe784 100644 --- a/mod/scorm/tests/behat/multisco_review_mode.feature +++ b/mod/scorm/tests/behat/multisco_review_mode.feature @@ -45,6 +45,8 @@ Feature: Scorm multi-sco review mode. And I follow "Exit activity" And I wait until the page is ready And I should see "Basic Multi-sco SCORM package" + And I am on homepage + And I follow "Course 1" And I follow "Basic Multi-sco SCORM package" And I should see "Normal" And I press "Enter" @@ -165,6 +167,8 @@ Feature: Scorm multi-sco review mode. And I follow "Exit activity" And I wait until the page is ready And I should see "ADV Multi-sco SCORM package" + And I am on homepage + And I follow "Course 1" And I follow "ADV Multi-sco SCORM package" And I should see "Normal" And I press "Enter"