Skip to content

Commit

Permalink
updated gems and added page object gem
Browse files Browse the repository at this point in the history
  • Loading branch information
bkone committed Nov 13, 2015
1 parent 62d15f8 commit 3b51533
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ gem 'rake'
gem 'selenium-webdriver'
gem 'syntax'
gem 'watir-webdriver'
gem 'watir-webdriver-performance'
gem 'watir-webdriver-performance'
gem 'page-object'
14 changes: 14 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,28 @@ GEM
gherkin (~> 2.12)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.1)
data_magic (0.21)
faker (>= 1.1.2)
yml_reader (>= 0.4)
diff-lcs (1.2.5)
faker (1.5.0)
i18n (~> 0.5)
ffi (1.9.3)
gherkin (2.12.2)
multi_json (~> 1.3)
headless (1.0.2)
i18n (0.7.0)
mini_portile (0.5.3)
multi_json (1.10.1)
multi_test (0.1.1)
nokogiri (1.6.1)
mini_portile (~> 0.5.0)
page-object (1.0.2)
page_navigation (>= 0.9)
selenium-webdriver (>= 2.42.0)
watir-webdriver (>= 0.6.9)
page_navigation (0.9)
data_magic (>= 0.14)
rake (10.3.2)
rubyzip (1.1.6)
selenium-webdriver (2.42.0)
Expand All @@ -35,6 +47,7 @@ GEM
watir-webdriver
watir-webdriver
websocket (1.0.7)
yml_reader (0.5)

PLATFORMS
ruby
Expand All @@ -45,6 +58,7 @@ DEPENDENCIES
cucumber
headless
nokogiri
page-object
rake
selenium-webdriver
syntax
Expand Down
6 changes: 4 additions & 2 deletions features/support/urls.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ def path_to(page_name)
case page_name
when /the desktop home page/i
base_url
when /the duckduckgo home page/i
base_url="http://duckduckgo.com"
else
raise "Can't find mapping from \"#{page_name}\" to a path.\n" +
"Now, go and add a mapping in #{__FILE__}"
raise "Can't find mapping from \"#{page_name}\" to a url.\n" +
"Please add a mapping in #{__FILE__}"
end
end

Expand Down

0 comments on commit 3b51533

Please sign in to comment.