flights_gui_henry_tests 2.3.3 → 2.3.4
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 +8 -8
- data/features/data/host.yml +7 -1
- data/features/data/sites.yml +2 -0
- data/features/step_definitions/checkout/checkout_steps.rb +0 -2
- data/features/step_definitions/landing/landing_steps.rb +4 -2
- data/features/step_definitions/others/recommendation_steps.rb +1 -1
- data/features/step_definitions/others/tag_steps.rb +1 -1
- data/features/step_definitions/search/basefare_steps.rb +1 -1
- data/features/step_definitions/search/flight_gui_steps.rb +5 -5
- data/features/support/lib/clusters/results_cluster.rb +1 -1
- data/features/tests/checkout/integration.feature +15 -0
- data/features/tests/landing/landing_filters.feature +1 -6
- data/features/tests/landing/landing_integration.feature +1 -5
- data/features/tests/landing/landing_long_tail.feature +1 -5
- data/features/tests/landing/landing_matrix.feature +1 -5
- data/features/tests/landing/landing_negative.feature +1 -6
- data/features/tests/landing/landing_orders.feature +1 -5
- data/features/tests/landing/landing_pagination.feature +3 -5
- data/features/tests/landing/landing_passenger_review.feature +1 -5
- data/features/tests/landing/landing_positive.feature +1 -5
- data/features/tests/landing/landing_reviews.feature +1 -5
- data/features/tests/landing/landing_tags.feature +1 -7
- data/features/tests/others/newsletter.feature +35 -89
- data/features/tests/search/itineraries.feature +9 -3
- data/flights_gui_henry_tests.gemspec +1 -1
- data/henry-context.yml +174 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MTFiMGFkYmE1ZmUzY2U0OWFmNWMwNTA4ODAxMmUxODYxZDQ2MGM0Yw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YWFiNDUyNDYzZDU5YWQyNmU5MmFlZGIxMGMzZjUwNzI2Nzg3MmYzNw==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
M2VhY2YyYmY0ZDJiMDZkOGYxMGE5MDkzODRiODg2MDRiODI0NjFmM2RiYzFi
|
|
10
|
+
M2UyOWY3MGVmZGVkYjc3ZjY3ZjVhNDgwNTZiYjFjZmFhYTBiMjAzZjEwZGRh
|
|
11
|
+
NjZkZmEzYzlkZDc1MzkzMjUyMTE0MDMxNjRiN2M2MjlhMzcxNTA=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZjljY2ViOGQwZWM4OTk3MTEyZmI0YWJhMWI3YjVmZWFlYzAxMzE1NGM1OWM4
|
|
14
|
+
NmMyY2I1ODRmN2YzMzZhYjE0NjY4NWJiOTNjYjQzN2FmM2ZmZDIwMjcxNGEy
|
|
15
|
+
NmFhZTFjZWMyNjNkMDBjNTFmN2RiZWVmMzMxMDE1YmE4OWU1YjY=
|
data/features/data/host.yml
CHANGED
|
@@ -69,4 +69,10 @@ VE:
|
|
|
69
69
|
beta: http://www.despegar.com.ve
|
|
70
70
|
rc: http://rc.despegar.it.ve
|
|
71
71
|
ic: http://ic.despegar.it.ve
|
|
72
|
-
desa: http://desa.despegar.com.ve:8080
|
|
72
|
+
desa: http://desa.despegar.com.ve:8080
|
|
73
|
+
PR:
|
|
74
|
+
produccion: http://www.despegar.com.pr
|
|
75
|
+
beta: http://www.despegar.com.pr
|
|
76
|
+
rc: http://rc.despegar.it.pr
|
|
77
|
+
ic: http://ic.despegar.it.pr
|
|
78
|
+
desa: http://desa.despegar.com.pr:8080
|
data/features/data/sites.yml
CHANGED
|
@@ -34,6 +34,8 @@ EC:
|
|
|
34
34
|
- {code: "GYE", airports: ["GYE"], name: "Guayaquil|Guaiaquil"}
|
|
35
35
|
ES:
|
|
36
36
|
- {code: "BCN", airports: ["BCN"], name: "Barcelona"}
|
|
37
|
+
PR:
|
|
38
|
+
- {code: "SJU", airports: ["SJU"], name: "San Juan"}
|
|
37
39
|
US:
|
|
38
40
|
- {code: "MIA", airports: ["MIA"], name: "Miami"}
|
|
39
41
|
- {code: "LAX", airports: ["LAX"], name: "Los Angeles"}
|
|
@@ -138,8 +138,6 @@ end
|
|
|
138
138
|
Then /^Valido los valores del desglose del checkout$/ do
|
|
139
139
|
@itinerario_checkout = CheckoutCluster.new(@search.description,Hpricot.parse(BROWSER.div(:id,'detail').html))
|
|
140
140
|
@itinerario_checkout.validarSumaDesgloce.should be_within(4).of(@itinerario_checkout.tarifas['total'].value)
|
|
141
|
-
puts @itinerario_checkout.idas
|
|
142
|
-
puts @itinerario_checkout.vueltas if @search.description.downcase=="roundtrip"
|
|
143
141
|
unless @itinerario_checkout.tarifas['adt'].valor.zero?
|
|
144
142
|
@itinerario_checkout.tarifas['adt'].valor.should equal(@itinerario_checkout.tarifas['tarifa_adulto'].valor * @search.adt)
|
|
145
143
|
end
|
|
@@ -40,8 +40,10 @@ When /^Genero resultados de landing en "(.*)"$/ do |site|
|
|
|
40
40
|
begin
|
|
41
41
|
set_site(site)
|
|
42
42
|
@search = MockSearchRoundtrip.new($SITE,$ENV,"nil")
|
|
43
|
-
@ciudad_elegida = @search.city_to_1.name
|
|
44
|
-
|
|
43
|
+
@ciudad_elegida = @search.city_to_1.name($SITE)
|
|
44
|
+
url = @search.generate_url_landing_search(@search.city_from_1.code,@search.city_to_1.code)
|
|
45
|
+
puts url
|
|
46
|
+
BROWSER.goto(url)
|
|
45
47
|
set_cookies(BROWSER)
|
|
46
48
|
set_language($SITE)
|
|
47
49
|
rescue Timeout::Error
|
|
@@ -5,7 +5,7 @@ end
|
|
|
5
5
|
|
|
6
6
|
When /^Hago click en el icono de enviar recomendacion$/ do
|
|
7
7
|
BROWSER.div(:class,'actions').div(:class,'icons').span(:class,'main-sprite icon-mail icon').click
|
|
8
|
-
sleep(
|
|
8
|
+
sleep(2)
|
|
9
9
|
if BROWSER.li(:class,"item error-message").present?
|
|
10
10
|
puts "Hay mas de un itinerario. Se selecciona el primero"
|
|
11
11
|
BROWSER.label(:for,"0-outbound-0").li(:class,'radio').click
|
|
@@ -49,7 +49,7 @@ And /^Verifico el segundo tag de google en (resultado|home) de (landing|fgui|che
|
|
|
49
49
|
tmp['google_conversion_label'].should match("(.+)")
|
|
50
50
|
if product=="landing"
|
|
51
51
|
match = BROWSER.url.match(/\/(...)\/(...)\//)
|
|
52
|
-
tmp['google_custom_params'].should match("{ CustomA: '#{$SITE}',CustomB: 'D',CustomCD: '6-1',CustomE: '#{match[1].upcase}',CustomF: '#{match[2].upcase}'}")
|
|
52
|
+
tmp['google_custom_params'].should match("{ CustomA: '#{$SITE}',CustomB: 'D',CustomC: '6',CustomD: '1',CustomCD: '6-1',CustomE: '#{match[1].upcase}',CustomF: '#{match[2].upcase}'}")
|
|
53
53
|
elsif product=="fgui"
|
|
54
54
|
if @search.description == "oneway"
|
|
55
55
|
match = BROWSER.url.match(/\/(...)\/(...)\/(....\-..\-..)\//)
|
|
@@ -35,7 +35,7 @@ end
|
|
|
35
35
|
Then /^Valido el sorting en "(.*)"$/ do |pais|
|
|
36
36
|
doc = Hpricot.parse(BROWSER.select_list(:id,'orderby').html)
|
|
37
37
|
options = (doc/"option").collect{|option| option.attributes['value']}
|
|
38
|
-
unless pais
|
|
38
|
+
unless pais.match("MX|AR")
|
|
39
39
|
if pais=="BR"
|
|
40
40
|
BROWSER.select_list(:id,'orderby').value.should match("FARE_ASCENDING")
|
|
41
41
|
end
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# -*- encoding : utf-8 -*-
|
|
2
2
|
When /^Elijo un itinerario y paso a checkout$/ do
|
|
3
3
|
json = @search.get_results_search_service
|
|
4
|
-
@item_json = json['result']['data']['items'][
|
|
5
|
-
@itinerario = ResultsCluster.new(@search.description,Hpricot.parse(BROWSER.div(:id,'clusters').
|
|
6
|
-
BROWSER.div(:id,'clusters').
|
|
7
|
-
BROWSER.div(:id,'clusters').
|
|
4
|
+
@item_json = json['result']['data']['items'][1]
|
|
5
|
+
@itinerario = ResultsCluster.new(@search.description,Hpricot.parse(BROWSER.div(:id,'clusters').divs(:class,'cluster')[1].html))
|
|
6
|
+
BROWSER.div(:id,'clusters').divs(:class,'cluster')[1].radio(:id,'1-outbound-0').click if BROWSER.div(:id,'clusters').divs(:class,'cluster')[1].radio(:id,'1-outbound-0').present?
|
|
7
|
+
BROWSER.div(:id,'clusters').divs(:class,'cluster')[1].radio(:id,'1-inbound-0').click if BROWSER.div(:id,'clusters').divs(:class,'cluster')[1].radio(:id,'1-inbound-0').present?
|
|
8
8
|
begin
|
|
9
|
-
BROWSER.div(:id,'clusters').
|
|
9
|
+
BROWSER.div(:id,'clusters').divs(:class,'cluster')[1].link(:class,'buy btn-buy flights-button').click
|
|
10
10
|
rescue Timeout::Error
|
|
11
11
|
stop_browser(BROWSER)
|
|
12
12
|
end
|
|
@@ -81,7 +81,7 @@ class ResultsCluster
|
|
|
81
81
|
def load_prices(p_html)
|
|
82
82
|
|
|
83
83
|
@tarifas = Hash.new
|
|
84
|
-
@tarifas['tarifa_adulto_dolar'] = Price.new((p_html/"span.price-currency span.currency").
|
|
84
|
+
@tarifas['tarifa_adulto_dolar'] = Price.new((p_html/"span.price-currency span.currency").first.inner_text.strip + " " + (p_html/"span.price-currency span.amount").first.inner_text.strip)
|
|
85
85
|
if (p_html/"span[@class='price-currency #{currency($SITE)} '] span.currency").first
|
|
86
86
|
@tarifas['tarifa_adulto'] = Price.new((p_html/"span[@class='price-currency #{currency($SITE)} '] span.currency").first.inner_text.strip + " " + (p_html/"span[@class='price-currency #{currency($SITE)} '] span.amount").first.inner_text.strip)
|
|
87
87
|
else
|
|
@@ -215,4 +215,19 @@ Característica: checkout.integration
|
|
|
215
215
|
Ejemplos:
|
|
216
216
|
|pais|tipo|cabotage|
|
|
217
217
|
|CL |multipledestinations|nil|
|
|
218
|
+
@pr
|
|
219
|
+
@roundtrip
|
|
220
|
+
Ejemplos:
|
|
221
|
+
|pais|tipo|cabotage|
|
|
222
|
+
|PR |roundtrip|nil|
|
|
223
|
+
@pr
|
|
224
|
+
@oneway
|
|
225
|
+
Ejemplos:
|
|
226
|
+
|pais|tipo|cabotage|
|
|
227
|
+
|PR |oneway|nil|
|
|
228
|
+
@pr
|
|
229
|
+
@multipledestinations
|
|
230
|
+
Ejemplos:
|
|
231
|
+
|pais|tipo|cabotage|
|
|
232
|
+
|PR |multipledestinations|nil|
|
|
218
233
|
|
|
@@ -5,14 +5,9 @@ Característica: landing.filters
|
|
|
5
5
|
|
|
6
6
|
@filters
|
|
7
7
|
Esquema del escenario: Ingresar a la home de landing
|
|
8
|
-
Cuando
|
|
9
|
-
Entonces Verifico que la pagina no rompa
|
|
10
|
-
Cuando Espero que termine de cargar la home de landing
|
|
11
|
-
Cuando Elijo un link para pasar a los resultados de landing
|
|
12
|
-
Cuando Ingreso a resultados de landing
|
|
8
|
+
Cuando Genero resultados de landing en "<pais>"
|
|
13
9
|
Entonces Verifico que la pagina no rompa
|
|
14
10
|
Entonces Verifico que traiga resultados de landings
|
|
15
|
-
Entonces Verifico que la pagina no rompa
|
|
16
11
|
Cuando Espero que termine de cargar
|
|
17
12
|
Cuando Elijo el tipo de vuelo "<tipo>"
|
|
18
13
|
Entonces Verifico que la pagina no rompa
|
|
@@ -5,11 +5,7 @@ Característica: landing.integration
|
|
|
5
5
|
|
|
6
6
|
@integration
|
|
7
7
|
Esquema del escenario: Ingresar a la home de landing
|
|
8
|
-
Cuando
|
|
9
|
-
Entonces Verifico que la pagina no rompa
|
|
10
|
-
Cuando Espero que termine de cargar la home de landing
|
|
11
|
-
Cuando Elijo un link para pasar a los resultados de landing
|
|
12
|
-
Cuando Ingreso a resultados de landing
|
|
8
|
+
Cuando Genero resultados de landing en "<pais>"
|
|
13
9
|
Entonces Verifico que la pagina no rompa
|
|
14
10
|
Entonces Verifico que traiga resultados de landings
|
|
15
11
|
Cuando Elijo el tipo de vuelo "<tipo>"
|
|
@@ -5,11 +5,7 @@ Característica: landing.long_tail
|
|
|
5
5
|
|
|
6
6
|
@long_tail
|
|
7
7
|
Esquema del escenario: Ingresar a la home de landing
|
|
8
|
-
Cuando
|
|
9
|
-
Entonces Verifico que la pagina no rompa
|
|
10
|
-
Cuando Espero que termine de cargar la home de landing
|
|
11
|
-
Cuando Elijo un link para pasar a los resultados de landing
|
|
12
|
-
Cuando Ingreso a resultados de landing
|
|
8
|
+
Cuando Genero resultados de landing en "<pais>"
|
|
13
9
|
Entonces Verifico que la pagina no rompa
|
|
14
10
|
Entonces Verifico que traiga resultados de landings
|
|
15
11
|
Cuando Elijo el tipo de vuelo "<tipo>"
|
|
@@ -5,11 +5,7 @@ Característica: landing.matrix
|
|
|
5
5
|
|
|
6
6
|
@matrix
|
|
7
7
|
Esquema del escenario: Ingresar a resultados de landing, filtrar por alguna escala|aerolinea en la matriz y verificar que la pagina no rompa y que los clusters sean correctos
|
|
8
|
-
Cuando
|
|
9
|
-
Entonces Verifico que la pagina no rompa
|
|
10
|
-
Cuando Espero que termine de cargar la home de landing
|
|
11
|
-
Cuando Elijo un link para pasar a los resultados de landing
|
|
12
|
-
Cuando Ingreso a resultados de landing
|
|
8
|
+
Cuando Genero resultados de landing en "<pais>"
|
|
13
9
|
Entonces Verifico que la pagina no rompa
|
|
14
10
|
Entonces Verifico que traiga resultados de landings
|
|
15
11
|
Cuando Elijo el tipo de vuelo "<tipo>"
|
|
@@ -5,12 +5,7 @@ Característica: landing.negative
|
|
|
5
5
|
|
|
6
6
|
@negative
|
|
7
7
|
Esquema del escenario: Ingresar a la home de landing
|
|
8
|
-
Cuando
|
|
9
|
-
Entonces Verifico que la pagina no rompa
|
|
10
|
-
Cuando Espero que termine de cargar la home de landing
|
|
11
|
-
#Entonces Verifico que los links de las ciudades esten correctos
|
|
12
|
-
Cuando Elijo un link para pasar a los resultados de landing
|
|
13
|
-
Cuando Ingreso a resultados de landing
|
|
8
|
+
Cuando Genero resultados de landing en "<pais>"
|
|
14
9
|
Entonces Verifico que la pagina no rompa
|
|
15
10
|
Entonces Verifico que traiga resultados de landings
|
|
16
11
|
Cuando Elijo el tipo de vuelo "<tipo>"
|
|
@@ -5,11 +5,7 @@ Característica: landing.orders
|
|
|
5
5
|
|
|
6
6
|
@orders
|
|
7
7
|
Esquema del escenario: Verificar el orden de los resultados en landing
|
|
8
|
-
Cuando
|
|
9
|
-
Entonces Verifico que la pagina no rompa
|
|
10
|
-
Cuando Espero que termine de cargar la home de landing
|
|
11
|
-
Cuando Elijo un link para pasar a los resultados de landing
|
|
12
|
-
Cuando Ingreso a resultados de landing
|
|
8
|
+
Cuando Genero resultados de landing en "<pais>"
|
|
13
9
|
Entonces Verifico que la pagina no rompa
|
|
14
10
|
Entonces Verifico que traiga resultados de landings
|
|
15
11
|
Cuando Elijo el tipo de vuelo "<tipo>"
|
|
@@ -5,14 +5,12 @@ Característica: landing.pagination
|
|
|
5
5
|
|
|
6
6
|
@pagination
|
|
7
7
|
Esquema del escenario: Ingresar a la home de landing
|
|
8
|
-
Cuando
|
|
9
|
-
Entonces Verifico que la pagina no rompa
|
|
10
|
-
Cuando Espero que termine de cargar la home de landing
|
|
11
|
-
Cuando Elijo un link para pasar a los resultados de landing
|
|
12
|
-
Cuando Ingreso a resultados de landing
|
|
8
|
+
Cuando Genero resultados de landing en "<pais>"
|
|
13
9
|
Entonces Verifico que la pagina no rompa
|
|
14
10
|
Entonces Verifico que traiga resultados de landings
|
|
11
|
+
Cuando Elijo el tipo de vuelo "<tipo>"
|
|
15
12
|
Entonces Verifico que la pagina no rompa
|
|
13
|
+
Entonces Verifico que traiga resultados de landings
|
|
16
14
|
#Y Verifico que el paginado mantenga los filtros
|
|
17
15
|
Cuando Vuelvo a la primer pagina
|
|
18
16
|
Entonces Verifico que funcione el paginado correctamente
|
|
@@ -5,11 +5,7 @@ Característica: landing.passenger
|
|
|
5
5
|
|
|
6
6
|
@passenger
|
|
7
7
|
Esquema del escenario: Ingresar a la pagina de landing e iterar por cada popup de review
|
|
8
|
-
Cuando
|
|
9
|
-
Entonces Verifico que la pagina no rompa
|
|
10
|
-
Cuando Espero que termine de cargar la home de landing
|
|
11
|
-
Cuando Elijo un link para pasar a los resultados de landing
|
|
12
|
-
Cuando Ingreso a resultados de landing
|
|
8
|
+
Cuando Genero resultados de landing en "<pais>"
|
|
13
9
|
Entonces Verifico que la pagina no rompa
|
|
14
10
|
Entonces Verifico que traiga resultados de landings
|
|
15
11
|
Cuando Elijo el tipo de vuelo "<tipo>"
|
|
@@ -5,11 +5,7 @@ Característica: landing.positive
|
|
|
5
5
|
|
|
6
6
|
@positive
|
|
7
7
|
Esquema del escenario: Ingresar a la home de landing
|
|
8
|
-
Cuando
|
|
9
|
-
Entonces Verifico que la pagina no rompa
|
|
10
|
-
Cuando Espero que termine de cargar la home de landing
|
|
11
|
-
Cuando Elijo un link para pasar a los resultados de landing
|
|
12
|
-
Cuando Ingreso a resultados de landing
|
|
8
|
+
Cuando Genero resultados de landing en "<pais>"
|
|
13
9
|
Entonces Verifico que la pagina no rompa
|
|
14
10
|
Entonces Verifico que traiga resultados de landings
|
|
15
11
|
Cuando Elijo el tipo de vuelo "<tipo>"
|
|
@@ -5,11 +5,7 @@ Característica: landing.reviews
|
|
|
5
5
|
|
|
6
6
|
@reviews
|
|
7
7
|
Esquema del escenario: Ingresar a la pagina de landing e iterar por cada popup de review
|
|
8
|
-
Cuando
|
|
9
|
-
Entonces Verifico que la pagina no rompa
|
|
10
|
-
Cuando Espero que termine de cargar la home de landing
|
|
11
|
-
Cuando Elijo un link para pasar a los resultados de landing
|
|
12
|
-
Cuando Ingreso a resultados de landing
|
|
8
|
+
Cuando Genero resultados de landing en "<pais>"
|
|
13
9
|
Entonces Verifico que la pagina no rompa
|
|
14
10
|
Entonces Verifico que traiga resultados de landings
|
|
15
11
|
Cuando Elijo el tipo de vuelo "<tipo>"
|
|
@@ -5,13 +5,7 @@ Característica: landing.tags
|
|
|
5
5
|
|
|
6
6
|
@tags
|
|
7
7
|
Esquema del escenario: Ingresar a la home de landing, buscar los tags y validarlos
|
|
8
|
-
Cuando
|
|
9
|
-
Entonces Verifico que la pagina no rompa
|
|
10
|
-
Cuando Espero que termine de cargar la home de landing
|
|
11
|
-
Y Verifico el tag de remarketing de facebook
|
|
12
|
-
Y Verifico el tag de facebook
|
|
13
|
-
Cuando Elijo un link para pasar a los resultados de landing
|
|
14
|
-
Cuando Ingreso a resultados de landing
|
|
8
|
+
Cuando Genero resultados de landing en "<pais>"
|
|
15
9
|
Entonces Verifico que la pagina no rompa
|
|
16
10
|
Entonces Verifico que traiga resultados de landings
|
|
17
11
|
Cuando Elijo el tipo de vuelo "<tipo>"
|
|
@@ -2,60 +2,13 @@
|
|
|
2
2
|
@others
|
|
3
3
|
Característica: others.newsletter
|
|
4
4
|
Se verifica que el popup de newsletter funcione correctamente
|
|
5
|
-
|
|
6
|
-
@newsletter
|
|
7
|
-
Esquema del escenario: Entrar a resultados y forzar el popup de newsletter grande
|
|
8
|
-
Cuando Ingreso a la pagina de resultados en "<pais>" para una busqueda "<tipo>" del tipo "nil"
|
|
9
|
-
Cuando Espero que termine de cargar
|
|
10
|
-
Entonces Verifico que traiga resultados
|
|
11
|
-
Entonces Fuerzo la cookie de newsletter al "3"
|
|
12
|
-
Y Fuerzo la cookie de abztesting el valor "newsletterPopup" al "40"
|
|
13
|
-
Y Refresco la pagina
|
|
14
|
-
Y Verifico que se creen las cookies
|
|
15
|
-
Cuando Espero que termine de cargar
|
|
16
|
-
Entonces Verifico que cargue correctamente el popup de alertas
|
|
17
|
-
Entonces Verifico los textos del popup grande de newsletter
|
|
18
|
-
Entonces Comparo el campo origen
|
|
19
|
-
Entonces Comparo el campo destino
|
|
20
|
-
Cuando Edito el campo origen
|
|
21
|
-
Entonces Validar que el campo origen sea obligatorio
|
|
22
|
-
Cuando Completo el campo origen
|
|
23
|
-
Cuando Edito el campo destino
|
|
24
|
-
Entonces Validar que el campo destino sea obligatorio
|
|
25
|
-
Cuando Completo el campo destino
|
|
26
|
-
Cuando Hago click en guardar alerta
|
|
27
|
-
Cuando Selecciono Solo ida
|
|
28
|
-
Cuando Selecciono Ida y vuelta
|
|
29
|
-
Cuando Selecciono una fecha especifica
|
|
30
|
-
Cuando Selecciono una fecha aproximada
|
|
31
|
-
Cuando Completo el precio maximo por adulto ""
|
|
32
|
-
Cuando Hago click en guardar alerta
|
|
33
|
-
Entonces Validar que el campo precio maximo por adulto sea obligatorio
|
|
34
|
-
Entonces Validar que el campo email sea obligatorio
|
|
35
|
-
Cuando Completo el precio maximo por adulto "999"
|
|
36
|
-
Cuando Completo el email "testvuelos"
|
|
37
|
-
Cuando Hago click en guardar alerta
|
|
38
|
-
Entonces Validar que el campo email tenga un email valido
|
|
39
|
-
Cuando Completo el email "testvuelos@despegar.com"
|
|
40
|
-
Cuando Hago click en guardar alerta
|
|
41
|
-
Entonces Esperar que se muestre el mensaje de alerta
|
|
42
|
-
Y Validar que el mensaje sea correcto
|
|
43
|
-
Cuando Cierro el popup de alertas
|
|
44
|
-
Entonces Validar que se haya cerrado el popup de alertas
|
|
45
5
|
|
|
46
|
-
@cl
|
|
47
|
-
Ejemplos:
|
|
48
|
-
|pais|tipo|
|
|
49
|
-
|CL |roundtrip|
|
|
50
|
-
|
|
51
6
|
@newsletter
|
|
52
7
|
Esquema del escenario: Entrar a resultados y forzar el popup de newsletter chico y elijo alerta personalizada
|
|
53
8
|
Cuando Ingreso a la pagina de resultados en "<pais>" para una busqueda "<tipo>" del tipo "nil"
|
|
54
9
|
Cuando Espero que termine de cargar
|
|
55
10
|
Entonces Verifico que traiga resultados
|
|
56
|
-
Entonces Fuerzo la cookie de newsletter al "
|
|
57
|
-
Y Fuerzo la cookie de abztesting el valor "newsletterPopup" al "90"
|
|
58
|
-
Y Fuerzo la cookie de abztesting el valor "showPopupCounter" al "35"
|
|
11
|
+
Entonces Fuerzo la cookie de newsletter al "3"
|
|
59
12
|
Y Refresco la pagina
|
|
60
13
|
Cuando Espero que termine de cargar
|
|
61
14
|
Entonces Verifico que cargue el popup chico de newsletter
|
|
@@ -94,29 +47,18 @@ Característica: others.newsletter
|
|
|
94
47
|
Ejemplos:
|
|
95
48
|
|pais|tipo|
|
|
96
49
|
|CL |roundtrip|
|
|
97
|
-
|
|
98
|
-
@newsletter
|
|
99
|
-
Esquema del escenario: Entrar a resultados y forzar el popup de newsletter chico y no elijo alerta personalizada
|
|
100
|
-
Cuando Ingreso a la pagina de resultados en "<pais>" para una busqueda "<tipo>" del tipo "nil"
|
|
101
|
-
Cuando Espero que termine de cargar
|
|
102
|
-
Entonces Verifico que traiga resultados
|
|
103
|
-
Entonces Modifico la cookie trackerid con valor "ffff-ffffffffff-fffffffff-"
|
|
104
|
-
Y Refresco la pagina
|
|
105
|
-
Cuando Espero que termine de cargar
|
|
106
|
-
Entonces Fuerzo la cookie de newsletter al "1"
|
|
107
|
-
Y Fuerzo la cookie de abztesting el valor "newsletterPopup" al "90"
|
|
108
|
-
Y Fuerzo la cookie de abztesting el valor "showPopupCounter" al "60"
|
|
109
|
-
Y Refresco la pagina
|
|
110
|
-
Cuando Espero que termine de cargar
|
|
111
|
-
Entonces Verifico que cargue el popup chico de newsletter
|
|
112
|
-
Y Verifico los textos del popup chico de newsletter
|
|
113
|
-
Y No elijo crear alerta personalizada
|
|
114
|
-
Entonces Verifico que no cargue el popup de newsletter
|
|
115
|
-
|
|
116
|
-
@cl
|
|
50
|
+
@ar
|
|
117
51
|
Ejemplos:
|
|
118
52
|
|pais|tipo|
|
|
119
|
-
|
|
|
53
|
+
|AR |roundtrip|
|
|
54
|
+
@br
|
|
55
|
+
Ejemplos:
|
|
56
|
+
|pais|tipo|
|
|
57
|
+
|BR |roundtrip|
|
|
58
|
+
@us
|
|
59
|
+
Ejemplos:
|
|
60
|
+
|pais|tipo|
|
|
61
|
+
|US |roundtrip|
|
|
120
62
|
|
|
121
63
|
@newsletter
|
|
122
64
|
Esquema del escenario: Entrar a resultados y forzar el popup de newsletter chico y no elijo alerta personalizada
|
|
@@ -124,8 +66,6 @@ Característica: others.newsletter
|
|
|
124
66
|
Cuando Espero que termine de cargar
|
|
125
67
|
Entonces Verifico que traiga resultados
|
|
126
68
|
Entonces Fuerzo la cookie de newsletter al "3"
|
|
127
|
-
Y Fuerzo la cookie de abztesting el valor "newsletterPopup" al "90"
|
|
128
|
-
Y Fuerzo la cookie de abztesting el valor "showPopupCounter" al "90"
|
|
129
69
|
Y Refresco la pagina
|
|
130
70
|
Cuando Espero que termine de cargar
|
|
131
71
|
Entonces Verifico que cargue el popup chico de newsletter
|
|
@@ -136,24 +76,19 @@ Característica: others.newsletter
|
|
|
136
76
|
@cl
|
|
137
77
|
Ejemplos:
|
|
138
78
|
|pais|tipo|
|
|
139
|
-
|CL |roundtrip|
|
|
140
|
-
|
|
141
|
-
@newsletter
|
|
142
|
-
Esquema del escenario: Entrar a resultados y no forzar el popup de newsletter
|
|
143
|
-
Cuando Ingreso a la pagina de resultados en "<pais>" para una busqueda "<tipo>" del tipo "nil"
|
|
144
|
-
Cuando Espero que termine de cargar
|
|
145
|
-
Entonces Verifico que traiga resultados
|
|
146
|
-
Entonces Fuerzo la cookie de newsletter al "1"
|
|
147
|
-
Y Fuerzo la cookie de abztesting el valor "newsletterPopup" al "90"
|
|
148
|
-
Y Fuerzo la cookie de abztesting el valor "showPopupCounter" al "20"
|
|
149
|
-
Y Refresco la pagina
|
|
150
|
-
Cuando Espero que termine de cargar
|
|
151
|
-
Entonces Verifico que no cargue el popup de newsletter
|
|
152
|
-
|
|
153
|
-
@cl
|
|
79
|
+
|CL |roundtrip|
|
|
80
|
+
@ar
|
|
154
81
|
Ejemplos:
|
|
155
82
|
|pais|tipo|
|
|
156
|
-
|
|
|
83
|
+
|AR |roundtrip|
|
|
84
|
+
@br
|
|
85
|
+
Ejemplos:
|
|
86
|
+
|pais|tipo|
|
|
87
|
+
|BR |roundtrip|
|
|
88
|
+
@us
|
|
89
|
+
Ejemplos:
|
|
90
|
+
|pais|tipo|
|
|
91
|
+
|US |roundtrip|
|
|
157
92
|
|
|
158
93
|
@newsletter
|
|
159
94
|
Esquema del escenario: Entrar a resultados y no forzar el popup de newsletter
|
|
@@ -161,7 +96,6 @@ Característica: others.newsletter
|
|
|
161
96
|
Cuando Espero que termine de cargar
|
|
162
97
|
Entonces Verifico que traiga resultados
|
|
163
98
|
Entonces Fuerzo la cookie de newsletter al "1"
|
|
164
|
-
Y Fuerzo la cookie de abztesting el valor "newsletterPopup" al "15"
|
|
165
99
|
Y Refresco la pagina
|
|
166
100
|
Cuando Espero que termine de cargar
|
|
167
101
|
Entonces Verifico que no cargue el popup de newsletter
|
|
@@ -169,4 +103,16 @@ Característica: others.newsletter
|
|
|
169
103
|
@cl
|
|
170
104
|
Ejemplos:
|
|
171
105
|
|pais|tipo|
|
|
172
|
-
|CL |roundtrip|
|
|
106
|
+
|CL |roundtrip|
|
|
107
|
+
@ar
|
|
108
|
+
Ejemplos:
|
|
109
|
+
|pais|tipo|
|
|
110
|
+
|AR |roundtrip|
|
|
111
|
+
@br
|
|
112
|
+
Ejemplos:
|
|
113
|
+
|pais|tipo|
|
|
114
|
+
|BR |roundtrip|
|
|
115
|
+
@us
|
|
116
|
+
Ejemplos:
|
|
117
|
+
|pais|tipo|
|
|
118
|
+
|US |roundtrip|
|
|
@@ -8,8 +8,8 @@ Característica: search.itineraries
|
|
|
8
8
|
Cuando Ingreso a la pagina de resultados en "<pais>" para una busqueda "<tipo>" del tipo "<cabotage>"
|
|
9
9
|
Cuando Espero que termine de cargar
|
|
10
10
|
Entonces Verifico que traiga resultados
|
|
11
|
-
Cuando Si el site es "MX", Verifico el ordenamiento premium economy
|
|
12
|
-
Cuando Si el site no es "MX", Ordeno por "TOTALFARE_ASCENDING"
|
|
11
|
+
Cuando Si el site es "MX|AR", Verifico el ordenamiento premium economy
|
|
12
|
+
Cuando Si el site no es "MX|AR", Ordeno por "TOTALFARE_ASCENDING"
|
|
13
13
|
Cuando Espero que termine de cargar
|
|
14
14
|
Entonces Verifico cada cluster "<tipo>"
|
|
15
15
|
|
|
@@ -83,4 +83,10 @@ Característica: search.itineraries
|
|
|
83
83
|
|pais|tipo|cabotage|
|
|
84
84
|
|UY |multipledestinations|true|
|
|
85
85
|
|UY |roundtrip|nil|
|
|
86
|
-
|UY |oneway|nil|
|
|
86
|
+
|UY |oneway|nil|
|
|
87
|
+
@pr
|
|
88
|
+
Ejemplos:
|
|
89
|
+
|pais|tipo|cabotage|
|
|
90
|
+
|PR |multipledestinations|true|
|
|
91
|
+
|PR |roundtrip|nil|
|
|
92
|
+
|PR |oneway|nil|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]
|
|
17
17
|
|
|
18
|
-
gem.version = '2.3.
|
|
18
|
+
gem.version = '2.3.4' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
|
|
19
19
|
|
|
20
20
|
gem.add_dependency('henry-container', '>= 0.1.39')
|
|
21
21
|
gem.add_dependency('watir-webdriver')
|
data/henry-context.yml
CHANGED
|
@@ -2121,6 +2121,21 @@ tasks:
|
|
|
2121
2121
|
recipients:
|
|
2122
2122
|
- estebanldh@gmail.com
|
|
2123
2123
|
- nsimean@despegar.com
|
|
2124
|
+
- name: search.itineraries.pr
|
|
2125
|
+
class_name: Henry::Task::CucumberTask
|
|
2126
|
+
options:
|
|
2127
|
+
tags:
|
|
2128
|
+
- search
|
|
2129
|
+
- itineraries
|
|
2130
|
+
- pr
|
|
2131
|
+
expand: true
|
|
2132
|
+
no-source: true
|
|
2133
|
+
reports:
|
|
2134
|
+
- format: html
|
|
2135
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
2136
|
+
recipients:
|
|
2137
|
+
- estebanldh@gmail.com
|
|
2138
|
+
- nsimean@despegar.com
|
|
2124
2139
|
- name: search.orders
|
|
2125
2140
|
class_name: Henry::Task::CucumberTask
|
|
2126
2141
|
options:
|
|
@@ -11228,13 +11243,13 @@ tasks:
|
|
|
11228
11243
|
recipients:
|
|
11229
11244
|
- estebanldh@gmail.com
|
|
11230
11245
|
- nsimean@despegar.com
|
|
11231
|
-
- name: others.newsletter.
|
|
11246
|
+
- name: others.newsletter.ar
|
|
11232
11247
|
class_name: Henry::Task::CucumberTask
|
|
11233
11248
|
options:
|
|
11234
11249
|
tags:
|
|
11235
11250
|
- others
|
|
11236
11251
|
- newsletter
|
|
11237
|
-
-
|
|
11252
|
+
- ar
|
|
11238
11253
|
expand: true
|
|
11239
11254
|
no-source: true
|
|
11240
11255
|
reports:
|
|
@@ -11243,13 +11258,13 @@ tasks:
|
|
|
11243
11258
|
recipients:
|
|
11244
11259
|
- estebanldh@gmail.com
|
|
11245
11260
|
- nsimean@despegar.com
|
|
11246
|
-
- name: others.newsletter.
|
|
11261
|
+
- name: others.newsletter.br
|
|
11247
11262
|
class_name: Henry::Task::CucumberTask
|
|
11248
11263
|
options:
|
|
11249
11264
|
tags:
|
|
11250
11265
|
- others
|
|
11251
11266
|
- newsletter
|
|
11252
|
-
-
|
|
11267
|
+
- br
|
|
11253
11268
|
expand: true
|
|
11254
11269
|
no-source: true
|
|
11255
11270
|
reports:
|
|
@@ -11258,13 +11273,13 @@ tasks:
|
|
|
11258
11273
|
recipients:
|
|
11259
11274
|
- estebanldh@gmail.com
|
|
11260
11275
|
- nsimean@despegar.com
|
|
11261
|
-
- name: others.newsletter.
|
|
11276
|
+
- name: others.newsletter.us
|
|
11262
11277
|
class_name: Henry::Task::CucumberTask
|
|
11263
11278
|
options:
|
|
11264
11279
|
tags:
|
|
11265
11280
|
- others
|
|
11266
11281
|
- newsletter
|
|
11267
|
-
-
|
|
11282
|
+
- us
|
|
11268
11283
|
expand: true
|
|
11269
11284
|
no-source: true
|
|
11270
11285
|
reports:
|
|
@@ -11288,6 +11303,51 @@ tasks:
|
|
|
11288
11303
|
recipients:
|
|
11289
11304
|
- estebanldh@gmail.com
|
|
11290
11305
|
- nsimean@despegar.com
|
|
11306
|
+
- name: others.newsletter.ar
|
|
11307
|
+
class_name: Henry::Task::CucumberTask
|
|
11308
|
+
options:
|
|
11309
|
+
tags:
|
|
11310
|
+
- others
|
|
11311
|
+
- newsletter
|
|
11312
|
+
- ar
|
|
11313
|
+
expand: true
|
|
11314
|
+
no-source: true
|
|
11315
|
+
reports:
|
|
11316
|
+
- format: html
|
|
11317
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
11318
|
+
recipients:
|
|
11319
|
+
- estebanldh@gmail.com
|
|
11320
|
+
- nsimean@despegar.com
|
|
11321
|
+
- name: others.newsletter.br
|
|
11322
|
+
class_name: Henry::Task::CucumberTask
|
|
11323
|
+
options:
|
|
11324
|
+
tags:
|
|
11325
|
+
- others
|
|
11326
|
+
- newsletter
|
|
11327
|
+
- br
|
|
11328
|
+
expand: true
|
|
11329
|
+
no-source: true
|
|
11330
|
+
reports:
|
|
11331
|
+
- format: html
|
|
11332
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
11333
|
+
recipients:
|
|
11334
|
+
- estebanldh@gmail.com
|
|
11335
|
+
- nsimean@despegar.com
|
|
11336
|
+
- name: others.newsletter.us
|
|
11337
|
+
class_name: Henry::Task::CucumberTask
|
|
11338
|
+
options:
|
|
11339
|
+
tags:
|
|
11340
|
+
- others
|
|
11341
|
+
- newsletter
|
|
11342
|
+
- us
|
|
11343
|
+
expand: true
|
|
11344
|
+
no-source: true
|
|
11345
|
+
reports:
|
|
11346
|
+
- format: html
|
|
11347
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
11348
|
+
recipients:
|
|
11349
|
+
- estebanldh@gmail.com
|
|
11350
|
+
- nsimean@despegar.com
|
|
11291
11351
|
- name: others.newsletter.cl
|
|
11292
11352
|
class_name: Henry::Task::CucumberTask
|
|
11293
11353
|
options:
|
|
@@ -11303,6 +11363,51 @@ tasks:
|
|
|
11303
11363
|
recipients:
|
|
11304
11364
|
- estebanldh@gmail.com
|
|
11305
11365
|
- nsimean@despegar.com
|
|
11366
|
+
- name: others.newsletter.ar
|
|
11367
|
+
class_name: Henry::Task::CucumberTask
|
|
11368
|
+
options:
|
|
11369
|
+
tags:
|
|
11370
|
+
- others
|
|
11371
|
+
- newsletter
|
|
11372
|
+
- ar
|
|
11373
|
+
expand: true
|
|
11374
|
+
no-source: true
|
|
11375
|
+
reports:
|
|
11376
|
+
- format: html
|
|
11377
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
11378
|
+
recipients:
|
|
11379
|
+
- estebanldh@gmail.com
|
|
11380
|
+
- nsimean@despegar.com
|
|
11381
|
+
- name: others.newsletter.br
|
|
11382
|
+
class_name: Henry::Task::CucumberTask
|
|
11383
|
+
options:
|
|
11384
|
+
tags:
|
|
11385
|
+
- others
|
|
11386
|
+
- newsletter
|
|
11387
|
+
- br
|
|
11388
|
+
expand: true
|
|
11389
|
+
no-source: true
|
|
11390
|
+
reports:
|
|
11391
|
+
- format: html
|
|
11392
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
11393
|
+
recipients:
|
|
11394
|
+
- estebanldh@gmail.com
|
|
11395
|
+
- nsimean@despegar.com
|
|
11396
|
+
- name: others.newsletter.us
|
|
11397
|
+
class_name: Henry::Task::CucumberTask
|
|
11398
|
+
options:
|
|
11399
|
+
tags:
|
|
11400
|
+
- others
|
|
11401
|
+
- newsletter
|
|
11402
|
+
- us
|
|
11403
|
+
expand: true
|
|
11404
|
+
no-source: true
|
|
11405
|
+
reports:
|
|
11406
|
+
- format: html
|
|
11407
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
11408
|
+
recipients:
|
|
11409
|
+
- estebanldh@gmail.com
|
|
11410
|
+
- nsimean@despegar.com
|
|
11306
11411
|
- name: others.recommendation
|
|
11307
11412
|
class_name: Henry::Task::CucumberTask
|
|
11308
11413
|
options:
|
|
@@ -15773,6 +15878,69 @@ tasks:
|
|
|
15773
15878
|
recipients:
|
|
15774
15879
|
- estebanldh@gmail.com
|
|
15775
15880
|
- nsimean@despegar.com
|
|
15881
|
+
- name: checkout.integration.pr
|
|
15882
|
+
class_name: Henry::Task::CucumberTask
|
|
15883
|
+
options:
|
|
15884
|
+
tags:
|
|
15885
|
+
- checkout
|
|
15886
|
+
- integration
|
|
15887
|
+
- pr
|
|
15888
|
+
expand: true
|
|
15889
|
+
no-source: true
|
|
15890
|
+
reports:
|
|
15891
|
+
- format: html
|
|
15892
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
15893
|
+
recipients:
|
|
15894
|
+
- estebanldh@gmail.com
|
|
15895
|
+
- nsimean@despegar.com
|
|
15896
|
+
- name: checkout.integration.pr.roundtrip
|
|
15897
|
+
class_name: Henry::Task::CucumberTask
|
|
15898
|
+
options:
|
|
15899
|
+
tags:
|
|
15900
|
+
- checkout
|
|
15901
|
+
- integration
|
|
15902
|
+
- pr
|
|
15903
|
+
- roundtrip
|
|
15904
|
+
expand: true
|
|
15905
|
+
no-source: true
|
|
15906
|
+
reports:
|
|
15907
|
+
- format: html
|
|
15908
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
15909
|
+
recipients:
|
|
15910
|
+
- estebanldh@gmail.com
|
|
15911
|
+
- nsimean@despegar.com
|
|
15912
|
+
- name: checkout.integration.pr.oneway
|
|
15913
|
+
class_name: Henry::Task::CucumberTask
|
|
15914
|
+
options:
|
|
15915
|
+
tags:
|
|
15916
|
+
- checkout
|
|
15917
|
+
- integration
|
|
15918
|
+
- pr
|
|
15919
|
+
- oneway
|
|
15920
|
+
expand: true
|
|
15921
|
+
no-source: true
|
|
15922
|
+
reports:
|
|
15923
|
+
- format: html
|
|
15924
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
15925
|
+
recipients:
|
|
15926
|
+
- estebanldh@gmail.com
|
|
15927
|
+
- nsimean@despegar.com
|
|
15928
|
+
- name: checkout.integration.pr.multipledestinations
|
|
15929
|
+
class_name: Henry::Task::CucumberTask
|
|
15930
|
+
options:
|
|
15931
|
+
tags:
|
|
15932
|
+
- checkout
|
|
15933
|
+
- integration
|
|
15934
|
+
- pr
|
|
15935
|
+
- multipledestinations
|
|
15936
|
+
expand: true
|
|
15937
|
+
no-source: true
|
|
15938
|
+
reports:
|
|
15939
|
+
- format: html
|
|
15940
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
15941
|
+
recipients:
|
|
15942
|
+
- estebanldh@gmail.com
|
|
15943
|
+
- nsimean@despegar.com
|
|
15776
15944
|
- name: checkout.cupones
|
|
15777
15945
|
class_name: Henry::Task::CucumberTask
|
|
15778
15946
|
options:
|
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: 2.3.
|
|
4
|
+
version: 2.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- lgonzalez,lsimean
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-04-
|
|
11
|
+
date: 2014-04-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: henry-container
|