[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/blocks/calendar_upcoming/tests/behat/ -> block_calendar_upcoming_frontpage.feature (source)

   1  @block @block_calendar_upcoming
   2  Feature: View a site event on the frontpage
   3    In order to view a site event
   4    As a teacher
   5    I can view the event in the upcoming events block
   6  
   7    Scenario: View a global event in the upcoming events block on the frontpage
   8      Given the following "users" exist:
   9        | username | firstname | lastname | email | idnumber |
  10        | teacher1 | Teacher | 1 | teacher1@example.com | T1 |
  11      And I log in as "admin"
  12      And I create a calendar event with form data:
  13        | id_eventtype | Site |
  14        | id_name | My Site Event |
  15      And I am on site homepage
  16      And I navigate to "Turn editing on" node in "Front page settings"
  17      And I add the "Upcoming events" block
  18      And I log out
  19      When I log in as "teacher1"
  20      And I am on site homepage
  21      Then I should see "My Site Event" in the "Upcoming events" "block"


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