From 6866d304e8946c018dc174dd33f49d938fcee380 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Mon, 16 Oct 2023 11:01:27 +0200 Subject: [PATCH] MOBILE-4069 behat: Fix view events behat failing in some cases --- src/addons/mod/scorm/tests/behat/basic_usage.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/addons/mod/scorm/tests/behat/basic_usage.feature b/src/addons/mod/scorm/tests/behat/basic_usage.feature index 44f6ba066ff..878699d8aac 100755 --- a/src/addons/mod/scorm/tests/behat/basic_usage.feature +++ b/src/addons/mod/scorm/tests/behat/basic_usage.feature @@ -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 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 @@ -231,7 +231,7 @@ Feature: Test basic usage of SCORM activity in 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"