1 Given(/^I open the main wiki URL$/) do
5 Then(/^I should see a link for View History$/) do
6 on(MainPage).view_history_link_element.should be_visible
9 Then(/^I should see a link for Edit$/) do
10 on(MainPage).edit_link_element.should be_visible
13 Then(/^I should see a link for Recent changes$/) do
14 on(MainPage).recent_changes_link_element.should be_visible
17 Then(/^I should see a link for Random page$/) do
18 on(MainPage).random_page_link_element.should be_visible
21 Then(/^I should see a link for Help$/) do
22 on(MainPage).help_link_element.should be_visible
25 Then(/^I should see a link for What links here$/) do
26 on(MainPage).what_links_here_link_element.should be_visible
29 Then(/^I should see a link for Related changes$/) do
30 on(MainPage).related_changes_link_element.should be_visible
33 Then(/^I should see a link for Special pages$/) do
34 on(MainPage).special_pages_link_element.should be_visible
37 Then(/^I should see a link for Printable version$/) do
38 on(MainPage).printable_version_link_element.should be_visible
41 Then(/^I should see a link for Permanent link$/) do
42 on(MainPage).permanent_link_link_element.should be_visible
45 Then(/^I should see a link for Page information$/) do
46 on(MainPage).page_information_link_element.should be_visible