[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

   1  @block @block_comments
   2  Feature: Enable Block comments on the dashboard and view comments
   3    In order to enable the comments block on a the dashboard
   4    As a teacher
   5    I can add the comments block to my dashboard
   6  
   7    Background:
   8      Given the following "courses" exist:
   9        | fullname | shortname | category |
  10        | Course 1 | C1 | 0 |
  11      And the following "users" exist:
  12        | username | firstname | lastname | email |
  13        | teacher1 | Teacher | Frist | teacher1@example.com |
  14  
  15    Scenario: Add the comments block on the dashboard and add comments with Javascript disabled
  16      When I log in as "teacher1"
  17      And I press "Customise this page"
  18      And I add the "Comments" block
  19      And I follow "Show comments"
  20      And I add "I'm a comment from the teacher" comment to comments block
  21      Then I should see "I'm a comment from the teacher"
  22  
  23    @javascript
  24    Scenario: Add the comments block on the dashboard and add comments with Javascript enabled
  25      When I log in as "teacher1"
  26      And I press "Customise this page"
  27      And I add the "Comments" block
  28      And I add "I'm a comment from the teacher" comment to comments block
  29      Then I should see "I'm a comment from the teacher"


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