Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 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 the following "blocks" exist:
12
      | blockname | contextlevel | reference | pagetypepattern | defaultregion |
13
      | comments  | System       | 1         | site-index      | side-pre      |
14
    And I log in as "admin"
15
    And I am on site homepage
16
    And I follow "Show comments"
17
    And I add "I'm a comment from admin" comment to comments block
18
    And I log out
19
    When I log in as "teacher1"
20
    And I am on site homepage
21
    And I follow "Show comments"
22
    Then I should see "I'm a comment from admin"