[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/blocks/site_main_menu/tests/behat/ -> edit_activities.feature (source)

   1  @block @block_main_menu
   2  Feature: Edit activities in main menu block
   3    In order to use main menu block
   4    As an admin
   5    I need to add and edit activities there
   6  
   7    @javascript
   8    Scenario: Edit name of acitivity in-place in site main menu block
   9      Given I log in as "admin"
  10      And I am on site homepage
  11      And I navigate to "Turn editing on" node in "Front page settings"
  12      When I add a "Forum" to section "0" and I fill the form with:
  13        | Forum name | My forum name |
  14      And I click on "Edit title" "link" in the "//div[contains(@class,'block_site_main_menu')]//li[contains(.,'My forum name')]" "xpath_element"
  15      And I set the field "New name for activity My forum name" to "New forum name"
  16      And I press key "13" in the field "New name for activity My forum name"
  17      Then I should not see "My forum name"
  18      And I should see "New forum name"
  19      And I follow "New forum name"
  20      And I should not see "My forum name"
  21      And I should see "New forum name"


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