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:
committed by
Andrew Nicols
parent
2827c7f997
commit
c40ed5f6ff
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user