X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/mod/chat/tests/behat
home
/
cbholdings
/
pasukulu
/
mod
/
chat
/
tests
/
behat
/
📁
..
📄
behat_mod_chat.php
(2.68 KB)
📄
chat_activity_completion.feature
(2.63 KB)
📄
chat_calendar_events.feature
(1.47 KB)
📄
chat_course_reset.feature
(2.18 KB)
📄
chat_group_mode.feature
(2.96 KB)
📄
chat_no_calendar_capabilities.feature
(2.03 KB)
Editing: chat_calendar_events.feature
@mod @mod_chat Feature: Chat calendar entries In order to notify students of upcoming chat sessons As a teacher I need to create a chat activity and publish the event times Background: 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 | Scenario: Create a chat activity and do not publish the start date to the calendar Given the following "activities" exist: | activity | name | intro | course | idnumber | schedule | | chat | Test chat name | Test chat description | C1 | chat1 | 0 | And I log in as "teacher1" When I follow "Calendar" in the user menu Then I should not see "Test chat name" Scenario: Create a chat activity and publish the start date to the calendar Given the following "activities" exist: | activity | name | intro | course | idnumber | schedule | | chat | Test chat name | Test chat description | C1 | chat1 | 1 | And I log in as "teacher1" When I follow "Calendar" in the user menu Then I should see "Test chat name"
Upload File
Create Folder