[ Index ]

PHP Cross Reference of Unnamed Project

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  | student1@example.com |
  11      And I log in as "admin"
  12      And I am on site homepage
  13      And I navigate to "Turn editing on" node in "Front page settings"
  14      And I add the "People" block
  15      And I log out
  16  
  17    Scenario: Admin can view site participants link
  18      When I log in as "admin"
  19      And I am on site homepage
  20      Then "People" "block" should exist
  21      And I should see "Participants" in the "People" "block"
  22  
  23    Scenario: Student can not follow participants link on frontpage
  24      When I log in as "student1"
  25      And I am on site homepage
  26      Then "People" "block" should not exist


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