1 @block @block_main_menu
2 Feature: Edit activities in main menu block
3 In order to use main menu block
5 I need to add and edit activities there
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 "//.[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"