AutorÃa | Ultima modificación | Ver Log |
@mod @mod_chatFeature: Chat calendar entriesIn order to notify students of upcoming chat sessonsAs a teacherI need to create a chat activity and publish the event timesBackground:Given the following "users" exist:| username | firstname | lastname | email || teacher1 | Tina | Teacher1 | teacher1@example.com || student1 | Sam | Student1 | student1@example.com |And the following "courses" exist:| fullname | shortname | category || Course 1 | C1 | 0 |And the following "course enrolments" exist:| user | course | role || teacher1 | C1 | editingteacher || student1 | C1 | student |And I enable "chat" "mod" pluginScenario Outline: Create a chat activity with repeated chat times set# Create an activity with repeated chat timesGiven the following "activities" exist:| activity | course | name | schedule || chat | C1 | Chat 1 | <scheduleset> |And I log in as "teacher1"# Confirm Chat activity visibility based on scheduleWhen I am viewing calendar in "upcoming" viewThen I <chatvisibility> see "Chat 1"Examples:| scheduleset | chatvisibility || 0 | should not || 1 | should || 2 | should || 3 | should |