Sha256: be4e9f99fcf07948c10e29aa2b80a9b5799736c18429312b48a6fddb121ed35f
Contents?: true
Size: 746 Bytes
Versions: 5
Compression:
Stored size: 746 Bytes
Contents
require 'acceptance_test' acceptance_test = AcceptanceTest.instance acceptance_test.configure_rspec acceptance_test.configure({webapp_url: "http://www.wikipedia.org", timeout_in_seconds: 10}) $: << File.expand_path('spec/support') require 'wikipedia/wikipedia_page_set' RSpec.describe 'Wikipedia Search' do let(:page_set) { WikipediaPageSet.new(page) } before do puts "Using driver: #{Capybara.current_driver}." puts "Default wait time: #{Capybara.default_wait_time}." end it "searches on wikipedia web site", driver: :selenium do page_set.execute do visit_page "/" enter_search_request "Capybara" click_search_button expect(page).to have_content "Hydrochoerus hydrochaeris" end end end
Version data entries
5 entries across 5 versions & 1 rubygems