Fix the Rubocop offense TrailingBlankLines
[lhc/web/wiklou.git] / tests / browser / features / step_definitions / edit_page_steps.rb
index 5af097b..713bb39 100644 (file)
@@ -2,6 +2,14 @@ When(/^I click Edit$/) do
   on(MainPage).edit_link
 end
 
+When(/^I click Preview$/) do
+  on(EditPage).preview_button
+end
+
+When(/^I click Show Changes$/) do
+  on(EditPage).show_changes_button
+end
+
 When(/^I edit the page with "(.*?)"$/) do |edit_content|
   on(EditPage).edit_page_content_element.send_keys(edit_content + @random_string)
 end
@@ -13,4 +21,3 @@ end
 Then(/^the edited page content should contain "(.*?)"$/) do |content|
   on(MainPage).page_content.should match(content + @random_string)
 end
-