Commit 01095dbf authored by Rajesh Taneja's avatar Rajesh Taneja
Browse files

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.
parent 3dc33059
......@@ -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"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment