adapt cukes to changed wiki menu entry

pull/4061/head
Jens Ulferts 9 years ago
parent d182d2e249
commit b5b0e3fbf3
  1. 14
      features/menu_items/wiki_menu_items.feature
  2. 4
      features/wiki/parent_page.feature
  3. 2
      features/wiki/wiki_add_edit.feature
  4. 2
      features/wiki/wiki_create_child.feature
  5. 2
      features/wiki/wiki_rename.feature

@ -49,7 +49,7 @@ Feature: Wiki menu items
@javascript
Scenario: Adding a main menu entry without index and toc links
When I go to the wiki page "AwesomePage" for the project called "Awesome Project"
And I click on "More functions"
And I click on "More"
And I click on "Configure menu item"
And I fill in "Avocado Wuaärst" for "menu_items_wiki_menu_item_name"
And I choose "Show as menu item in project navigation"
@ -59,7 +59,7 @@ Feature: Wiki menu items
@javascript @selenium
Scenario: Adding a main menu entry with index and toc links
When I go to the wiki page "AwesomePage" for the project called "Awesome Project"
And I click on "More functions"
And I click on "More"
And I click on "Configure menu item"
And I fill in "Avocado Wuaärst" for "menu_items_wiki_menu_item_name"
And I choose "Show as menu item in project navigation"
@ -76,7 +76,7 @@ Feature: Wiki menu items
When I go to the wiki page "Wiki" for the project called "Awesome Project"
Then I should see "Table of Contents" within "#main-menu"
Then I should see "Create new child page" within "#main-menu"
When I click on "More functions"
When I click on "More"
And I click on "Configure menu item"
And I fill in "Wikikiki" for "menu_items_wiki_menu_item_name"
And I uncheck "Show submenu item 'Table of Contents'"
@ -92,7 +92,7 @@ Feature: Wiki menu items
When I go to the wiki page "Wiki" for the project called "Awesome Project"
Then I should see "Table of Contents" within "#main-menu"
Then I should see "Create new child page" within "#main-menu"
When I click on "More functions"
When I click on "More"
And I click on "Configure menu item"
And I press "Save"
Then I should not see "Successful update."
@ -106,7 +106,7 @@ Feature: Wiki menu items
| title | AwesomePage |
| name | RichtigGeil |
When I go to the wiki page "Wiki" for the project called "Awesome Project"
When I click on "More functions"
When I click on "More"
And I click on "Configure menu item"
And I choose "Show as submenu item of"
When I select "SelectMe" from "parent_wiki_menu_item"
@ -121,7 +121,7 @@ Feature: Wiki menu items
| title | DontKillMe |
| name | DontKillMe |
When I go to the wiki page "Wiki" for the project called "Awesome Project"
When I click on "More functions"
When I click on "More"
And I click on "Configure menu item"
And I choose "Do not show this wikipage in project navigation"
And I press "Save"
@ -134,7 +134,7 @@ Feature: Wiki menu items
| name | AwesomePage |
And the wiki menu item of the wiki page "Wiki" of project "Awesome Project" has been deleted
When I go to the wiki page "AwesomePage" for the project called "Awesome Project"
And I click on "More functions"
And I click on "More"
And I click on "Configure menu item"
And I choose "Do not show this wikipage in project navigation"
And I press "Save"

@ -40,7 +40,7 @@ Feature: Parent wiki page
@javascript
Scenario: Changing parent page for wiki page
When I go to the wiki page "Test page" for the project called "Test"
And I click on "More functions"
And I click on "More"
And I follow "Change parent page"
When I select "Parent page" from "Parent page"
And I press "Save"
@ -48,7 +48,7 @@ Feature: Parent wiki page
And the breadcrumbs should have the element "Parent page"
# no check removing the parent
When I go to the wiki page "Test page" for the project called "Test"
And I click on "More functions"
And I click on "More"
And I follow "Change parent page"
And I select "" from "Parent page"
And I press "Save"

@ -65,7 +65,7 @@ Feature: Adding and Editing Wiki Tabs
Given I am already admin
Given the wiki page "Wookietest" of the project "Wookies" has 3 versions
And I go to the wiki page "wookietest" for the project called "Wookies"
And I follow "More functions" within "#content"
And I follow "More" within "#content"
When I click "History"
Then I should see "History" within "#content"
When I press "View differences"

@ -49,7 +49,7 @@ Feature: Creating a wiki child page
| title | Wikiparentpage |
Given I go to the wiki index page of the project called "project1"
And I click "Wikiparentpage"
And I follow "More functions" within "#content"
And I follow "More" within "#content"
And I click "Create new child page"
And I fill in "content_page_title" with "Todd's wiki"
And I press "Save"

@ -47,7 +47,7 @@ Feature: Renaming a wiki page
@javascript
Scenario: Renaming a wiki page
When I go to the wiki page "WikiPage" of the project called "project1"
And I click on "More functions"
And I click on "More"
And I click on "Rename"
And I fill in "New WikiPage" for "Title"
And I press "Rename"

Loading…
Cancel
Save