flights_gui_henry_tests 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/features/data/miles.yml +3 -3
- data/features/data/sites.yml +1 -1
- data/features/step_definitions/checkout/cash_payment_steps.rb +1 -1
- data/features/step_definitions/filter/matrix_steps.rb +4 -1
- data/features/support/env.rb +1 -1
- data/features/support/lib/helpers/browser.rb +3 -2
- data/features/tests/search/searches.feature +0 -1
- data/flights_gui_henry_tests.gemspec +3 -3
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e993acb8127e1fe505caf3d6563dc23da95546b8
|
4
|
+
data.tar.gz: 783450b9e57d5b5b30698e2a69e4f98d2d6f02c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9abb0151dee2507e205026b8fe7fff25b15956fa56da177e86c5c111afa40209339210fa020d6b0f54a6b83746be2c754cfc4281bf43418a2f1ff200536c2942
|
7
|
+
data.tar.gz: 9e0b8104c30e8b2e4340e6d38404d4e39e7299c30bae979fc7892acc464e1de8aca4da6060915d3539570b3bcc2bf39f20f7e20063591d2d338d50b8b0fd50ff
|
data/features/data/miles.yml
CHANGED
@@ -57,13 +57,13 @@ US:
|
|
57
57
|
- You can earn Skywards unit
|
58
58
|
AV:
|
59
59
|
- with LifeMiles reward program
|
60
|
-
- You can earn unit
|
60
|
+
- You can earn LifeMiles unit
|
61
61
|
TA:
|
62
62
|
- with LifeMiles reward program
|
63
|
-
- You can earn unit
|
63
|
+
- You can earn LifeMiles unit
|
64
64
|
LR:
|
65
65
|
- with LifeMiles reward program
|
66
|
-
- You can earn unit
|
66
|
+
- You can earn LifeMiles unit
|
67
67
|
AD:
|
68
68
|
- with TudoAzul reward program
|
69
69
|
- You can earn TudoAzul unit
|
data/features/data/sites.yml
CHANGED
@@ -37,7 +37,7 @@ ES:
|
|
37
37
|
PR:
|
38
38
|
- {code: "SJU", airports: ["SJU"], name: "San Juan"}
|
39
39
|
US:
|
40
|
-
- {code: "MIA", airports: ["MIA"], name: "Miami"}
|
40
|
+
- {code: "MIA", airports: ["MIA","FLL"], name: "Miami"}
|
41
41
|
- {code: "LAX", airports: ["LAX"], name: "Los Angeles"}
|
42
42
|
- {code: "LAS", airports: ["LAS"], name: "Las Vegas"}
|
43
43
|
- {code: "NYC", airports: ["EWR", "JFK", "LGA", "NYC"], name: "Nueva York|Nova York"}
|
@@ -58,7 +58,7 @@ Entonces(/^elijo la opcion confirmar pago$/) do
|
|
58
58
|
end
|
59
59
|
|
60
60
|
Entonces(/^Verifico los pasos para hacer el deposito$/) do
|
61
|
-
BROWSER.div(:class,'ux-common-message ux-common-message-warning ').text.no_accents.should equal("
|
61
|
+
BROWSER.div(:class,'ux-common-message ux-common-message-warning ').text.no_accents.should equal("El deposito debera ser realizado en el dia de hoy, antes del cierre del banco, de lo contrario su reserva sera cancelada.\nTenga en cuenta que las tarifas pueden modificarse hasta el momento en que se concreta el pago.")
|
62
62
|
BROWSER.span(:class,'checkout-id').should visible("numero de reserva")
|
63
63
|
BROWSER.div(:class,'thanks-reservation-info').should visible("datos de deposito")
|
64
64
|
BROWSER.div(:class,'thanks-reservation-info').spans(:class,"thanks-reservation-info-data")[0].text.should equal("Despegar.com.ar")
|
@@ -191,9 +191,12 @@ And /^Verifico que la matriz cumpla con el rango de fechas de la busqueda$/ do
|
|
191
191
|
#visible_months.should include?(@search.date_from_1.mes.capitalize) #verifico que se muestre el mes elegido
|
192
192
|
today = Date.today
|
193
193
|
months = []
|
194
|
+
count = 0
|
194
195
|
while(today.month != (@search.date_from_1.month+1)) do
|
195
196
|
months << today.mes.capitalize
|
196
|
-
today = today +1
|
197
|
+
today = today + 1
|
198
|
+
count = count + 1
|
199
|
+
break if count > 13
|
197
200
|
end
|
198
201
|
months.uniq!
|
199
202
|
visible_months.delete(visible_months.last) if (visible_months.length!=months.length)
|
data/features/support/env.rb
CHANGED
@@ -13,8 +13,9 @@ def set_cookies(browser)
|
|
13
13
|
end
|
14
14
|
|
15
15
|
begin
|
16
|
-
|
17
|
-
|
16
|
+
uow = "ROBOTFGUI-#{Socket.gethostname}-#{rand(1000)}"
|
17
|
+
puts uow
|
18
|
+
browser.execute_script("javascript:void(document.cookie = 'X-UOW-CUSTOM=#{uow}; Path=/')")
|
18
19
|
#add_cookie("X-UOW-CUSTOM","ROBOTFGUI-#{Socket.gethostname}-#{rand(1000)}",{:path=>"/"})
|
19
20
|
if $ENV.upcase=="BETA" #or PROVIDER
|
20
21
|
#add_cookie("X-Version-Override",COOKIE,{:path=>"/"})
|
@@ -14,7 +14,7 @@
|
|
14
14
|
gem.name = "flights_gui_henry_tests" #Debe ser unico en el Gem Server, tratemos de utilizar nombre que identifiquen de forma inequivoca
|
15
15
|
|
16
16
|
gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]5
|
17
|
-
gem.version = '3.0.
|
17
|
+
gem.version = '3.0.3' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
|
18
18
|
|
19
19
|
gem.add_dependency('henry-container', '>= 0.1.82')
|
20
20
|
gem.add_dependency('watir-webdriver')
|
@@ -24,8 +24,8 @@
|
|
24
24
|
gem.add_dependency('httparty')
|
25
25
|
gem.add_dependency('sixarm_ruby_unaccent')
|
26
26
|
gem.add_dependency('sanitize')
|
27
|
-
gem.add_dependency('mock_search')
|
28
|
-
|
27
|
+
gem.add_dependency('mock_search', '>= 0.28.1')
|
28
|
+
gem.add_dependency('byebug')
|
29
29
|
|
30
30
|
gem.add_development_dependency('geminabox')
|
31
31
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flights_gui_henry_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lgonzalez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: henry-container
|
@@ -124,6 +124,20 @@ dependencies:
|
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: mock_search
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.28.1
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.28.1
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: byebug
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
143
|
- - ">="
|