ds-gui-automation 0.1.49 → 0.1.50
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.
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 033a668ec2736b5d0bb0d02e6649940096b8c0d5
|
4
|
+
data.tar.gz: e67c24aef6a7c94737443938a1b1652e83eb755b
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a7eaadbbd66fe0c45fcdb88dcc2c6b1c1135de27bd69268d738ab675027694fde244c934d779dd8a6fbd680bd22d8d64a56e9a0204dc3d700d2720d4364b1ad3
|
7
|
+
data.tar.gz: 6b793515ec5f593a507710fc28a1104c98d3c1ab48ab83f8f86b449dc967b8d74ef016a78017eed03ddf92686321fb9d6712975f856e37602f07e59752895ed8
|
data/ds-gui-automation.gemspec
CHANGED
@@ -21,7 +21,19 @@ When(/^I fill the detail information$/) do
|
|
21
21
|
|
22
22
|
end
|
23
23
|
|
24
|
-
When(/^I fill the detail information for tickets$/) do
|
24
|
+
When(/^I fill the detail information for tickets disney$/) do
|
25
|
+
|
26
|
+
DestinationServicesGUI::Detail.wait_for_detail
|
27
|
+
|
28
|
+
DestinationServicesGUI::Detail.set_tour_adults_number(2)
|
29
|
+
|
30
|
+
additionals = @browser.li(:class, 'ux-destination-services-list-item-additional').ul(:class, 'list-submenu-additional').lis(:class,'ng-scope')
|
31
|
+
|
32
|
+
(additionals.size == 3).should be_true
|
33
|
+
|
34
|
+
end
|
35
|
+
|
36
|
+
When(/^I fill the detail information for tickets universal$/) do
|
25
37
|
|
26
38
|
DestinationServicesGUI::Detail.wait_for_detail
|
27
39
|
|
@@ -76,16 +76,16 @@ Then(/^I should see an acceptable percentage of successful reservations for "(.*
|
|
76
76
|
day_index = (@@day_call['issued'].to_f / @@day_call['created'].to_f) * 100
|
77
77
|
|
78
78
|
if country == 'AR'
|
79
|
-
((day_index - month_index) < 10).should be_true
|
80
79
|
puts "Porcentaje setteado ==> 10%"
|
80
|
+
puts "Porcentaje devuelto ==> #{day_index - month_index}%"
|
81
|
+
((day_index - month_index) < 10).should be_true
|
81
82
|
end
|
82
83
|
if country == 'BR'
|
83
|
-
((day_index - month_index) < 10).should be_true
|
84
84
|
puts "Porcentaje setteado ==> 10%"
|
85
|
+
puts "Porcentaje devuelto ==> #{day_index - month_index}%"
|
86
|
+
((day_index - month_index) < 10).should be_true
|
85
87
|
end
|
86
88
|
|
87
|
-
puts "Porcentaje devuelto ==> #{day_index - month_index}%"
|
88
|
-
|
89
89
|
end
|
90
90
|
|
91
91
|
Then(/^I should see an acceptable percentage of reservations in others for "(.*)"$/) do | country |
|
@@ -19,7 +19,7 @@ When(/^I proceed to thanks$/) do
|
|
19
19
|
|
20
20
|
DestinationServicesGUI.set_cookie({'X-Version-Override' => BETA_COOKIES}) if BETA
|
21
21
|
|
22
|
-
|
22
|
+
@browser.a(:class, 'ux-common-checkout-buy-button').wait_until_present(60)
|
23
23
|
|
24
24
|
@browser.a(:class, 'ux-common-checkout-buy-button').click
|
25
25
|
|
data/features/thanks.feature
CHANGED
@@ -213,7 +213,7 @@ Feature: Destination Services Thanks
|
|
213
213
|
Scenario Outline: thanks from results
|
214
214
|
Given I perform a search in "<country>" with "<tracking_id>" from seo URL
|
215
215
|
When I click on the detail button of the corresponding "<tracking_id>"
|
216
|
-
And I fill the detail information for tickets
|
216
|
+
And I fill the detail information for tickets disney
|
217
217
|
And I proceed to disney checkout
|
218
218
|
Then I should see the checkout page correctly
|
219
219
|
When I fill the checkout information
|
@@ -249,7 +249,7 @@ Feature: Destination Services Thanks
|
|
249
249
|
Scenario Outline: thanks from results
|
250
250
|
Given I perform a search in "<country>" with "<tracking_id>" from seo URL
|
251
251
|
When I click on the detail button of the corresponding "<tracking_id>"
|
252
|
-
And I fill the detail information for tickets
|
252
|
+
And I fill the detail information for tickets universal
|
253
253
|
And I proceed to universal checkout
|
254
254
|
Then I should see the checkout page correctly
|
255
255
|
When I fill the checkout information
|
data/lib/ds/version.rb
CHANGED
metadata
CHANGED
@@ -1,94 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ds-gui-automation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.50
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Santiago Ochoa
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-12 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: henry-container
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 0.1.39
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 0.1.39
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: cucumber
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: watir-webdriver
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: cucumber
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - ! '>='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
70
|
-
type: :runtime
|
71
|
-
prerelease: false
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ! '>='
|
52
|
+
- - '>='
|
76
53
|
- !ruby/object:Gem::Version
|
77
54
|
version: '0'
|
78
55
|
- !ruby/object:Gem::Dependency
|
79
56
|
name: httparty
|
80
57
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
58
|
requirements:
|
83
|
-
- -
|
59
|
+
- - '>='
|
84
60
|
- !ruby/object:Gem::Version
|
85
61
|
version: '0'
|
86
62
|
type: :runtime
|
87
63
|
prerelease: false
|
88
64
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
65
|
requirements:
|
91
|
-
- -
|
66
|
+
- - '>='
|
92
67
|
- !ruby/object:Gem::Version
|
93
68
|
version: '0'
|
94
69
|
description: DS Services testing Gem
|
@@ -98,66 +73,65 @@ executables: []
|
|
98
73
|
extensions: []
|
99
74
|
extra_rdoc_files: []
|
100
75
|
files:
|
101
|
-
- ds-gui-automation.gemspec
|
102
76
|
- Gemfile
|
103
|
-
-
|
104
|
-
- features/
|
77
|
+
- ds-gui-automation.gemspec
|
78
|
+
- features/aftersale.feature
|
79
|
+
- features/checkout.feature
|
80
|
+
- features/detail.feature
|
81
|
+
- features/fenix.feature
|
82
|
+
- features/insurance.feature
|
83
|
+
- features/results.feature
|
84
|
+
- features/search.feature
|
85
|
+
- features/step_definitions/after_sale_steps.rb
|
105
86
|
- features/step_definitions/checkout_steps.rb
|
87
|
+
- features/step_definitions/detail_steps.rb
|
88
|
+
- features/step_definitions/fenix_steps.rb
|
106
89
|
- features/step_definitions/insurance_steps.rb
|
107
|
-
- features/step_definitions/thanks_steps.rb
|
108
|
-
- features/step_definitions/after_sale_steps.rb
|
109
|
-
- features/step_definitions/search_steps.rb
|
110
90
|
- features/step_definitions/results_steps.rb
|
91
|
+
- features/step_definitions/search_steps.rb
|
92
|
+
- features/step_definitions/thanks_steps.rb
|
111
93
|
- features/support/env.rb
|
112
94
|
- features/support/lib/helper.rb
|
113
|
-
- features/insurance.feature
|
114
|
-
- features/detail.feature
|
115
95
|
- features/thanks.feature
|
116
|
-
- features/search.feature
|
117
|
-
- features/results.feature
|
118
|
-
- features/aftersale.feature
|
119
|
-
- features/fenix.feature
|
120
|
-
- features/checkout.feature
|
121
96
|
- henry-context.yml
|
122
97
|
- lib/ds-gui-automation.rb
|
123
|
-
- lib/
|
124
|
-
- lib/page_objects/
|
98
|
+
- lib/ds/version.rb
|
99
|
+
- lib/page_objects/checkout.rb
|
100
|
+
- lib/page_objects/detail.rb
|
125
101
|
- lib/page_objects/ds_flow.rb
|
126
|
-
- lib/page_objects/modules/disney_detail.rb
|
127
|
-
- lib/page_objects/modules/tour_detail.rb
|
128
|
-
- lib/page_objects/modules/results.rb
|
129
|
-
- lib/page_objects/modules/search.rb
|
130
102
|
- lib/page_objects/modules/checkout.rb
|
131
|
-
- lib/page_objects/modules/initialize.rb
|
132
103
|
- lib/page_objects/modules/commons.rb
|
104
|
+
- lib/page_objects/modules/disney_detail.rb
|
105
|
+
- lib/page_objects/modules/initialize.rb
|
133
106
|
- lib/page_objects/modules/navigation.rb
|
134
|
-
- lib/page_objects/
|
135
|
-
- lib/page_objects/
|
107
|
+
- lib/page_objects/modules/results.rb
|
108
|
+
- lib/page_objects/modules/search.rb
|
109
|
+
- lib/page_objects/modules/tour_detail.rb
|
136
110
|
- lib/page_objects/navigation.rb
|
137
|
-
- lib/
|
111
|
+
- lib/page_objects/results.rb
|
112
|
+
- lib/page_objects/search.rb
|
138
113
|
homepage: http://gems.despegar.com
|
139
114
|
licenses: []
|
115
|
+
metadata: {}
|
140
116
|
post_install_message:
|
141
117
|
rdoc_options: []
|
142
118
|
require_paths:
|
143
119
|
- lib
|
144
120
|
required_ruby_version: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
121
|
requirements:
|
147
|
-
- -
|
122
|
+
- - '>='
|
148
123
|
- !ruby/object:Gem::Version
|
149
124
|
version: '0'
|
150
125
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
|
-
none: false
|
152
126
|
requirements:
|
153
|
-
- -
|
127
|
+
- - '>='
|
154
128
|
- !ruby/object:Gem::Version
|
155
129
|
version: '0'
|
156
130
|
requirements: []
|
157
131
|
rubyforge_project:
|
158
|
-
rubygems_version:
|
132
|
+
rubygems_version: 2.4.5
|
159
133
|
signing_key:
|
160
|
-
specification_version:
|
134
|
+
specification_version: 4
|
161
135
|
summary: Automation Testing for DS Services
|
162
136
|
test_files: []
|
163
137
|
has_rdoc:
|