Sha256: a532903cebeaf3c7575a2e1a2a00e88bec21a051203df561bcc2ad5026d54a94

Contents?: true

Size: 253 Bytes

Versions: 6

Compression:

Stored size: 253 Bytes

Contents

class MainPage < Page
  def visit_page root
    session.visit root
  end

  def enter_search_request request
    session.fill_in "searchInput", :with => request
  end

  def click_search_button
    session.find(".formBtn", match: :first).click
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
acceptance_test-1.5.5 spec/support/wikipedia/main_page.rb
acceptance_test-1.5.4 spec/support/wikipedia/main_page.rb
acceptance_test-1.5.3 spec/support/wikipedia/main_page.rb
acceptance_test-1.5.2 spec/support/wikipedia/main_page.rb
acceptance_test-1.5.1 spec/support/wikipedia/main_page.rb
acceptance_test-1.5.0 spec/support/wikipedia/main_page.rb