[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/blocks/glossary_random/tests/behat/ -> glossary_random_frontpage.feature (source)

   1  @block @block_glossary_random
   2  Feature: Random glossary entry block can be added to the frontpage
   3    In order to show the entries from glossary on the frontpage
   4    As a teacher
   5    I can add the random glossary entry to the frontpage
   6  
   7  Scenario: Admin can add random glossary block to the frontpage
   8    Given the following "activities" exist:
   9      | activity   | name             | intro                          | course               | idnumber  |
  10      | glossary   | Tips and Tricks  | Frontpage glossary description | Acceptance test site | glossary0 |
  11    And I log in as "admin"
  12    And I am on site homepage
  13    And I click on "Turn editing on" "link" in the "Administration" "block"
  14    And I add the "Random glossary entry" block
  15    And I configure the "block_glossary_random" block
  16    And I set the following fields to these values:
  17      | Title                           | Tip of the day  |
  18      | Take entries from this glossary | Tips and Tricks |
  19    And I press "Save changes"
  20    And I click on "Add a new entry" "link" in the "Tip of the day" "block"
  21    And I set the following fields to these values:
  22      | Concept    | Never come late               |
  23      | Definition | Come in time for your classes |
  24    And I press "Save changes"
  25    When I log out
  26    Then I should see "Never come late" in the "Tip of the day" "block"
  27    And I should see "Come in time for your classes" in the "Tip of the day" "block"


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