Sha256: 0e09a96b90e05181fe4c0d828d8b88c1704859463f0e55760ce3f41339fe7dee

Contents?: true

Size: 289 Bytes

Versions: 37

Compression:

Stored size: 289 Bytes

Contents

require 'acceptance_test/page'

class MainPage < Page
  def visit_home_page
    session.visit('/')
  end

  def enter_word word
     with_session do
       fill_in "searchInput", :with => word
     end
  end

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

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
acceptance_test-1.9.13 spec/support/pages/main_page.rb
acceptance_test-1.9.12 spec/support/pages/main_page.rb
acceptance_test-1.9.11 spec/support/pages/main_page.rb
acceptance_test-1.9.10 spec/support/pages/main_page.rb
acceptance_test-1.9.9 spec/support/pages/main_page.rb
acceptance_test-1.9.8 spec/support/pages/main_page.rb
acceptance_test-1.9.7 spec/support/pages/main_page.rb
acceptance_test-1.9.6 spec/support/pages/main_page.rb
acceptance_test-1.9.5 spec/support/pages/main_page.rb
acceptance_test-1.9.4 spec/support/pages/main_page.rb
acceptance_test-1.9.3 spec/support/pages/main_page.rb
acceptance_test-1.9.2 spec/support/pages/main_page.rb
acceptance_test-1.9.1 spec/support/pages/main_page.rb
acceptance_test-1.8.7 spec/support/pages/main_page.rb
acceptance_test-1.8.6 spec/support/pages/main_page.rb
acceptance_test-1.8.5 spec/support/pages/main_page.rb
acceptance_test-1.8.4 spec/support/pages/main_page.rb
acceptance_test-1.8.3 spec/support/pages/main_page.rb
acceptance_test-1.8.2 spec/support/pages/main_page.rb
acceptance_test-1.8.1 spec/support/pages/main_page.rb