ds-gui-automation 0.1.12 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -71,7 +71,7 @@ Before do | scenario |
71
71
 
72
72
  DestinationServicesGUI.set_browser(@browser)
73
73
 
74
- # DestinationServicesGUI::Search.go_home
74
+ DestinationServicesGUI::Search.go_home
75
75
 
76
76
  if BETA
77
77
  DestinationServicesGUI.set_cookie({'X-Version-Override' => BETA_COOKIES})
data/lib/ds/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module DestinationServicesGUI
2
- VERSION = "0.1.12"
2
+ VERSION = "0.1.13"
3
3
  end
@@ -2,6 +2,14 @@ module Navigation
2
2
 
3
3
  def go_home
4
4
 
5
+ url = ''
6
+ url = get_home_domain_by_country
7
+ browser.goto(url) if !on_url(url)
8
+
9
+ end
10
+
11
+ def go_activities_home
12
+
5
13
  url = ''
6
14
  url = get_domain_by_country
7
15
  browser.goto(url) if !on_url(url)
@@ -36,4 +44,9 @@ module Navigation
36
44
  url
37
45
  end
38
46
 
47
+ def get_home_domain_by_country
48
+ url = DOMAIN
49
+ url
50
+ end
51
+
39
52
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ds-gui-automation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: