Skip to content

Commit

Permalink
Merge "Replaced sleep with page-object gem waiting API"
Browse files Browse the repository at this point in the history
  • Loading branch information
Cmcmahon authored and Gerrit Code Review committed Jan 22, 2014
2 parents 46a0f60 + 0644526 commit b91d2c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions features/step_definitions/print_export_menu_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
#
Then(/^Print\/export section should be collapsed$/) do
on(RandomPage) do |page|
sleep 1
page.create_a_book_element.should_not be_visible
page.create_a_book_element.when_not_visible.should_not be_visible
page.download_as_pdf_element.should_not be_visible
page.printable_version_element.should_not be_visible
end
Expand Down

0 comments on commit b91d2c8

Please sign in to comment.