403Webshell
Server IP : 104.21.80.248  /  Your IP : 172.71.28.156
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/myschool/triamudom/tuprblearn/mod/chat/tests/behat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/triamudom/tuprblearn/mod/chat/tests/behat/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 | [email protected] |
      | student1 | Sam | Student1 | [email protected] |
    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"
    And I am on "Course 1" course homepage with editing mode on
   # TODO MDL-57120 site "Calendar" link not accessible without navigation block.
    And I add the "Navigation" block if not present
    Given I click on "Calendar" "link" in the "Navigation" "block"
    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"
    And I am on "Course 1" course homepage with editing mode on
   # TODO MDL-57120 site "Calendar" link not accessible without navigation block.
    And I add the "Navigation" block if not present
    Given I click on "Calendar" "link" in the "Navigation" "block"
    Then I should see "Test chat name"

Youez - 2016 - github.com/yon3zu
LinuXploit