Merge pull request #3972 from crazyserver/MOBILE-4497

MOBILE-4497 competencies: Fix behat on previous versions
main
Noel De Martin 2024-03-13 11:46:09 +01:00 committed by GitHub
commit b850251fbc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 9 deletions

View File

@ -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