X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/blocks/glossary_random/tests/behat
home
/
cbholdings
/
pasukulu
/
blocks
/
glossary_random
/
tests
/
behat
/
📁
..
📄
glossary_random.feature
(5.43 KB)
📄
glossary_random_addblock.feature
(1.06 KB)
📄
glossary_random_addblock_disabled.feature
(2.01 KB)
📄
glossary_random_frontpage.feature
(1.36 KB)
📄
glossary_random_global.feature
(3.87 KB)
Editing: glossary_random_frontpage.feature
@block @block_glossary_random Feature: Random glossary entry block can be added to the frontpage In order to show the entries from glossary on the frontpage As a teacher I can add the random glossary entry to the frontpage Scenario: Admin can add random glossary block to the frontpage Given the following "activities" exist: | activity | name | intro | course | idnumber | | glossary | Tips and Tricks | Frontpage glossary description | Acceptance test site | glossary0 | And I log in as "admin" And I am on site homepage And I turn editing mode on And I add the "Random glossary entry" block And I configure the "block_glossary_random" block And I set the following fields to these values: | Title | Tip of the day | | Take entries from this glossary | Tips and Tricks | And I press "Save changes" And I click on "Add a new entry" "link" in the "Tip of the day" "block" And I set the following fields to these values: | Concept | Never come late | | Definition | Come in time for your classes | And I press "Save changes" When I log out Then I should see "Never come late" in the "Tip of the day" "block" And I should see "Come in time for your classes" in the "Tip of the day" "block"
Upload File
Create Folder