Skip to content

Commit

Permalink
Merge pull request #3820 from dpalou/MOBILE-4362
Browse files Browse the repository at this point in the history
MOBILE-4069 behat: Fix view events behat failing in some cases
  • Loading branch information
NoelDeMartin authored Oct 16, 2023
2 parents c09d3e0 + 6866d30 commit c79accb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/addons/mod/scorm/tests/behat/basic_usage.feature
Original file line number Diff line number Diff line change
Expand Up @@ -218,20 +218,20 @@ Feature: Test basic usage of SCORM activity in app
Then I should find "Completed" within "The second content (one SCO too)" "ion-item" in the app
And I should be able to press "SCO with prerequisite (first and secon SCO)" in the app

@lms_from4.2
Scenario: View events are stored in the log
Given the following "activities" exist:
| activity | name | course | idnumber | packagefilepath |
| scorm | Basic SCORM | C1 | scorm | mod/scorm/tests/packages/RuntimeMinimumCalls_SCORM12-mini.zip |
And I entered the course "Course 1" as "student1" in the app
And I change viewport size to "1200x640" in the app
When I press "Basic SCORM" in the app
And I press "Enter" in the app
And I press "Disable fullscreen" in the app
Then I should find "2 / 11" in the app

When I open a browser tab with url "$WWWROOT"
And I log in as "admin"
And I navigate to "Reports > Reports > Logs" in site administration
And I am on the "System logs report" page
And I set the field "id" to "Course 1"
And I set the field "user" to "Student student"
And I press "Get these logs"
Expand Down

0 comments on commit c79accb

Please sign in to comment.