diff --git a/mod/scorm/tests/behat/completion_condition_require_status.feature b/mod/scorm/tests/behat/completion_condition_require_status.feature index e6ef3ee2a06..8ec5c8c6052 100644 --- a/mod/scorm/tests/behat/completion_condition_require_status.feature +++ b/mod/scorm/tests/behat/completion_condition_require_status.feature @@ -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" diff --git a/mod/scorm/tests/behat/multisco_review_mode.feature b/mod/scorm/tests/behat/multisco_review_mode.feature index 4195df14494..c39c71fe8fb 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" @@ -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"