[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/blocks/comments/tests/behat/ -> block_comment_frontpage.feature (source)

   1  @block @block_comments
   2  Feature: Enable Block comments on the frontpage and view comments
   3    In order to enable the comments block on the frontpage
   4    As a admin
   5    I can add the comments block to the frontpage
   6  
   7    Scenario: Add the comments block on the frontpage and add comments
   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 am on site homepage
  13      And I navigate to "Turn editing on" node in "Front page settings"
  14      And I add the "Comments" block
  15      And I follow "Show comments"
  16      And I add "I'm a comment from admin" comment to comments block
  17      And I log out
  18      When I log in as "teacher1"
  19      And I am on site homepage
  20      And I follow "Show comments"
  21      Then I should see "I'm a comment from admin"


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