[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/blocks/participants/tests/behat/ -> block_participants_frontpage.feature (source)

   1  @block @block_participants
   2  Feature: People Block used on frontpage
   3    In order to view participants in a site
   4    As a admin
   5    I can add the people block to the front page
   6  
   7    Background:
   8      Given the following "users" exist:
   9        | username    | firstname | lastname | email            |
  10        | student1    | Sam       | Student  | [email protected] |
  11      And I log in as "admin"
  12      And I navigate to "Turn editing on" node in "Front page settings"
  13      And I add the "People" block
  14      And I log out
  15  
  16    Scenario: Admin can view site participants link
  17      When I log in as "admin"
  18      Then "People" "block" should exist
  19      And I should see "Participants" in the "People" "block"
  20  
  21    Scenario: Student can not follow participants link on frontpage
  22      When I log in as "student1"
  23      Then "People" "block" should not exist


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1