Sha256: 5c41bf4062245c6285d397b91e958cec68877b2ebbf8c1dcc32d086aedb31abb
Contents?: true
Size: 453 Bytes
Versions: 1
Compression:
Stored size: 453 Bytes
Contents
Given 'I am on the Google Home Page' do @search_page = visit <%= name.split('_').map(&:capitalize).join %>::Home @search_data = @search_page.data_for(:search) end When 'I submit a search' do @search_page.search(@search_data['search_input']) end Then 'I should see the results displayed' do results_page = on <%= name.split('_').map(&:capitalize).join %>::Results expect(results_page.first_result).to include @search_data['first_result'] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watir_install-0.2.1 | lib/watir_install/generators/new_project/features/step_definitions/search_steps.rb.tt |