MOBILE-4470 behat: Fix Chat and Survey tests
They have been disabled in new Moodle instances in MDL-80866main
parent
7519ef7bdf
commit
fee90d49de
|
@ -15,6 +15,7 @@ Feature: Test basic usage of chat in app
|
|||
| user | course | role |
|
||||
| student1 | C1 | student |
|
||||
| student2 | C1 | student |
|
||||
And I enable "chat" "mod" plugin
|
||||
And the following "activities" exist:
|
||||
| activity | name | intro | course | idnumber | groupmode |
|
||||
| chat | Test chat name | Test chat | C1 | chat | 0 |
|
||||
|
|
|
@ -13,6 +13,7 @@ Feature: Test chat navigation
|
|||
| user | course | role |
|
||||
| student1 | C1 | student |
|
||||
| student2 | C1 | student |
|
||||
And I enable "chat" "mod" plugin
|
||||
And the following "activities" exist:
|
||||
| activity | name | intro | course | idnumber | groupmode |
|
||||
| chat | Test chat name | Test chat | C1 | chat | 0 |
|
||||
|
|
|
@ -16,6 +16,7 @@ Feature: Test basic usage of survey activity in app
|
|||
| user | course | role |
|
||||
| student1 | C1 | student |
|
||||
| teacher1 | C1 | editingteacher |
|
||||
And I enable "survey" "mod" plugin
|
||||
And the following "activities" exist:
|
||||
| activity | name | intro | course | idnumber | groupmode |
|
||||
| survey | Test survey name | Test survey | C1 | survey | 0 |
|
||||
|
|
|
@ -17,6 +17,8 @@ Feature: Test basic usage of one course in app
|
|||
| user | course | role |
|
||||
| teacher1 | C1 | editingteacher |
|
||||
| student1 | C1 | student |
|
||||
And I enable "chat" "mod" plugin
|
||||
And I enable "survey" "mod" plugin
|
||||
And the following "activities" exist:
|
||||
| activity | name | intro | course | idnumber | option | section |
|
||||
| choice | Choice course 1 | Test choice description | C1 | choice1 | Option 1, Option 2, Option 3 | 1 |
|
||||
|
@ -345,7 +347,7 @@ Feature: Test basic usage of one course in app
|
|||
Scenario: Navigation between sections using the bottom arrows
|
||||
When I entered the course "Course 1" as "student1" in the app
|
||||
Then the header should be "Course 1" in the app
|
||||
And I should find "Test forum name" in the app
|
||||
And I should find "Test forum name" in the app
|
||||
And I should find "Test wiki name" in the app
|
||||
And I should find "Choice course 1" in the app
|
||||
And I should find "assignment" in the app
|
||||
|
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Loading…
Reference in New Issue