forked from EVOgeek/Vmeda.Online
		
	MOBILE-4069 behat: Fix SCORM tests in old LMS versions
This commit is contained in:
		
							parent
							
								
									cc472e58f5
								
							
						
					
					
						commit
						23b0b9afc7
					
				| @ -606,6 +606,7 @@ Feature: Test attempts and grading settings of SCORM activity in app | ||||
|     And I press the back button in the app | ||||
|     Then I should find "74%" within "Grade reported" "ion-item" in the app | ||||
| 
 | ||||
|   @lms_from4.1 | ||||
|   Scenario: SCORM grade is calculated right based on 'Attempts grading' setting | ||||
|     Given the following "activities" exist: | ||||
|       | activity | name          | course | idnumber | packagefilepath                             | maxattempt | whatgrade | grademethod | forcenewattempt | | ||||
|  | ||||
| @ -20,6 +20,7 @@ Feature: Test availability options of SCORM activity in app | ||||
|       | scorm    | C1     | Current SCORM | mod/scorm/tests/packages/singlesco_scorm12.zip | ##yesterday## | ##tomorrow##  | | ||||
|       | scorm    | C1     | Future SCORM  | mod/scorm/tests/packages/singlesco_scorm12.zip | ##tomorrow##  | ##+2 days##   | | ||||
| 
 | ||||
|   @lms_from4.1 | ||||
|   Scenario: Only open SCORMs can be played | ||||
|     Given I entered the course "Course 1" as "student1" in the app | ||||
|     When I press "Past SCORM" in the app | ||||
|  | ||||
| @ -223,6 +223,7 @@ Feature: Test basic usage of SCORM activity in app | ||||
|       | 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 | ||||
| @ -230,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 am on the "System logs report" page | ||||
|     And I navigate to "Reports > Reports > Logs" in site administration | ||||
|     And I set the field "id" to "Course 1" | ||||
|     And I set the field "user" to "Student student" | ||||
|     And I press "Get these logs" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user