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.
This commit is contained in:
Rajesh Taneja 2017-01-18 12:46:11 +08:00
parent 3dc3305936
commit 01095dbfd6
2 changed files with 5 additions and 0 deletions

View File

@ -84,6 +84,7 @@ Feature: Scorm multi-sco completion
And I follow "Exit activity"
And I wait until the page is ready
Then I should see "ADV Multi-sco SCORM package"
And I am on homepage
And I log out
And I log in as "teacher1"
And I follow "Course 1"

View File

@ -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"
@ -166,6 +168,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"