flights_gui_tests 0.6.4 → 0.6.5
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 +4 -4
- data/features/step_definitions/checkout/cash_payment_steps.rb +5 -5
- data/features/step_definitions/checkout/last_minutes_steps.rb +28 -5
- data/features/step_definitions/results/results_steps.rb +3 -2
- data/features/support/modules/checkout/new_checkout/tarjeta.rb +12 -2
- data/features/support/modules/checkout/old_checkout/tarjeta.rb +16 -3
- data/features/support/pages/checkout/checkout_page.rb +8 -0
- data/features/support/pages/checkout/new_checkout_page.rb +8 -0
- data/features/support/pages/results/search_page.rb +0 -5
- data/features/tests/checkout/cash_payment.feature +36 -8
- data/features/tests/checkout/last_minute.feature +45 -0
- data/features/tests/checkout/online_payment.feature +36 -8
- data/features/tests/results/itineraries.feature +1 -1
- data/features/tests/results/recommendation.feature +3 -0
- data/features/tests/results/search.feature +1 -1
- data/flights_gui_tests.gemspec +1 -1
- data/henry-context.yml +130 -299
- metadata +2 -2
- data/features/tests/checkout/checkout_gui_last_minute.feature +0 -78
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5cc067267081383c3600f406406d85afb482fb87
|
|
4
|
+
data.tar.gz: 5c4f9555a1d15b8ad7ef395a8cfff1dc07e33a3d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4eff1b33928d9e63e0482e3753a87ab873ca0b64f50447c7195cc2aa60fe109a61ed5c0c2c7b63b26133c01cb5b4e260534f076e222cee44a39cfe991f3741d3
|
|
7
|
+
data.tar.gz: 9969f5f3bc2b514ebf694d34077593517e0678fde72e8aae3ce4176c0111c75bf1aa47784f9ed19b00d1147ab7333b09bfc26c44a2aa8c4b76907ec68629fd72
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# -*- encoding : utf-8 -*-
|
|
2
2
|
Entonces(/^completo el formulario de deposito$/) do
|
|
3
|
-
if @page.
|
|
3
|
+
if @page.deposito.disabled?
|
|
4
4
|
pending("Opcion deshabilitada por estar fuera de horario comercial")
|
|
5
5
|
else
|
|
6
|
-
@page.
|
|
6
|
+
@page.deposito.set
|
|
7
7
|
@page.nombre_completo_contacto_element.set("Diego Qa Romero") if @page.nombre_completo_contacto_element.present?
|
|
8
8
|
end
|
|
9
9
|
end
|
|
@@ -40,16 +40,16 @@ Entonces(/^(?:verifico|valido) los pasos para hacer el pago online$/) do
|
|
|
40
40
|
end
|
|
41
41
|
|
|
42
42
|
Entonces(/^completo el formulario de pago online$/) do
|
|
43
|
-
if @page.
|
|
43
|
+
if @page.pago_online.disabled?
|
|
44
44
|
pending("Opcion deshabilitada por estar fuera de horario comercial")
|
|
45
45
|
else
|
|
46
|
-
@page.
|
|
46
|
+
@page.pago_online.set
|
|
47
47
|
@page.nombre_completo_contacto_element.set("Diego Qa Romero") if @page.nombre_completo_contacto_element.present?
|
|
48
48
|
end
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
Entonces(/^elijo la opcion confirmar pago$/) do
|
|
52
|
-
@page.
|
|
52
|
+
@page.opcion_si_deposito.click
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
Entonces(/^(?:verifico|valido) los pasos para hacer el deposito$/) do
|
|
@@ -1,8 +1,31 @@
|
|
|
1
1
|
#encoding: utf-8
|
|
2
2
|
Entonces(/^verifico el mensaje de last minute con texto '(.*)'$/) do |mensaje|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
@page.mensaje_cancelacion_en_el_dia_element.should visible("mensaje de last minute")
|
|
4
|
+
@page.mensaje_cancelacion_en_el_dia_element.text.no_accents.should match(mensaje)
|
|
5
|
+
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
Entonces(/^en la página de resultados deben aparecer itinearios con fecha y hora de salida para '(.*)'$/) do |fecha|
|
|
9
|
+
fecha_partida = $date.for(fecha)
|
|
10
|
+
@page.cargar_itinerarios
|
|
11
|
+
@page.datos_de_itinerarios.each do |itinerario|
|
|
12
|
+
itinerario.ida.fecha.to_s.should equal(fecha_partida.to_s)
|
|
7
13
|
end
|
|
8
|
-
end
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
Cuando(/^espero que de error de compra al no poder emitirse los tickets$/) do
|
|
17
|
+
begin
|
|
18
|
+
@page.mensaje_error_emision_last_minute_element.when_visible(timeout=1)
|
|
19
|
+
rescue
|
|
20
|
+
@page.mensaje_error_emision_last_minute_element.should visible("Mensaje error last minute")
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
Y(/^verifico el mensaje de error en last minute con texto "(.*)"/) do |text|
|
|
25
|
+
@page.mensaje_error_emision_last_minute_element.text.no_accents.strip.should match(text)
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
Entonces(/^elijo otro vuelo del mensaje de error de last minute$/) do
|
|
29
|
+
@page.link_mensaje_error_emision_last_minute_element.click
|
|
30
|
+
@page = Results::SearchPage.new($browser)
|
|
31
|
+
end
|
|
@@ -79,7 +79,8 @@ Y(/^se ve destino hot$/)do
|
|
|
79
79
|
@page.popup_destino_hot_element.should visible
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
-
Y(/^cierro
|
|
83
|
-
|
|
82
|
+
Y(/^cierro popups$/)do
|
|
83
|
+
sleep(1)
|
|
84
|
+
@page.cerrar_popup_destino_hot_element.click if @page.popup_destino_hot_element.present?
|
|
84
85
|
@page.cerrar_mensaje_cancelacion_element.click if @page.mensaje_cancelacion_element.present?
|
|
85
86
|
end
|
|
@@ -35,8 +35,10 @@ module NewCheckout
|
|
|
35
35
|
radio_button(:un_pago_visa,:value=>"_VI")
|
|
36
36
|
radio_button(:un_pago_argentina,:class=>"radio main-radio ")
|
|
37
37
|
radio_button(:un_pago_debito,:id=>"installment-3")
|
|
38
|
-
radio_button(:
|
|
39
|
-
radio_button(:
|
|
38
|
+
radio_button(:deposito_ar,:css=>"#cash-installment .main-radio")
|
|
39
|
+
radio_button(:deposito_pe,:css=>"#multiple-card-cash-installment .main-radio")
|
|
40
|
+
radio_button(:pago_online_ar,:css=>"#homebanking-installment .main-radio")
|
|
41
|
+
radio_button(:pago_online_pe,:css=>"#multiple-card-homebanking-installment .main-radio")
|
|
40
42
|
radio_button(:opcion_cac,:css=>"#cac-installment .main-radio")
|
|
41
43
|
radio_button(:pago_con_intereses,:class=>"radio main-radio radio-with-interest")
|
|
42
44
|
|
|
@@ -261,5 +263,13 @@ module NewCheckout
|
|
|
261
263
|
end
|
|
262
264
|
end
|
|
263
265
|
|
|
266
|
+
def deposito()
|
|
267
|
+
eval "deposito_#{@@site.downcase}_element"
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
def pago_online()
|
|
271
|
+
eval "pago_online_#{@@site.downcase}_element"
|
|
272
|
+
end
|
|
273
|
+
|
|
264
274
|
end
|
|
265
275
|
end
|
|
@@ -34,9 +34,12 @@ module Checkout
|
|
|
34
34
|
radio_button(:un_pago,:id=>"installment-0")
|
|
35
35
|
radio_button(:un_pago_visa,:value=>"_VI")
|
|
36
36
|
radio_button(:un_pago_argentina,:class=>"radio main-radio ")
|
|
37
|
-
radio_button(:un_pago_debito,:id=>"installment-
|
|
38
|
-
radio_button(:
|
|
39
|
-
radio_button(:
|
|
37
|
+
radio_button(:un_pago_debito,:id=>"installment-1")
|
|
38
|
+
radio_button(:un_pago_pe,:id=>"installment-3")
|
|
39
|
+
radio_button(:deposito_ar,:css=>"#cash-installment .main-radio")
|
|
40
|
+
radio_button(:deposito_pe,:css=>"#multiple-card-cash-installment .main-radio")
|
|
41
|
+
radio_button(:pago_online_ar,:css=>"#homebanking-installment .main-radio")
|
|
42
|
+
radio_button(:pago_online_pe,:css=>"#multiple-card-homebanking-installment .main-radio")
|
|
40
43
|
radio_button(:opcion_cac,:css=>"#cac-installment .main-radio")
|
|
41
44
|
radio_button(:pago_con_intereses,:class=>"radio main-radio radio-with-interest")
|
|
42
45
|
|
|
@@ -57,6 +60,8 @@ module Checkout
|
|
|
57
60
|
provider = data["result"]["data"]["items"][0]["provider"]
|
|
58
61
|
if AllPages.site=="AR"
|
|
59
62
|
select_un_pago_argentina
|
|
63
|
+
elsif AllPages.site=="PE"
|
|
64
|
+
select_un_pago_peru
|
|
60
65
|
else
|
|
61
66
|
if debito.downcase.no_accents.match(/debito/)
|
|
62
67
|
select_un_pago_debito
|
|
@@ -261,5 +266,13 @@ module Checkout
|
|
|
261
266
|
end
|
|
262
267
|
end
|
|
263
268
|
|
|
269
|
+
def deposito()
|
|
270
|
+
eval "deposito_#{AllPages.site.downcase}_element"
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
def pago_online()
|
|
274
|
+
eval "pago_online_#{AllPages.site.downcase}_element"
|
|
275
|
+
end
|
|
276
|
+
|
|
264
277
|
end
|
|
265
278
|
end
|
|
@@ -42,6 +42,9 @@ module Checkout
|
|
|
42
42
|
div(:clientes_felices,:id=>"happy-clients")
|
|
43
43
|
div(:link_price_jump,:css=>"#popup-price-difference .popup-link")
|
|
44
44
|
div(:mensaje_cancelacion,:id=>"cancellation-advice")
|
|
45
|
+
div(:mensaje_cancelacion_en_el_dia,:id=>"last-minute-advice")
|
|
46
|
+
div(:mensaje_error_emision_last_minute,:class=>"ux-common-message ux-common-message-error ")
|
|
47
|
+
link(:link_mensaje_error_emision_last_minute,:css=>".ux-common-message-error a")
|
|
45
48
|
|
|
46
49
|
checkbox(:opcion_seguros,:id=>"upselling-checkbox")
|
|
47
50
|
checkbox(:condiciones_de_compra,:id=>"read-agreement")
|
|
@@ -113,5 +116,10 @@ module Checkout
|
|
|
113
116
|
def datos_itinerario()
|
|
114
117
|
return Checkout::Cluster.new(tipo_de_busqueda,Hpricot.parse(itinerario_element.html))
|
|
115
118
|
end
|
|
119
|
+
|
|
120
|
+
def last_minute?
|
|
121
|
+
return (manage_data.date_from_1 - Date.today).to_i < 2
|
|
122
|
+
end
|
|
123
|
+
|
|
116
124
|
end
|
|
117
125
|
end
|
|
@@ -41,6 +41,9 @@ module Checkout
|
|
|
41
41
|
div(:cupon_exito,:id=>"voucher-success")
|
|
42
42
|
div(:clientes_felices,:id=>"happy-clients")
|
|
43
43
|
div(:link_price_jump,:css=>"#popup-price-difference .popup-link")
|
|
44
|
+
div(:mensaje_cancelacion,:id=>"cancellation-advice")
|
|
45
|
+
div(:mensaje_cancelacion_en_el_dia,:id=>"last-minute-advice")
|
|
46
|
+
div(:mensaje_error_emision_last_minute,:class=>"ux-common-message ux-common-message-error ")
|
|
44
47
|
|
|
45
48
|
checkbox(:opcion_seguros,:id=>"upselling-checkbox")
|
|
46
49
|
checkbox(:condiciones_de_compra,:id=>"read-agreement")
|
|
@@ -112,5 +115,10 @@ module Checkout
|
|
|
112
115
|
def datos_itinerario()
|
|
113
116
|
return NewCheckout::Cluster.new(tipo_de_busqueda,Hpricot.parse(itinerario_element.html))
|
|
114
117
|
end
|
|
118
|
+
|
|
119
|
+
def last_minute?
|
|
120
|
+
return (manage_data.date_from_1 - Date.today).to_i < 2
|
|
121
|
+
end
|
|
122
|
+
|
|
115
123
|
end
|
|
116
124
|
end
|
|
@@ -20,7 +20,6 @@ module Results
|
|
|
20
20
|
div(:cluster_bussines,:class=>"cluster newCluster not-economy-cluster")
|
|
21
21
|
div(:actualizar_informacion,:class=>"update-message")
|
|
22
22
|
div(:actualizar_filtro,:id=>"update-message-overlay")
|
|
23
|
-
div(:mensaje_cancelacion_en_el_dia,:id=>"last-minute-advice")
|
|
24
23
|
div(:nuevo_cluster,:css=>".inline-detail-clusters-style")
|
|
25
24
|
div(:mensaje_cancelacion,:id=>"cancellation-advice-popup-content")
|
|
26
25
|
div(:cerrar_mensaje_cancelacion,:css=>"#cancellation-advice-popup-content .flights-message-close")
|
|
@@ -143,9 +142,5 @@ module Results
|
|
|
143
142
|
@datos_de_itinerarios[index]
|
|
144
143
|
end
|
|
145
144
|
|
|
146
|
-
def last_minute?
|
|
147
|
-
return (manage_data.date_from_1 - Date.today).to_i < 2
|
|
148
|
-
end
|
|
149
|
-
|
|
150
145
|
end
|
|
151
146
|
end
|
|
@@ -41,17 +41,45 @@ Característica: checkout.cash_payment
|
|
|
41
41
|
Y verifico el tag de datalayer
|
|
42
42
|
|
|
43
43
|
@ar
|
|
44
|
-
@roundtrip
|
|
45
44
|
Ejemplos:
|
|
46
45
|
|pais|tipo|cabotage|
|
|
47
46
|
|AR |roundtrip|nil|
|
|
48
|
-
@ar
|
|
49
|
-
@oneway
|
|
50
|
-
Ejemplos:
|
|
51
|
-
|pais|tipo|cabotage|
|
|
52
47
|
|AR |oneway|nil|
|
|
53
|
-
|
|
54
|
-
|
|
48
|
+
|AR |multipledestinations|nil|
|
|
49
|
+
|
|
50
|
+
@cash_payment
|
|
51
|
+
Esquema del escenario: Se realiza un book con metodo de pago por deposito
|
|
52
|
+
Dado como un usuario de '<pais>'
|
|
53
|
+
* ingreso una busqueda '<tipo>' del tipo '<cabotage>'
|
|
54
|
+
Cuando realizo la busqueda
|
|
55
|
+
Entonces verifico que la pagina no rompa
|
|
56
|
+
Cuando espero que termine de cargar la pagina de resultados
|
|
57
|
+
Entonces verifico que traiga resultados
|
|
58
|
+
Cuando elijo un itinerario y paso a checkout
|
|
59
|
+
Entonces verifico que la pagina no rompa
|
|
60
|
+
Y espero que termine de cargar la pagina de checkout
|
|
61
|
+
Y verifico que ingrese al checkout
|
|
62
|
+
Cuando fuerzo el abztesting de "showCashPayment" al "45"
|
|
63
|
+
Entonces si el site es "AR", seteo el checkout a ingresar
|
|
64
|
+
Entonces valido los valores del desglose del checkout
|
|
65
|
+
Entonces cargo los pasajeros
|
|
66
|
+
Y completo el formulario de deposito
|
|
67
|
+
Y cargo los datos de contacto
|
|
68
|
+
Y si el site es "AR|MX|PE|BR", cargo los datos de facturacion
|
|
69
|
+
Cuando acepto y compro
|
|
70
|
+
Entonces espero que termine el pedido de compra
|
|
71
|
+
Y verifico si no trae errores
|
|
72
|
+
Entonces si aparece el popup de no disponibilidad, elijo un itinerario para pago por deposito del popup de no disponibilidad
|
|
73
|
+
Entonces espero que termine de cargar la pagina de gracias
|
|
74
|
+
Y verifico que ingrese a la pagina de gracias para pago cash
|
|
75
|
+
Y verifico el popup de asistencia al viajero
|
|
76
|
+
Y verifico los datos del vuelo comprado
|
|
77
|
+
Y verifico los valores del desglose en gracias contra los del checkout
|
|
78
|
+
Y verifico el tag de datalayer
|
|
79
|
+
|
|
80
|
+
@pe
|
|
55
81
|
Ejemplos:
|
|
56
82
|
|pais|tipo|cabotage|
|
|
57
|
-
|
|
|
83
|
+
|PE |roundtrip|nil|
|
|
84
|
+
|PE |oneway|nil|
|
|
85
|
+
|PE |multipledestinations|nil|
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
#language: es
|
|
2
|
+
@checkout
|
|
3
|
+
Característica: checkout.last_minute
|
|
4
|
+
Pruebas de aceptación de usuario de la historia Ventas Last Minute
|
|
5
|
+
|
|
6
|
+
@last_minute
|
|
7
|
+
Esquema del escenario: checkout.last_minute
|
|
8
|
+
Intento de compra con tiempo expirado. Cuando un usuario selecciona un vuelo muy próximo al minimo de horas de last minute, si al momento de hacer la compra el usuario tarda demasiado, no se le debe dejar continuar
|
|
9
|
+
|
|
10
|
+
Dado como un usuario de '<pais>'
|
|
11
|
+
* ingreso una busqueda '<tipo>' de '<origen>' a '<destino>' de tipo '<cabotage>'
|
|
12
|
+
* con fecha 'hoy' y estadia '1 semana'
|
|
13
|
+
Cuando realizo la busqueda
|
|
14
|
+
Entonces verifico que la pagina no rompa
|
|
15
|
+
Cuando espero que termine de cargar la pagina de resultados
|
|
16
|
+
Entonces verifico que traiga resultados
|
|
17
|
+
Entonces en la página de resultados deben aparecer itinearios con fecha y hora de salida para 'hoy'
|
|
18
|
+
Cuando elijo un itinerario y paso a checkout
|
|
19
|
+
Entonces verifico que la pagina no rompa
|
|
20
|
+
Y espero que termine de cargar la pagina de checkout
|
|
21
|
+
Y verifico que ingrese al checkout
|
|
22
|
+
* verifico el mensaje de last minute con texto '¡Apresurese! este vuelo sale dentro de las proximas 24hs'
|
|
23
|
+
* verifico el mensaje de last minute con texto '¡Compre, reciba los eTicket y viaje hoy mismo!'
|
|
24
|
+
Entonces cargo los pasajeros
|
|
25
|
+
Y cargo los datos de la tarjeta
|
|
26
|
+
Y si el site es "AR|MX|PE|EC", cargo los datos de facturacion
|
|
27
|
+
Y cargo los datos de contacto
|
|
28
|
+
Cuando acepto y compro
|
|
29
|
+
Entonces espero que termine el pedido de compra
|
|
30
|
+
Y espero que de error de compra al no poder emitirse los tickets
|
|
31
|
+
* verifico el mensaje de error en last minute con texto "Lamentablemente no hemos podido emitir los tickets"
|
|
32
|
+
* verifico el mensaje de error en last minute con texto "Debido a la cercania del vuelo no logramos emitir los tickets por lo que le recomendamos que busque otro vuelo"
|
|
33
|
+
Entonces elijo otro vuelo del mensaje de error de last minute
|
|
34
|
+
Cuando espero que termine de cargar la pagina de resultados
|
|
35
|
+
Entonces verifico que traiga resultados
|
|
36
|
+
Entonces en la página de resultados deben aparecer itinearios con fecha y hora de salida para 'hoy'
|
|
37
|
+
|
|
38
|
+
@mx
|
|
39
|
+
Ejemplos:
|
|
40
|
+
|pais|tipo|cabotage|origen |destino |
|
|
41
|
+
|MX |roundtrip|nil|MEX|NYC|
|
|
42
|
+
|MX |oneway|nil|MEX|SCL|
|
|
43
|
+
|MX |roundtrip|true|MEX|GDL|
|
|
44
|
+
|MX |oneway|true|MEX|GDL|
|
|
45
|
+
|MX |multipledestinations|nil|MEX|BUE|
|
|
@@ -41,17 +41,45 @@ Característica: checkout.online_payment
|
|
|
41
41
|
Y verifico el tag de datalayer
|
|
42
42
|
|
|
43
43
|
@ar
|
|
44
|
-
@roundtrip
|
|
45
44
|
Ejemplos:
|
|
46
45
|
|pais|tipo|cabotage|
|
|
47
46
|
|AR |roundtrip|nil|
|
|
48
|
-
@ar
|
|
49
|
-
@oneway
|
|
50
|
-
Ejemplos:
|
|
51
|
-
|pais|tipo|cabotage|
|
|
52
47
|
|AR |oneway|nil|
|
|
53
|
-
|
|
54
|
-
|
|
48
|
+
|AR |multipledestinations|nil|
|
|
49
|
+
|
|
50
|
+
@online_payment
|
|
51
|
+
Esquema del escenario: Se realiza un book con metodo de pago online
|
|
52
|
+
Dado como un usuario de '<pais>'
|
|
53
|
+
* ingreso una busqueda '<tipo>' del tipo '<cabotage>'
|
|
54
|
+
Cuando realizo la busqueda
|
|
55
|
+
Entonces verifico que la pagina no rompa
|
|
56
|
+
Cuando espero que termine de cargar la pagina de resultados
|
|
57
|
+
Entonces verifico que traiga resultados
|
|
58
|
+
Cuando elijo un itinerario y paso a checkout
|
|
59
|
+
Entonces verifico que la pagina no rompa
|
|
60
|
+
Y espero que termine de cargar la pagina de checkout
|
|
61
|
+
Y verifico que ingrese al checkout
|
|
62
|
+
Cuando fuerzo el abztesting de "showCashPayment" al "45"
|
|
63
|
+
Entonces si el site es "AR", seteo el checkout a ingresar
|
|
64
|
+
Entonces valido los valores del desglose del checkout
|
|
65
|
+
Entonces cargo los pasajeros
|
|
66
|
+
Y completo el formulario de pago online
|
|
67
|
+
Y cargo los datos de contacto
|
|
68
|
+
Y si el site es "AR|MX|PE|BR", cargo los datos de facturacion
|
|
69
|
+
Cuando acepto y compro
|
|
70
|
+
Entonces espero que termine el pedido de compra
|
|
71
|
+
Y verifico si no trae errores
|
|
72
|
+
Entonces si aparece el popup de no disponibilidad, elijo un itinerario para pago online del popup de no disponibilidad
|
|
73
|
+
Entonces espero que termine de cargar la pagina de gracias
|
|
74
|
+
Y verifico que ingrese a la pagina de gracias para pago cash
|
|
75
|
+
Y verifico el popup de asistencia al viajero
|
|
76
|
+
Y verifico los datos del vuelo comprado
|
|
77
|
+
Y verifico los valores del desglose en gracias contra los del checkout
|
|
78
|
+
Y verifico el tag de datalayer
|
|
79
|
+
|
|
80
|
+
@pe
|
|
55
81
|
Ejemplos:
|
|
56
82
|
|pais|tipo|cabotage|
|
|
57
|
-
|
|
|
83
|
+
|PE |roundtrip|nil|
|
|
84
|
+
|PE |oneway|nil|
|
|
85
|
+
|PE |multipledestinations|nil|
|
|
@@ -21,7 +21,7 @@ Característica: results.itineraries
|
|
|
21
21
|
Cuando si el site es "MX|AR", verifico el ordenamiento premium economy
|
|
22
22
|
Cuando ordeno por "TOTALFARE_ASCENDING"
|
|
23
23
|
Cuando espero que termine de cargar la pagina de resultados
|
|
24
|
-
Y
|
|
24
|
+
Y cierro popups
|
|
25
25
|
Entonces recorro y verifico cada itinerario
|
|
26
26
|
|
|
27
27
|
@ar
|
|
@@ -11,6 +11,7 @@ Característica: results.recommendation
|
|
|
11
11
|
Entonces verifico que la pagina no rompa
|
|
12
12
|
Cuando espero que termine de cargar la pagina de resultados
|
|
13
13
|
Entonces verifico que traiga resultados
|
|
14
|
+
Y cierro popups
|
|
14
15
|
Entonces verifico que exista el icono de enviar recomendacion
|
|
15
16
|
Cuando hago click en el icono de enviar recomendacion
|
|
16
17
|
Entonces verifico que cargue el contenido del popup
|
|
@@ -51,6 +52,7 @@ Característica: results.recommendation
|
|
|
51
52
|
Entonces verifico que la pagina no rompa
|
|
52
53
|
Cuando espero que termine de cargar la pagina de resultados
|
|
53
54
|
Entonces verifico que traiga resultados
|
|
55
|
+
Y cierro popups
|
|
54
56
|
Cuando hago click en el icono de enviar recomendacion
|
|
55
57
|
Entonces verifico que cargue el contenido del popup
|
|
56
58
|
Entonces verifico que el asunto sea correcto "Recomenda.{1,4}es de v.{1,2}o para"
|
|
@@ -87,6 +89,7 @@ Característica: results.recommendation
|
|
|
87
89
|
Entonces verifico que la pagina no rompa
|
|
88
90
|
Cuando espero que termine de cargar la pagina de resultados
|
|
89
91
|
Entonces verifico que traiga resultados
|
|
92
|
+
Y cierro popups
|
|
90
93
|
Entonces verifico que exista el icono de enviar recomendacion
|
|
91
94
|
Cuando hago click en el icono de enviar recomendacion
|
|
92
95
|
Entonces verifico que cargue el contenido del popup
|
|
@@ -21,7 +21,7 @@ Característica: results.search
|
|
|
21
21
|
Cuando si el site es "AR|BR", levanto los tag que deben mostrarse segun la ciudad buscada para una busqueda "<tipo>"
|
|
22
22
|
Entonces si el site es "AR|BR", verifico que se muestre en el codigo fuente
|
|
23
23
|
Y si el site es "PE", verifico el banner de cancelacion en el dia en resultados
|
|
24
|
-
Y
|
|
24
|
+
Y cierro popups
|
|
25
25
|
Y verifico el primer tag de google en resultado
|
|
26
26
|
Y verifico el segundo tag de google en resultado
|
|
27
27
|
Y verifico el tag de groovinads
|
data/flights_gui_tests.gemspec
CHANGED
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
|
|
|
14
14
|
|
|
15
15
|
gem.require_paths = ["lib"] # Usualmente es solo lib -> ["lib"]
|
|
16
16
|
|
|
17
|
-
gem.version = '0.6.
|
|
17
|
+
gem.version = '0.6.5' # 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.39')
|
|
20
20
|
gem.add_dependency('page-object')
|
data/henry-context.yml
CHANGED
|
@@ -1351,6 +1351,35 @@ tasks:
|
|
|
1351
1351
|
recipients:
|
|
1352
1352
|
- estebanldh@gmail.com
|
|
1353
1353
|
- nsimean@despegar.com
|
|
1354
|
+
- name: checkout.busquedas_promo
|
|
1355
|
+
class_name: Henry::Task::CucumberTask
|
|
1356
|
+
options:
|
|
1357
|
+
tags:
|
|
1358
|
+
- checkout
|
|
1359
|
+
- busquedas_promo
|
|
1360
|
+
expand: true
|
|
1361
|
+
no-source: true
|
|
1362
|
+
reports:
|
|
1363
|
+
- format: html
|
|
1364
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
1365
|
+
recipients:
|
|
1366
|
+
- estebanldh@gmail.com
|
|
1367
|
+
- nsimean@despegar.com
|
|
1368
|
+
- name: checkout.busquedas_promo.ar
|
|
1369
|
+
class_name: Henry::Task::CucumberTask
|
|
1370
|
+
options:
|
|
1371
|
+
tags:
|
|
1372
|
+
- checkout
|
|
1373
|
+
- busquedas_promo
|
|
1374
|
+
- ar
|
|
1375
|
+
expand: true
|
|
1376
|
+
no-source: true
|
|
1377
|
+
reports:
|
|
1378
|
+
- format: html
|
|
1379
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
1380
|
+
recipients:
|
|
1381
|
+
- estebanldh@gmail.com
|
|
1382
|
+
- nsimean@despegar.com
|
|
1354
1383
|
- name: results.errors
|
|
1355
1384
|
class_name: Henry::Task::CucumberTask
|
|
1356
1385
|
options:
|
|
@@ -2121,215 +2150,6 @@ tasks:
|
|
|
2121
2150
|
recipients:
|
|
2122
2151
|
- estebanldh@gmail.com
|
|
2123
2152
|
- nsimean@despegar.com
|
|
2124
|
-
- name: results.new_itineraries
|
|
2125
|
-
class_name: Henry::Task::CucumberTask
|
|
2126
|
-
options:
|
|
2127
|
-
tags:
|
|
2128
|
-
- results
|
|
2129
|
-
- new_itineraries
|
|
2130
|
-
expand: true
|
|
2131
|
-
no-source: true
|
|
2132
|
-
reports:
|
|
2133
|
-
- format: html
|
|
2134
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
2135
|
-
recipients:
|
|
2136
|
-
- estebanldh@gmail.com
|
|
2137
|
-
- nsimean@despegar.com
|
|
2138
|
-
- name: results.new_itineraries.ar
|
|
2139
|
-
class_name: Henry::Task::CucumberTask
|
|
2140
|
-
options:
|
|
2141
|
-
tags:
|
|
2142
|
-
- results
|
|
2143
|
-
- new_itineraries
|
|
2144
|
-
- ar
|
|
2145
|
-
expand: true
|
|
2146
|
-
no-source: true
|
|
2147
|
-
reports:
|
|
2148
|
-
- format: html
|
|
2149
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
2150
|
-
recipients:
|
|
2151
|
-
- estebanldh@gmail.com
|
|
2152
|
-
- nsimean@despegar.com
|
|
2153
|
-
- name: results.new_itineraries.br
|
|
2154
|
-
class_name: Henry::Task::CucumberTask
|
|
2155
|
-
options:
|
|
2156
|
-
tags:
|
|
2157
|
-
- results
|
|
2158
|
-
- new_itineraries
|
|
2159
|
-
- br
|
|
2160
|
-
expand: true
|
|
2161
|
-
no-source: true
|
|
2162
|
-
reports:
|
|
2163
|
-
- format: html
|
|
2164
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
2165
|
-
recipients:
|
|
2166
|
-
- estebanldh@gmail.com
|
|
2167
|
-
- nsimean@despegar.com
|
|
2168
|
-
- name: results.new_itineraries.co
|
|
2169
|
-
class_name: Henry::Task::CucumberTask
|
|
2170
|
-
options:
|
|
2171
|
-
tags:
|
|
2172
|
-
- results
|
|
2173
|
-
- new_itineraries
|
|
2174
|
-
- co
|
|
2175
|
-
expand: true
|
|
2176
|
-
no-source: true
|
|
2177
|
-
reports:
|
|
2178
|
-
- format: html
|
|
2179
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
2180
|
-
recipients:
|
|
2181
|
-
- estebanldh@gmail.com
|
|
2182
|
-
- nsimean@despegar.com
|
|
2183
|
-
- name: results.new_itineraries.mx
|
|
2184
|
-
class_name: Henry::Task::CucumberTask
|
|
2185
|
-
options:
|
|
2186
|
-
tags:
|
|
2187
|
-
- results
|
|
2188
|
-
- new_itineraries
|
|
2189
|
-
- mx
|
|
2190
|
-
expand: true
|
|
2191
|
-
no-source: true
|
|
2192
|
-
reports:
|
|
2193
|
-
- format: html
|
|
2194
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
2195
|
-
recipients:
|
|
2196
|
-
- estebanldh@gmail.com
|
|
2197
|
-
- nsimean@despegar.com
|
|
2198
|
-
- name: results.new_itineraries.ve
|
|
2199
|
-
class_name: Henry::Task::CucumberTask
|
|
2200
|
-
options:
|
|
2201
|
-
tags:
|
|
2202
|
-
- results
|
|
2203
|
-
- new_itineraries
|
|
2204
|
-
- ve
|
|
2205
|
-
expand: true
|
|
2206
|
-
no-source: true
|
|
2207
|
-
reports:
|
|
2208
|
-
- format: html
|
|
2209
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
2210
|
-
recipients:
|
|
2211
|
-
- estebanldh@gmail.com
|
|
2212
|
-
- nsimean@despegar.com
|
|
2213
|
-
- name: results.new_itineraries.cl
|
|
2214
|
-
class_name: Henry::Task::CucumberTask
|
|
2215
|
-
options:
|
|
2216
|
-
tags:
|
|
2217
|
-
- results
|
|
2218
|
-
- new_itineraries
|
|
2219
|
-
- cl
|
|
2220
|
-
expand: true
|
|
2221
|
-
no-source: true
|
|
2222
|
-
reports:
|
|
2223
|
-
- format: html
|
|
2224
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
2225
|
-
recipients:
|
|
2226
|
-
- estebanldh@gmail.com
|
|
2227
|
-
- nsimean@despegar.com
|
|
2228
|
-
- name: results.new_itineraries.cr
|
|
2229
|
-
class_name: Henry::Task::CucumberTask
|
|
2230
|
-
options:
|
|
2231
|
-
tags:
|
|
2232
|
-
- results
|
|
2233
|
-
- new_itineraries
|
|
2234
|
-
- cr
|
|
2235
|
-
expand: true
|
|
2236
|
-
no-source: true
|
|
2237
|
-
reports:
|
|
2238
|
-
- format: html
|
|
2239
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
2240
|
-
recipients:
|
|
2241
|
-
- estebanldh@gmail.com
|
|
2242
|
-
- nsimean@despegar.com
|
|
2243
|
-
- name: results.new_itineraries.ec
|
|
2244
|
-
class_name: Henry::Task::CucumberTask
|
|
2245
|
-
options:
|
|
2246
|
-
tags:
|
|
2247
|
-
- results
|
|
2248
|
-
- new_itineraries
|
|
2249
|
-
- ec
|
|
2250
|
-
expand: true
|
|
2251
|
-
no-source: true
|
|
2252
|
-
reports:
|
|
2253
|
-
- format: html
|
|
2254
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
2255
|
-
recipients:
|
|
2256
|
-
- estebanldh@gmail.com
|
|
2257
|
-
- nsimean@despegar.com
|
|
2258
|
-
- name: results.new_itineraries.pa
|
|
2259
|
-
class_name: Henry::Task::CucumberTask
|
|
2260
|
-
options:
|
|
2261
|
-
tags:
|
|
2262
|
-
- results
|
|
2263
|
-
- new_itineraries
|
|
2264
|
-
- pa
|
|
2265
|
-
expand: true
|
|
2266
|
-
no-source: true
|
|
2267
|
-
reports:
|
|
2268
|
-
- format: html
|
|
2269
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
2270
|
-
recipients:
|
|
2271
|
-
- estebanldh@gmail.com
|
|
2272
|
-
- nsimean@despegar.com
|
|
2273
|
-
- name: results.new_itineraries.pe
|
|
2274
|
-
class_name: Henry::Task::CucumberTask
|
|
2275
|
-
options:
|
|
2276
|
-
tags:
|
|
2277
|
-
- results
|
|
2278
|
-
- new_itineraries
|
|
2279
|
-
- pe
|
|
2280
|
-
expand: true
|
|
2281
|
-
no-source: true
|
|
2282
|
-
reports:
|
|
2283
|
-
- format: html
|
|
2284
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
2285
|
-
recipients:
|
|
2286
|
-
- estebanldh@gmail.com
|
|
2287
|
-
- nsimean@despegar.com
|
|
2288
|
-
- name: results.new_itineraries.us
|
|
2289
|
-
class_name: Henry::Task::CucumberTask
|
|
2290
|
-
options:
|
|
2291
|
-
tags:
|
|
2292
|
-
- results
|
|
2293
|
-
- new_itineraries
|
|
2294
|
-
- us
|
|
2295
|
-
expand: true
|
|
2296
|
-
no-source: true
|
|
2297
|
-
reports:
|
|
2298
|
-
- format: html
|
|
2299
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
2300
|
-
recipients:
|
|
2301
|
-
- estebanldh@gmail.com
|
|
2302
|
-
- nsimean@despegar.com
|
|
2303
|
-
- name: results.new_itineraries.uy
|
|
2304
|
-
class_name: Henry::Task::CucumberTask
|
|
2305
|
-
options:
|
|
2306
|
-
tags:
|
|
2307
|
-
- results
|
|
2308
|
-
- new_itineraries
|
|
2309
|
-
- uy
|
|
2310
|
-
expand: true
|
|
2311
|
-
no-source: true
|
|
2312
|
-
reports:
|
|
2313
|
-
- format: html
|
|
2314
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
2315
|
-
recipients:
|
|
2316
|
-
- estebanldh@gmail.com
|
|
2317
|
-
- nsimean@despegar.com
|
|
2318
|
-
- name: results.new_itineraries.pr
|
|
2319
|
-
class_name: Henry::Task::CucumberTask
|
|
2320
|
-
options:
|
|
2321
|
-
tags:
|
|
2322
|
-
- results
|
|
2323
|
-
- new_itineraries
|
|
2324
|
-
- pr
|
|
2325
|
-
expand: true
|
|
2326
|
-
no-source: true
|
|
2327
|
-
reports:
|
|
2328
|
-
- format: html
|
|
2329
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
2330
|
-
recipients:
|
|
2331
|
-
- estebanldh@gmail.com
|
|
2332
|
-
- nsimean@despegar.com
|
|
2333
2153
|
- name: results.itineraries
|
|
2334
2154
|
class_name: Henry::Task::CucumberTask
|
|
2335
2155
|
options:
|
|
@@ -2911,6 +2731,68 @@ tasks:
|
|
|
2911
2731
|
recipients:
|
|
2912
2732
|
- estebanldh@gmail.com
|
|
2913
2733
|
- nsimean@despegar.com
|
|
2734
|
+
- name: results.matrix_price.br
|
|
2735
|
+
class_name: Henry::Task::CucumberTask
|
|
2736
|
+
options:
|
|
2737
|
+
tags:
|
|
2738
|
+
- results
|
|
2739
|
+
- matrix_price
|
|
2740
|
+
- br
|
|
2741
|
+
expand: true
|
|
2742
|
+
no-source: true
|
|
2743
|
+
reports:
|
|
2744
|
+
- format: html
|
|
2745
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
2746
|
+
recipients:
|
|
2747
|
+
- estebanldh@gmail.com
|
|
2748
|
+
- nsimean@despegar.com
|
|
2749
|
+
- name: results.matrix_price.br.roundtrip
|
|
2750
|
+
class_name: Henry::Task::CucumberTask
|
|
2751
|
+
options:
|
|
2752
|
+
tags:
|
|
2753
|
+
- results
|
|
2754
|
+
- matrix_price
|
|
2755
|
+
- br
|
|
2756
|
+
- roundtrip
|
|
2757
|
+
expand: true
|
|
2758
|
+
no-source: true
|
|
2759
|
+
reports:
|
|
2760
|
+
- format: html
|
|
2761
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
2762
|
+
recipients:
|
|
2763
|
+
- estebanldh@gmail.com
|
|
2764
|
+
- nsimean@despegar.com
|
|
2765
|
+
- name: results.matrix_price.mx
|
|
2766
|
+
class_name: Henry::Task::CucumberTask
|
|
2767
|
+
options:
|
|
2768
|
+
tags:
|
|
2769
|
+
- results
|
|
2770
|
+
- matrix_price
|
|
2771
|
+
- mx
|
|
2772
|
+
expand: true
|
|
2773
|
+
no-source: true
|
|
2774
|
+
reports:
|
|
2775
|
+
- format: html
|
|
2776
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
2777
|
+
recipients:
|
|
2778
|
+
- estebanldh@gmail.com
|
|
2779
|
+
- nsimean@despegar.com
|
|
2780
|
+
- name: results.matrix_price.mx.roundtrip
|
|
2781
|
+
class_name: Henry::Task::CucumberTask
|
|
2782
|
+
options:
|
|
2783
|
+
tags:
|
|
2784
|
+
- results
|
|
2785
|
+
- matrix_price
|
|
2786
|
+
- mx
|
|
2787
|
+
- roundtrip
|
|
2788
|
+
expand: true
|
|
2789
|
+
no-source: true
|
|
2790
|
+
reports:
|
|
2791
|
+
- format: html
|
|
2792
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
2793
|
+
recipients:
|
|
2794
|
+
- estebanldh@gmail.com
|
|
2795
|
+
- nsimean@despegar.com
|
|
2914
2796
|
- name: results.matrix_airlines
|
|
2915
2797
|
class_name: Henry::Task::CucumberTask
|
|
2916
2798
|
options:
|
|
@@ -10203,20 +10085,6 @@ tasks:
|
|
|
10203
10085
|
recipients:
|
|
10204
10086
|
- estebanldh@gmail.com
|
|
10205
10087
|
- nsimean@despegar.com
|
|
10206
|
-
- name: checkout.last_minute
|
|
10207
|
-
class_name: Henry::Task::CucumberTask
|
|
10208
|
-
options:
|
|
10209
|
-
tags:
|
|
10210
|
-
- checkout
|
|
10211
|
-
- last_minute
|
|
10212
|
-
expand: true
|
|
10213
|
-
no-source: true
|
|
10214
|
-
reports:
|
|
10215
|
-
- format: html
|
|
10216
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
10217
|
-
recipients:
|
|
10218
|
-
- estebanldh@gmail.com
|
|
10219
|
-
- nsimean@despegar.com
|
|
10220
10088
|
- name: checkout.price_jump
|
|
10221
10089
|
class_name: Henry::Task::CucumberTask
|
|
10222
10090
|
options:
|
|
@@ -10759,46 +10627,13 @@ tasks:
|
|
|
10759
10627
|
recipients:
|
|
10760
10628
|
- estebanldh@gmail.com
|
|
10761
10629
|
- nsimean@despegar.com
|
|
10762
|
-
- name: checkout.online_payment.
|
|
10763
|
-
class_name: Henry::Task::CucumberTask
|
|
10764
|
-
options:
|
|
10765
|
-
tags:
|
|
10766
|
-
- checkout
|
|
10767
|
-
- online_payment
|
|
10768
|
-
- ar
|
|
10769
|
-
- roundtrip
|
|
10770
|
-
expand: true
|
|
10771
|
-
no-source: true
|
|
10772
|
-
reports:
|
|
10773
|
-
- format: html
|
|
10774
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
10775
|
-
recipients:
|
|
10776
|
-
- estebanldh@gmail.com
|
|
10777
|
-
- nsimean@despegar.com
|
|
10778
|
-
- name: checkout.online_payment.ar.oneway
|
|
10779
|
-
class_name: Henry::Task::CucumberTask
|
|
10780
|
-
options:
|
|
10781
|
-
tags:
|
|
10782
|
-
- checkout
|
|
10783
|
-
- online_payment
|
|
10784
|
-
- ar
|
|
10785
|
-
- oneway
|
|
10786
|
-
expand: true
|
|
10787
|
-
no-source: true
|
|
10788
|
-
reports:
|
|
10789
|
-
- format: html
|
|
10790
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
10791
|
-
recipients:
|
|
10792
|
-
- estebanldh@gmail.com
|
|
10793
|
-
- nsimean@despegar.com
|
|
10794
|
-
- name: checkout.online_payment.ar.multipledestinations
|
|
10630
|
+
- name: checkout.online_payment.pe
|
|
10795
10631
|
class_name: Henry::Task::CucumberTask
|
|
10796
10632
|
options:
|
|
10797
10633
|
tags:
|
|
10798
10634
|
- checkout
|
|
10799
10635
|
- online_payment
|
|
10800
|
-
-
|
|
10801
|
-
- multipledestinations
|
|
10636
|
+
- pe
|
|
10802
10637
|
expand: true
|
|
10803
10638
|
no-source: true
|
|
10804
10639
|
reports:
|
|
@@ -11635,46 +11470,13 @@ tasks:
|
|
|
11635
11470
|
recipients:
|
|
11636
11471
|
- estebanldh@gmail.com
|
|
11637
11472
|
- nsimean@despegar.com
|
|
11638
|
-
- name: checkout.cash_payment.
|
|
11639
|
-
class_name: Henry::Task::CucumberTask
|
|
11640
|
-
options:
|
|
11641
|
-
tags:
|
|
11642
|
-
- checkout
|
|
11643
|
-
- cash_payment
|
|
11644
|
-
- ar
|
|
11645
|
-
- roundtrip
|
|
11646
|
-
expand: true
|
|
11647
|
-
no-source: true
|
|
11648
|
-
reports:
|
|
11649
|
-
- format: html
|
|
11650
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
11651
|
-
recipients:
|
|
11652
|
-
- estebanldh@gmail.com
|
|
11653
|
-
- nsimean@despegar.com
|
|
11654
|
-
- name: checkout.cash_payment.ar.oneway
|
|
11655
|
-
class_name: Henry::Task::CucumberTask
|
|
11656
|
-
options:
|
|
11657
|
-
tags:
|
|
11658
|
-
- checkout
|
|
11659
|
-
- cash_payment
|
|
11660
|
-
- ar
|
|
11661
|
-
- oneway
|
|
11662
|
-
expand: true
|
|
11663
|
-
no-source: true
|
|
11664
|
-
reports:
|
|
11665
|
-
- format: html
|
|
11666
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
11667
|
-
recipients:
|
|
11668
|
-
- estebanldh@gmail.com
|
|
11669
|
-
- nsimean@despegar.com
|
|
11670
|
-
- name: checkout.cash_payment.ar.multipledestinations
|
|
11473
|
+
- name: checkout.cash_payment.pe
|
|
11671
11474
|
class_name: Henry::Task::CucumberTask
|
|
11672
11475
|
options:
|
|
11673
11476
|
tags:
|
|
11674
11477
|
- checkout
|
|
11675
11478
|
- cash_payment
|
|
11676
|
-
-
|
|
11677
|
-
- multipledestinations
|
|
11479
|
+
- pe
|
|
11678
11480
|
expand: true
|
|
11679
11481
|
no-source: true
|
|
11680
11482
|
reports:
|
|
@@ -12453,6 +12255,35 @@ tasks:
|
|
|
12453
12255
|
recipients:
|
|
12454
12256
|
- estebanldh@gmail.com
|
|
12455
12257
|
- nsimean@despegar.com
|
|
12258
|
+
- name: checkout.last_minute
|
|
12259
|
+
class_name: Henry::Task::CucumberTask
|
|
12260
|
+
options:
|
|
12261
|
+
tags:
|
|
12262
|
+
- checkout
|
|
12263
|
+
- last_minute
|
|
12264
|
+
expand: true
|
|
12265
|
+
no-source: true
|
|
12266
|
+
reports:
|
|
12267
|
+
- format: html
|
|
12268
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
12269
|
+
recipients:
|
|
12270
|
+
- estebanldh@gmail.com
|
|
12271
|
+
- nsimean@despegar.com
|
|
12272
|
+
- name: checkout.last_minute.mx
|
|
12273
|
+
class_name: Henry::Task::CucumberTask
|
|
12274
|
+
options:
|
|
12275
|
+
tags:
|
|
12276
|
+
- checkout
|
|
12277
|
+
- last_minute
|
|
12278
|
+
- mx
|
|
12279
|
+
expand: true
|
|
12280
|
+
no-source: true
|
|
12281
|
+
reports:
|
|
12282
|
+
- format: html
|
|
12283
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
12284
|
+
recipients:
|
|
12285
|
+
- estebanldh@gmail.com
|
|
12286
|
+
- nsimean@despegar.com
|
|
12456
12287
|
- name: checkout.providers
|
|
12457
12288
|
class_name: Henry::Task::CucumberTask
|
|
12458
12289
|
options:
|
|
@@ -12613,11 +12444,11 @@ tasks:
|
|
|
12613
12444
|
recipients:
|
|
12614
12445
|
- estebanldh@gmail.com
|
|
12615
12446
|
- nsimean@despegar.com
|
|
12616
|
-
- name:
|
|
12447
|
+
- name: checkout
|
|
12617
12448
|
class_name: Henry::Task::CucumberTask
|
|
12618
12449
|
options:
|
|
12619
12450
|
tags:
|
|
12620
|
-
-
|
|
12451
|
+
- checkout
|
|
12621
12452
|
expand: true
|
|
12622
12453
|
no-source: true
|
|
12623
12454
|
reports:
|
|
@@ -12626,11 +12457,11 @@ tasks:
|
|
|
12626
12457
|
recipients:
|
|
12627
12458
|
- estebanldh@gmail.com
|
|
12628
12459
|
- nsimean@despegar.com
|
|
12629
|
-
- name:
|
|
12460
|
+
- name: landing
|
|
12630
12461
|
class_name: Henry::Task::CucumberTask
|
|
12631
12462
|
options:
|
|
12632
12463
|
tags:
|
|
12633
|
-
-
|
|
12464
|
+
- landing
|
|
12634
12465
|
expand: true
|
|
12635
12466
|
no-source: true
|
|
12636
12467
|
reports:
|
|
@@ -12639,11 +12470,11 @@ tasks:
|
|
|
12639
12470
|
recipients:
|
|
12640
12471
|
- estebanldh@gmail.com
|
|
12641
12472
|
- nsimean@despegar.com
|
|
12642
|
-
- name:
|
|
12473
|
+
- name: flights_tracker
|
|
12643
12474
|
class_name: Henry::Task::CucumberTask
|
|
12644
12475
|
options:
|
|
12645
12476
|
tags:
|
|
12646
|
-
-
|
|
12477
|
+
- flights_tracker
|
|
12647
12478
|
expand: true
|
|
12648
12479
|
no-source: true
|
|
12649
12480
|
reports:
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flights_gui_tests
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- lgonzalez
|
|
@@ -316,12 +316,12 @@ files:
|
|
|
316
316
|
- features/tests/checkout/book_ok.feature
|
|
317
317
|
- features/tests/checkout/cac.feature
|
|
318
318
|
- features/tests/checkout/cash_payment.feature
|
|
319
|
-
- features/tests/checkout/checkout_gui_last_minute.feature
|
|
320
319
|
- features/tests/checkout/compatibility.feature
|
|
321
320
|
- features/tests/checkout/compras_duplicadas.feature
|
|
322
321
|
- features/tests/checkout/cupones.feature
|
|
323
322
|
- features/tests/checkout/error_messages.feature
|
|
324
323
|
- features/tests/checkout/fast_checkout.feature
|
|
324
|
+
- features/tests/checkout/last_minute.feature
|
|
325
325
|
- features/tests/checkout/low_cost.feature
|
|
326
326
|
- features/tests/checkout/online_payment.feature
|
|
327
327
|
- features/tests/checkout/price_jump.feature
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
#language: es
|
|
2
|
-
@checkout
|
|
3
|
-
Característica: checkout.last_minute
|
|
4
|
-
Pruebas de aceptación de usuario de la historia Ventas Last Minute
|
|
5
|
-
|
|
6
|
-
@last_minute
|
|
7
|
-
Esquema del escenario: Deben aparecer resultados para una búsqueda de tipo Last Minute para los distintos paises (origen) y destinos y también para los distintos dispositivos
|
|
8
|
-
Dado como un usuario de '<pais>'
|
|
9
|
-
* ingreso una busqueda '<tipo>' de '<origen>' a '<destino>' de tipo '<cabotage>'
|
|
10
|
-
* con fecha 'hoy' y estadia '1 semana'
|
|
11
|
-
Cuando realizo la busqueda
|
|
12
|
-
Entonces verifico que la pagina no rompa
|
|
13
|
-
Cuando espero que termine de cargar la pagina de resultados
|
|
14
|
-
Entonces verifico que traiga resultados
|
|
15
|
-
Entonces en la página de resultados deben aparecer itinearios con fecha y hora de salida para 'hoy'
|
|
16
|
-
Y la diferencia horaria respecto del momento de la búsqueda debe ser mayor o igual a '4' 'horas'
|
|
17
|
-
|
|
18
|
-
Ejemplos:
|
|
19
|
-
|pais |dispositivo |origen |destino |tipo |cabotage|
|
|
20
|
-
|AR |computadora |BUE |MIA |roundtrip|nil |
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
# No está claro si el mensaje debe aparecer en la página de resultados y/o en la página de checkout
|
|
26
|
-
@last_minute
|
|
27
|
-
Esquema del escenario: checkout.last_minute
|
|
28
|
-
Información para el usuario de venta last minute. Cuando se trata de una venta last minute el usuario debe ser notificado de ello mediante un mensaje o popup
|
|
29
|
-
|
|
30
|
-
Dado como un usuario de '<pais>'
|
|
31
|
-
* ingreso una busqueda '<tipo>' de '<origen>' a '<destino>' de tipo '<cabotage>'
|
|
32
|
-
* con fecha 'hoy' y estadia '1 semana'
|
|
33
|
-
Cuando realizo la busqueda
|
|
34
|
-
Entonces verifico que la pagina no rompa
|
|
35
|
-
Cuando espero que termine de cargar la pagina de resultados
|
|
36
|
-
Entonces verifico que traiga resultados
|
|
37
|
-
Entonces en la página de resultados deben aparecer itinearios con fecha y hora de salida para 'hoy'
|
|
38
|
-
Cuando elijo un itinerario y paso a checkout
|
|
39
|
-
Entonces verifico que la pagina no rompa
|
|
40
|
-
Y espero que termine de cargar la pagina de checkout
|
|
41
|
-
Y verifico que ingrese al checkout
|
|
42
|
-
* verifico el mensaje de last minute con texto '¡Apresurate! Este vuelo sale dentro de las proximas 24hs'
|
|
43
|
-
* verifico el mensaje de last minute con texto '¡Compra, recibe los eTicket y viaja hoy mismo!'
|
|
44
|
-
|
|
45
|
-
Ejemplos:
|
|
46
|
-
|pais |dispositivo |origen |destino |tipo |cabotage|
|
|
47
|
-
|AR |computadora |BUE |MIA |roundtrip|nil |
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
@last_minute
|
|
52
|
-
Esquema del escenario: checkout.last_minute
|
|
53
|
-
Intento de compra con tiempo expirado. Cuando un usuario selecciona un vuelo muy próximo al minimo de horas de last minute, si al momento de hacer la compra el usuario tarda demasiado, no se le debe dejar continuar
|
|
54
|
-
|
|
55
|
-
Dado como un usuario de '<pais>'
|
|
56
|
-
* ingreso una busqueda '<tipo>' de '<origen>' a '<destino>' de tipo '<cabotage>'
|
|
57
|
-
* con fecha 'hoy' y estadia '1 semana'
|
|
58
|
-
Cuando realizo la busqueda
|
|
59
|
-
Entonces verifico que la pagina no rompa
|
|
60
|
-
Cuando espero que termine de cargar la pagina de resultados
|
|
61
|
-
Entonces verifico que traiga resultados
|
|
62
|
-
Entonces en la página de resultados deben aparecer itinearios con fecha y hora de salida para 'hoy'
|
|
63
|
-
Cuando selecciona el itinerario mas próximo a salir
|
|
64
|
-
# de la lista presente tomar el mas cercano, guardar el tiempo de diferencia y hacer un sleep de ese tiempo mas uno/dos minutos e intentar l
|
|
65
|
-
* se espera el tiempo necesario para que expire
|
|
66
|
-
Y se inicia el proceso de compra
|
|
67
|
-
# Entonces no se puede completar la operación al llenar los datos
|
|
68
|
-
Y debe mostrarse al usuario el mensaje '>>>>>>> mensaje a definir <<<<<<<'
|
|
69
|
-
Cuando elijo un itinerario y paso a checkout
|
|
70
|
-
Entonces verifico que la pagina no rompa
|
|
71
|
-
Y espero que termine de cargar la pagina de checkout
|
|
72
|
-
Y verifico que ingrese al checkout
|
|
73
|
-
|
|
74
|
-
Ejemplos:
|
|
75
|
-
|pais |dispositivo |origen |destino |tipo |cabotage|
|
|
76
|
-
|AR |computadora |BUE |MIA |roundtrip|nil |
|
|
77
|
-
|
|
78
|
-
|