forked from EVOgeek/Vmeda.Online
		
	Merge pull request #3972 from crazyserver/MOBILE-4497
MOBILE-4497 competencies: Fix behat on previous versions
This commit is contained in:
		
						commit
						b850251fbc
					
				| @ -175,15 +175,6 @@ Feature: Test competency navigation | ||||
|     Then I should find "Desserts are important" in the app | ||||
|     But I should not find "Cakes" in the app | ||||
| 
 | ||||
|     Given the following config values are set as admin: | ||||
|       | enabled | 0 | core_competency | | ||||
|     When I entered the course "Course 1" as "student1" in the app | ||||
|     Then I should not find "Competencies" in the app | ||||
| 
 | ||||
|     When I press the back button in the app | ||||
|     And I press the user menu button in the app | ||||
|     And I should not find "Learning plans" in the app | ||||
| 
 | ||||
|   Scenario: Mobile navigation (teacher) | ||||
|     Given I entered the course "Course 1" as "teacher1" in the app | ||||
| 
 | ||||
| @ -474,3 +465,17 @@ Feature: Test competency navigation | ||||
|     When I press "Desserts" near "Cross-referenced competencies" in the app | ||||
|     Then I should find "Desserts are important" in the app | ||||
|     But I should not find "Cakes" in the app | ||||
| 
 | ||||
|   @lms_from4.4 | ||||
|   Scenario: Disable features | ||||
|     Given the Moodle site is compatible with this feature | ||||
|     And the following config values are set as admin: | ||||
|       | enabled | 0 | core_competency | | ||||
| 
 | ||||
|     When I entered the course "Course 1" as "student1" in the app | ||||
|     Then I should not find "Competencies" in the app | ||||
| 
 | ||||
|     When I press the back button in the app | ||||
|     And I press the user menu button in the app | ||||
| 
 | ||||
|     Then I should not find "Learning plans" in the app | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user