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.
- data/features/support/env.rb +1 -1
- data/lib/ds/version.rb +1 -1
- data/lib/page_objects/modules/navigation.rb +13 -0
- metadata +1 -1
data/features/support/env.rb
CHANGED
data/lib/ds/version.rb
CHANGED
@@ -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
|