[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/blocks/calendar_month/tests/behat/ -> block_calendar_month_course.feature (source)

   1  @block @block_calendar_month
   2  Feature: Enable the calendar block in a course
   3    In order to enable the calendar block in a course
   4    As a teacher
   5    I can add the calendar block to a course
   6  
   7    @javascript
   8    Scenario: View a global event in the calendar block in a course
   9      Given the following "users" exist:
  10        | username | firstname | lastname | email | idnumber |
  11        | teacher1 | Teacher | 1 | teacher1@example.com | T1 |
  12      And the following "courses" exist:
  13        | fullname | shortname | category |
  14        | Course 1 | C1 | 0 |
  15      And the following "course enrolments" exist:
  16        | user | course | role |
  17        | teacher1 | C1 | editingteacher |
  18      When I log in as "admin"
  19      And I create a calendar event with form data:
  20        | id_eventtype | Site |
  21        | id_name | Site Event |
  22      And I log out
  23      Then I log in as "teacher1"
  24      And I follow "Course 1"
  25      And I turn editing mode on
  26      And I add the "Calendar" block
  27      And I hover over today in the calendar
  28      And I should see "Site Event"


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1