MOBILE-4470 behat: Fix Chat and Survey tests

They have been disabled in new Moodle instances in MDL-80866
main
Noel De Martin 2024-03-05 13:10:50 +01:00
parent 7519ef7bdf
commit fee90d49de
6 changed files with 6 additions and 1 deletions

View File

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

View File

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

View File

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

View File

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