Your IP : 216.73.216.95


Current Path : /var/www/ljmtc/cbt/blocks/site_main_menu/tests/behat/
Upload File :
Current File : /var/www/ljmtc/cbt/blocks/site_main_menu/tests/behat/add_url.feature

@block @block_site_main_menu
Feature: Add URL to main menu block
  In order to add helpful resources for students
  As a admin
  I need to add URLs to the main menu block and check it works.

  @javascript
  Scenario: Add a URL in menu block and ensure it appears
    Given I log in as "admin"
    And I am on site homepage
    And I navigate to "Turn editing on" in current page administration
    And I add the "Main menu" block
    When I add a "URL" to section "0" and I fill the form with:
      | Name | google |
      | Description | gooooooooogle |
      | External URL | http://www.google.com |
      | id_display | In pop-up |
    Then "google" "link" should exist in the "Main menu" "block"
    And "Add an activity or resource" "button" should exist in the "Main menu" "block"