mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
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:
parent
3dc3305936
commit
01095dbfd6
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user