Merge pull request #3820 from dpalou/MOBILE-4362

MOBILE-4069 behat: Fix view events behat failing in some cases
main
Noel De Martin 2023-10-16 12:23:59 +02:00 committed by GitHub
commit c79accb01a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -218,12 +218,12 @@ 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 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 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 Scenario: View events are stored in the log
Given the following "activities" exist: Given the following "activities" exist:
| activity | name | course | idnumber | packagefilepath | | activity | name | course | idnumber | packagefilepath |
| scorm | Basic SCORM | C1 | scorm | mod/scorm/tests/packages/RuntimeMinimumCalls_SCORM12-mini.zip | | 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 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 When I press "Basic SCORM" in the app
And I press "Enter" in the app And I press "Enter" in the app
And I press "Disable fullscreen" in the app And I press "Disable fullscreen" in the app
@ -231,7 +231,7 @@ Feature: Test basic usage of SCORM activity in app
When I open a browser tab with url "$WWWROOT" When I open a browser tab with url "$WWWROOT"
And I log in as "admin" 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 "id" to "Course 1"
And I set the field "user" to "Student student" And I set the field "user" to "Student student"
And I press "Get these logs" And I press "Get these logs"