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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user