flights_gui_tests 2.3.22 → 2.3.23
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/{two_oneway_steps.rb → multipleoneway_steps.rb} +0 -0
- data/features/step_definitions/checkout/upselling_steps.rb +2 -1
- data/features/step_definitions/results/multipleoneway_steps.rb +66 -0
- data/features/step_definitions/results/results_steps.rb +2 -2
- data/features/support/classes/checkout/multipleoneway_cluster.rb +32 -0
- data/features/support/classes/clusters.rb +1 -0
- data/features/support/env.rb +3 -0
- data/features/support/modules/checkout/checkout.rb +1 -0
- data/features/support/modules/checkout/new_checkout/multipleoneway.rb +9 -0
- data/features/support/modules/results/{two_oneway.rb → multipleoneway.rb} +15 -3
- data/features/support/pages/checkout/checkout_page/new_checkout_page.rb +6 -1
- data/features/support/pages/results/search_page.rb +2 -1
- data/features/support/version.rb +1 -1
- data/features/tests/results/multipleoneway.feature +63 -0
- data/flights_gui_tests.gemspec +1 -0
- data/henry-context.yml +45 -48
- metadata +22 -5
- data/features/step_definitions/results/two_oneway_steps.rb +0 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e20b8318fec35b7f0f03552facfb2a8e8e48fdaa
|
4
|
+
data.tar.gz: b4c9a02581f60277ad6e5a6dff083011eabf77bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 792ca314c884e943e6516b1d2ca13f55c3b73b0a5f3c38f0b5ca7d7f2b836f0700a7fdde25dbf5ddd10264d2bbfaba81ed177958807989a13d9f6817bf0a61f5
|
7
|
+
data.tar.gz: c732cc363086951ba87cf7844e2b513cec859b0dbda7d1103cc92c23c5872685883e8eeb3ba147924f4694a3e5a3327d864b06c518fb127c8f5a54e522c90fab
|
File without changes
|
@@ -29,7 +29,8 @@ Entonces(/^(?:verifico|valido) que el precio del seguro se muestre correctamente
|
|
29
29
|
price_detail=@page.precio_seguro_desglose_element.span(:class,'amount').text.gsub(/\.|\,/,'')
|
30
30
|
price_assistance=@page.precio_seguro_element.text.gsub(/\.|\,/,'')
|
31
31
|
dias = (@page.manage_data.date_to_1 - @page.manage_data.date_from_1).to_i + 1
|
32
|
-
price_detail.to_i
|
32
|
+
precio_por_dia = price_detail.to_i / dias
|
33
|
+
precio_por_dia.to_i.should be_within(3).of(price_assistance.to_i / (@page.manage_data.adt+@page.manage_data.cnn+@page.manage_data.inf))
|
33
34
|
end
|
34
35
|
|
35
36
|
Cuando(/^muestro el popup de la cobertura completa$/) do
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
Entonces(/^se visualiza la opcion de comprar$/) do
|
3
|
+
|
4
|
+
end
|
5
|
+
|
6
|
+
Entonces(/^el precio es la suma de ambos tramos elegidos sin taxes$/) do
|
7
|
+
|
8
|
+
end
|
9
|
+
|
10
|
+
Entonces(/^se visualiza el precio final siendo la suma de ambas reservas con los taxes incluidos$/) do
|
11
|
+
|
12
|
+
end
|
13
|
+
|
14
|
+
Entonces(/^se visualizan los dos itinerarios internamente enlazados$/) do
|
15
|
+
|
16
|
+
end
|
17
|
+
|
18
|
+
Entonces(/^no se visualiza la posibilidad de ingresar cupones de descuentos$/) do
|
19
|
+
|
20
|
+
end
|
21
|
+
|
22
|
+
Entonces(/^en el resultado de busqueda no se visualiza la opcion "([^"]*)"$/) do |arg1|
|
23
|
+
|
24
|
+
end
|
25
|
+
|
26
|
+
Entonces(/^es posible ordenar el listado por aerolinea, horario y escalas$/) do
|
27
|
+
|
28
|
+
end
|
29
|
+
|
30
|
+
Entonces(/^elijo la opcion ida y vuelta separada$/) do
|
31
|
+
@page.opcion_ida_separada_element.click
|
32
|
+
end
|
33
|
+
|
34
|
+
Entonces(/^espero que termine de cargar la pagina ida y vuelta separada$/) do
|
35
|
+
Watir::Wait.until(timeout=200){@page.url.match("multipleoneway")}
|
36
|
+
@page.barra_progreso_element.when_not_visible(timeout=200)
|
37
|
+
@page.mini_cluster_element.when_visible(timeout = 200)
|
38
|
+
@page.caja_ida_element.when_visible(timeout = 10)
|
39
|
+
puts "URL: #{@page.url}"
|
40
|
+
end
|
41
|
+
|
42
|
+
Entonces(/^cargo los itinerarios$/) do
|
43
|
+
@page.cargar_itinerarios
|
44
|
+
end
|
45
|
+
|
46
|
+
Cuando(/^elijo una opcion de ida$/) do
|
47
|
+
@page.elegir(0)
|
48
|
+
end
|
49
|
+
|
50
|
+
Cuando(/^elijo una opcion de vuelta$/) do
|
51
|
+
@page.elegir(0)
|
52
|
+
end
|
53
|
+
|
54
|
+
Entonces(/^valido que se muestre en la caja de ida$/) do
|
55
|
+
@page.caja_ida_seleccionada_element.when_visible(timeout=5)
|
56
|
+
@page.carga_fecha_ida_separada_element.when_not_visible(timeout=15)
|
57
|
+
end
|
58
|
+
|
59
|
+
Entonces(/^valido que se muestre en la caja de vuelta$/) do
|
60
|
+
@page.caja_vuelta_seleccionada_element.when_visible(timeout=5)
|
61
|
+
@page.carga_fecha_ida_separada_element.when_not_visible(timeout=15)
|
62
|
+
end
|
63
|
+
|
64
|
+
Entonces(/^paso al checkout$/) do
|
65
|
+
@page.boton_comprar_element.click
|
66
|
+
end
|
@@ -19,7 +19,7 @@ end
|
|
19
19
|
|
20
20
|
Cuando(/^elijo un itinerario y paso a checkout$/) do
|
21
21
|
@page.cargar_itinerarios
|
22
|
-
@index, permitida = @page.sanear_itinerarios(
|
22
|
+
@index, permitida = @page.sanear_itinerarios($aerolineas_prohibidas)
|
23
23
|
pending("No se encontraron vuelos de aerolineas permitidas") unless permitida
|
24
24
|
step "cierro popups"
|
25
25
|
begin
|
@@ -35,7 +35,7 @@ end
|
|
35
35
|
|
36
36
|
Cuando(/^elijo un itinerario del proveedor "(.*)" y paso a checkout$/) do |prov|
|
37
37
|
@page.cargar_itinerarios
|
38
|
-
@index, permitida = @page.sanear_itinerarios(
|
38
|
+
@index, permitida = @page.sanear_itinerarios($aerolineas_prohibidas)
|
39
39
|
pending("No se encontraron vuelos de aerolineas permitidas") unless permitida
|
40
40
|
step "cierro popups"
|
41
41
|
@itinerario_resultados = @page.elegir_itinerario(@index)
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
module NewCheckout
|
3
|
+
class MultipleonewayCluster < NewCheckout::Cluster
|
4
|
+
attr_accessor :ida, :vuelta, :tarifas, :idas, :vueltas
|
5
|
+
|
6
|
+
def cargar_precios(html)
|
7
|
+
byebug
|
8
|
+
@tarifas = Hash.new
|
9
|
+
|
10
|
+
@tarifas["ida"] = cargar_precio_tramo((html/"div.fare-detail-wrappers div.fare-detail-wrapper").first)
|
11
|
+
@tarifas["vuelta"]= cargar_precio_tramo((html/"div.fare-detail-wrappers div.fare-detail-wrapper").last)
|
12
|
+
|
13
|
+
@tarifas['total'] = (html/"span#total-price").first ? Price.new((html/"span#total-price").first.inner_text.strip.gsub(',','.')) : Price.new("$ 0",true)
|
14
|
+
end
|
15
|
+
|
16
|
+
def cargar_precio_tramo(html)
|
17
|
+
tarifa_tramo = Hash.new
|
18
|
+
tarifa_tramo['adt'] = Price.new((html/"li.adult_fare span.price-currency").first.inner_text.strip.gsub(',','.'))
|
19
|
+
tarifa_tramo['cnn'] = (html/"li.child_fare").first ? Price.new((html/"li.child_fare span.price-currency").first.inner_text.strip.gsub(',','.')) : Price.new("$ 0",true)
|
20
|
+
tarifa_tramo['inf'] = (html/"li.infant_fare").first ? Price.new((html/"li.infant_fare span.price-currency").first.inner_text.strip.gsub(',','.')) : Price.new("$ 0",true)
|
21
|
+
tarifa_tramo['tasas'] = (html/"li.taxes").first ? Price.new((html/"li.taxes span.price-currency").first.inner_text.strip.gsub(',','.')) : Price.new("$ 0",true)
|
22
|
+
tarifa_tramo['cargos'] = (html/"li.charges").first ? Price.new((html/"li.charges span.price-currency").first.inner_text.strip.gsub(',','.')) : Price.new("$ 0",true)
|
23
|
+
tarifa_tramo['afip'] = (html/"li.tax_afip").first ? Price.new((html/"li.tax_afip span.price-currency").first.inner_text.strip.gsub(',','.')) : Price.new("$ 0",true)
|
24
|
+
tarifa_tramo['encargos'] = (html/"li.service_taxes").first ? Price.new((html/"li.service_taxes span.price-currency").first.inner_text.strip.gsub(',','.')) : Price.new("$ 0",true)
|
25
|
+
tarifa_tramo['seguros'] = (html/"li.destination_service_insurance").first ? Price.new((html/"li.destination_service_insurance span.price-currency").first.inner_text.strip.gsub(',','.')) : Price.new("$ 0",true)
|
26
|
+
tarifa_tramo['descuento'] = (html/"li.payment_discount").first ? Price.new((html/"li.payment_discount span.price-currency span.currency").first.inner_text.strip.gsub(',','.')+" "+((html/"li.payment_discount span.price-currency span.amount").first.inner_text.strip.gsub(/\D/,'').to_i*-1).to_s) : Price.new("$ 0",true)
|
27
|
+
return tarifa_tramo
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
@@ -9,5 +9,6 @@ require_relative 'results/mini_cluster'
|
|
9
9
|
require_relative 'checkout/old_cluster'
|
10
10
|
require_relative 'checkout/new_cluster'
|
11
11
|
require_relative 'checkout/render_cluster'
|
12
|
+
require_relative 'checkout/multipleoneway_cluster'
|
12
13
|
require_relative 'thanks/cluster'
|
13
14
|
require_relative 'landing/cluster'
|
data/features/support/env.rb
CHANGED
@@ -47,6 +47,7 @@ require_relative 'modules/results/matrix/matrix_airline'
|
|
47
47
|
require_relative 'modules/results/matrix/matrix_price'
|
48
48
|
require_relative 'modules/results/matrix/matrix_fare_chart'
|
49
49
|
require_relative 'modules/results/itineraries'
|
50
|
+
require_relative 'modules/results/multipleoneway'
|
50
51
|
|
51
52
|
require_relative 'modules/checkout/checkout'
|
52
53
|
|
@@ -78,6 +79,8 @@ end
|
|
78
79
|
$ENV = $HENRY_PARAMS['env']
|
79
80
|
|
80
81
|
$date = Dater::Resolver.new("%Y-%m-%d","es")
|
82
|
+
$aerolineas_prohibidas = ["DL", "AA", "US", "LA", "4M", "LP", "XL"]
|
83
|
+
|
81
84
|
|
82
85
|
@@error_navegador = nil
|
83
86
|
reintentos = 2
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
module Results
|
3
3
|
|
4
|
-
module
|
4
|
+
module Multipleoneway
|
5
5
|
|
6
6
|
include PageObject
|
7
7
|
|
@@ -15,14 +15,21 @@ module Results
|
|
15
15
|
link(:ordenamiento_duracion,:css=>".time .change-order")
|
16
16
|
link(:ordenamiento_precio,:css=>".price .change-order")
|
17
17
|
|
18
|
+
link(:boton_comprar,:css=>".price-item .multipleoneway-buy")
|
19
|
+
|
18
20
|
div(:carga_fecha_ida_separada,:id=>"update-message")
|
21
|
+
div(:mini_cluster,:css=>"#clusters .cluster")
|
19
22
|
|
20
23
|
elements(:lista_de_fechas,:li,:css=>".multipleoneway-dates li.date-item")
|
21
24
|
elements(:lista_de_fechas_con_precio,:li,:css=>".multipleoneway-dates li.with-price")
|
25
|
+
elements(:itinerarios, :div, :css=>"#clusters .cluster")
|
22
26
|
|
23
27
|
li(:fecha_seleccionada,:css=>".multipleoneway-dates li.current")
|
24
28
|
li(:caja_ida,:css=>".departure-item")
|
25
29
|
li(:caja_vuelta,:css=>".arrival-item")
|
30
|
+
li(:caja_ida_seleccionada,:class=>"multipleoneway-selector-item departure-item selected")
|
31
|
+
li(:caja_vuelta_seleccionada,:class=>"multipleoneway-selector-item arrival-item selected")
|
32
|
+
li(:caja_precio,:class=>"multipleoneway-selector-item price-item visible")
|
26
33
|
|
27
34
|
div(:clusters,:id=>"clusters")
|
28
35
|
|
@@ -38,13 +45,18 @@ module Results
|
|
38
45
|
fecha_seleccionada_element
|
39
46
|
end
|
40
47
|
|
41
|
-
def
|
48
|
+
def cargar_itinerarios
|
42
49
|
@clusters = []
|
43
50
|
doc=Hpricot.parse(clusters_element.html)
|
44
51
|
(doc/"div.cluster").each_with_index do |cluster,i|
|
45
52
|
@clusters << Results::MiniCluster.new(cluster,i)
|
46
53
|
end
|
47
54
|
end
|
48
|
-
|
55
|
+
|
56
|
+
def elegir(index)
|
57
|
+
boton_comprar = itinerarios_elements[index].links(:class,/buy/).select{|boton| boton.present?}
|
58
|
+
boton_comprar.first.click
|
59
|
+
end
|
60
|
+
|
49
61
|
end
|
50
62
|
end
|
@@ -37,6 +37,7 @@ module Checkout
|
|
37
37
|
div(:protegido,:css=>"#upselling-success")
|
38
38
|
div(:desprotegido,:css=>"#upselling-warning")
|
39
39
|
div(:aviso_ingresos_brutos,:id=>"local-taxes-advice")
|
40
|
+
div(:cluster_doble,:class=>"price-info collapsable partial")
|
40
41
|
|
41
42
|
radio_button(:opcion_no_seguro, :id=>"upselling-radios-1")
|
42
43
|
radio_button(:opcion_si_seguro, :id=>"upselling-radios-0")
|
@@ -61,7 +62,11 @@ module Checkout
|
|
61
62
|
p(:id_reserva_compra_duplicada,:css=>"#popup-duplicated-transaction .paragraph")
|
62
63
|
|
63
64
|
def datos_itinerario()
|
64
|
-
|
65
|
+
if cluster_doble_element.present?
|
66
|
+
return NewCheckout::MultipleonewayCluster.new(tipo_de_busqueda,Hpricot.parse(itinerario_element.html))
|
67
|
+
else
|
68
|
+
return NewCheckout::Cluster.new(tipo_de_busqueda,Hpricot.parse(itinerario_element.html))
|
69
|
+
end
|
65
70
|
end
|
66
71
|
|
67
72
|
def opcion_seguros(opcion)
|
@@ -12,6 +12,7 @@ module Results
|
|
12
12
|
include Results::Filters
|
13
13
|
include Results::Recommendation
|
14
14
|
include Results::WishList
|
15
|
+
include Results::Multipleoneway
|
15
16
|
|
16
17
|
div(:filtros_error , :id=>"filters-error")
|
17
18
|
div(:resultados_error, :id=>"results-error")
|
@@ -147,7 +148,7 @@ module Results
|
|
147
148
|
end
|
148
149
|
|
149
150
|
def datos_itinerario()
|
150
|
-
index, permitida = sanear_itinerarios(
|
151
|
+
index, permitida = sanear_itinerarios($aerolineas_prohibidas)
|
151
152
|
@datos_de_itinerarios[index]
|
152
153
|
end
|
153
154
|
|
data/features/support/version.rb
CHANGED
@@ -0,0 +1,63 @@
|
|
1
|
+
#language: es
|
2
|
+
@results
|
3
|
+
Característica: results.multipleoneway
|
4
|
+
Se verifica la correcta carga y funcionamiento de la pagina de resultados
|
5
|
+
|
6
|
+
@multipleoneway
|
7
|
+
Esquema del escenario: Smoke TEST para la opcion de ida y vuelta separada
|
8
|
+
Dado como un usuario de '<pais>'
|
9
|
+
* ingreso una busqueda '<tipo>' del tipo '<cabotage>'
|
10
|
+
Cuando realizo la busqueda
|
11
|
+
Entonces verifico que la pagina no rompa
|
12
|
+
Cuando espero que termine de cargar la pagina de resultados
|
13
|
+
Cuando ingreso a resultados con cookie "showMultipleoneway" al "1"
|
14
|
+
Y verifico que traiga resultados
|
15
|
+
Entonces elijo la opcion ida y vuelta separada
|
16
|
+
Y espero que termine de cargar la pagina ida y vuelta separada
|
17
|
+
Y cierro popups
|
18
|
+
Entonces cargo los itinerarios
|
19
|
+
Cuando elijo una opcion de ida
|
20
|
+
Entonces valido que se muestre en la caja de ida
|
21
|
+
Y elijo una opcion de vuelta
|
22
|
+
Entonces valido que se muestre en la caja de vuelta
|
23
|
+
Entonces paso al checkout
|
24
|
+
Entonces verifico que la pagina no rompa
|
25
|
+
Y espero que termine de cargar la pagina de checkout
|
26
|
+
Y verifico que ingrese al checkout
|
27
|
+
Entonces si existe la opcion de cobertura, elijo "no_chequear" si quiero cobertura
|
28
|
+
#Y si el site es "MX", valido que no se muestre la leyenda de tarifas en pesos
|
29
|
+
Y valido los valores del desglose del checkout
|
30
|
+
Y verifico el pixel de Efrontier
|
31
|
+
Y verifico el pixel de trackeame en checkout
|
32
|
+
Y valido que no se muestre la leyenda de seguro gratis en el desglose
|
33
|
+
Y si el site es "AR", verifico el tag de remarketing de facebook
|
34
|
+
Entonces si el site no es "CL", verifico que los precios de las cuotas se muestran correctamente
|
35
|
+
Y verifico que se muestren la caja de clientes felices
|
36
|
+
Y verifico que se muestren las reviews de aerolineas
|
37
|
+
Entonces cargo los pasajeros
|
38
|
+
Y cargo los datos de la tarjeta
|
39
|
+
Y si el site es "AR|MX|PE|EC", cargo los datos de facturacion
|
40
|
+
Y cargo los datos de contacto
|
41
|
+
Y verifico que los datos cargados sean mostrados correctamente al lado del boton comprar
|
42
|
+
Cuando acepto y compro
|
43
|
+
Entonces espero que termine el pedido de compra
|
44
|
+
Y verifico si no trae errores
|
45
|
+
Entonces si aparece el popup de no disponibilidad, elijo un itinerario del popup de no disponibilidad
|
46
|
+
Entonces espero que termine de cargar la pagina de gracias
|
47
|
+
Y verifico que ingrese a la pagina de gracias
|
48
|
+
Y verifico el link de mi despegar
|
49
|
+
Y verifico el popup de asistencia al viajero
|
50
|
+
Y verifico los datos del vuelo comprado
|
51
|
+
Y verifico los valores del desglose en gracias contra los del checkout
|
52
|
+
Y verifico el tag de datalayer
|
53
|
+
Y verifico el pixel de Efrontier
|
54
|
+
Y verifico el pixel de trackeame en gracias
|
55
|
+
#Y verifico los datos de la reserva enviados a fenix
|
56
|
+
Y cancelo la reserva en el proveedor
|
57
|
+
|
58
|
+
@br
|
59
|
+
@roundtrip
|
60
|
+
Ejemplos:
|
61
|
+
|pais|tipo|cabotage|
|
62
|
+
|BR |roundtrip|nil|
|
63
|
+
|
data/flights_gui_tests.gemspec
CHANGED
data/henry-context.yml
CHANGED
@@ -942,22 +942,6 @@ tasks:
|
|
942
942
|
recipients:
|
943
943
|
- estebanldh@gmail.com
|
944
944
|
- nsimean@despegar.com
|
945
|
-
- name: results.search.ve.multipledestinations
|
946
|
-
class_name: Henry::Task::CucumberTask
|
947
|
-
options:
|
948
|
-
tags:
|
949
|
-
- results
|
950
|
-
- search
|
951
|
-
- ve
|
952
|
-
- multipledestinations
|
953
|
-
expand: true
|
954
|
-
no-source: true
|
955
|
-
reports:
|
956
|
-
- format: html
|
957
|
-
name: ${DATE}_${TASK_NAME}.html
|
958
|
-
recipients:
|
959
|
-
- estebanldh@gmail.com
|
960
|
-
- nsimean@despegar.com
|
961
945
|
- name: results.disambiguation_airports
|
962
946
|
class_name: Henry::Task::CucumberTask
|
963
947
|
options:
|
@@ -2544,6 +2528,51 @@ tasks:
|
|
2544
2528
|
recipients:
|
2545
2529
|
- estebanldh@gmail.com
|
2546
2530
|
- nsimean@despegar.com
|
2531
|
+
- name: results.multipleoneway
|
2532
|
+
class_name: Henry::Task::CucumberTask
|
2533
|
+
options:
|
2534
|
+
tags:
|
2535
|
+
- results
|
2536
|
+
- multipleoneway
|
2537
|
+
expand: true
|
2538
|
+
no-source: true
|
2539
|
+
reports:
|
2540
|
+
- format: html
|
2541
|
+
name: ${DATE}_${TASK_NAME}.html
|
2542
|
+
recipients:
|
2543
|
+
- estebanldh@gmail.com
|
2544
|
+
- nsimean@despegar.com
|
2545
|
+
- name: results.multipleoneway.pe
|
2546
|
+
class_name: Henry::Task::CucumberTask
|
2547
|
+
options:
|
2548
|
+
tags:
|
2549
|
+
- results
|
2550
|
+
- multipleoneway
|
2551
|
+
- pe
|
2552
|
+
expand: true
|
2553
|
+
no-source: true
|
2554
|
+
reports:
|
2555
|
+
- format: html
|
2556
|
+
name: ${DATE}_${TASK_NAME}.html
|
2557
|
+
recipients:
|
2558
|
+
- estebanldh@gmail.com
|
2559
|
+
- nsimean@despegar.com
|
2560
|
+
- name: results.multipleoneway.pe.roundtrip
|
2561
|
+
class_name: Henry::Task::CucumberTask
|
2562
|
+
options:
|
2563
|
+
tags:
|
2564
|
+
- results
|
2565
|
+
- multipleoneway
|
2566
|
+
- pe
|
2567
|
+
- roundtrip
|
2568
|
+
expand: true
|
2569
|
+
no-source: true
|
2570
|
+
reports:
|
2571
|
+
- format: html
|
2572
|
+
name: ${DATE}_${TASK_NAME}.html
|
2573
|
+
recipients:
|
2574
|
+
- estebanldh@gmail.com
|
2575
|
+
- nsimean@despegar.com
|
2547
2576
|
- name: results.itineraries
|
2548
2577
|
class_name: Henry::Task::CucumberTask
|
2549
2578
|
options:
|
@@ -11931,22 +11960,6 @@ tasks:
|
|
11931
11960
|
recipients:
|
11932
11961
|
- estebanldh@gmail.com
|
11933
11962
|
- nsimean@despegar.com
|
11934
|
-
- name: checkout.error_messages.ve.multipledestinations
|
11935
|
-
class_name: Henry::Task::CucumberTask
|
11936
|
-
options:
|
11937
|
-
tags:
|
11938
|
-
- checkout
|
11939
|
-
- error_messages
|
11940
|
-
- ve
|
11941
|
-
- multipledestinations
|
11942
|
-
expand: true
|
11943
|
-
no-source: true
|
11944
|
-
reports:
|
11945
|
-
- format: html
|
11946
|
-
name: ${DATE}_${TASK_NAME}.html
|
11947
|
-
recipients:
|
11948
|
-
- estebanldh@gmail.com
|
11949
|
-
- nsimean@despegar.com
|
11950
11963
|
- name: checkout.error_messages.br
|
11951
11964
|
class_name: Henry::Task::CucumberTask
|
11952
11965
|
options:
|
@@ -13288,22 +13301,6 @@ tasks:
|
|
13288
13301
|
recipients:
|
13289
13302
|
- estebanldh@gmail.com
|
13290
13303
|
- nsimean@despegar.com
|
13291
|
-
- name: checkout.book_ok.ve.multipledestinations
|
13292
|
-
class_name: Henry::Task::CucumberTask
|
13293
|
-
options:
|
13294
|
-
tags:
|
13295
|
-
- checkout
|
13296
|
-
- book_ok
|
13297
|
-
- ve
|
13298
|
-
- multipledestinations
|
13299
|
-
expand: true
|
13300
|
-
no-source: true
|
13301
|
-
reports:
|
13302
|
-
- format: html
|
13303
|
-
name: ${DATE}_${TASK_NAME}.html
|
13304
|
-
recipients:
|
13305
|
-
- estebanldh@gmail.com
|
13306
|
-
- nsimean@despegar.com
|
13307
13304
|
- name: checkout.book_ok.br
|
13308
13305
|
class_name: Henry::Task::CucumberTask
|
13309
13306
|
options:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flights_gui_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lgonzalez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: henry-container
|
@@ -206,6 +206,20 @@ dependencies:
|
|
206
206
|
- - ">="
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: parallel_tests
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :runtime
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
209
223
|
- !ruby/object:Gem::Dependency
|
210
224
|
name: geminabox
|
211
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -244,8 +258,8 @@ files:
|
|
244
258
|
- features/step_definitions/checkout/ingresos_brutos.rb
|
245
259
|
- features/step_definitions/checkout/last_minutes_steps.rb
|
246
260
|
- features/step_definitions/checkout/load_steps.rb
|
261
|
+
- features/step_definitions/checkout/multipleoneway_steps.rb
|
247
262
|
- features/step_definitions/checkout/price_jump_steps.rb
|
248
|
-
- features/step_definitions/checkout/two_oneway_steps.rb
|
249
263
|
- features/step_definitions/checkout/upselling_steps.rb
|
250
264
|
- features/step_definitions/checkout/verifications_steps.rb
|
251
265
|
- features/step_definitions/conditional_steps.rb
|
@@ -265,17 +279,18 @@ files:
|
|
265
279
|
- features/step_definitions/results/filters_steps.rb
|
266
280
|
- features/step_definitions/results/load_steps.rb
|
267
281
|
- features/step_definitions/results/matrix_steps.rb
|
282
|
+
- features/step_definitions/results/multipleoneway_steps.rb
|
268
283
|
- features/step_definitions/results/new_filters_steps.rb
|
269
284
|
- features/step_definitions/results/order_steps.rb
|
270
285
|
- features/step_definitions/results/pagination_steps.rb
|
271
286
|
- features/step_definitions/results/recommendation_steps.rb
|
272
287
|
- features/step_definitions/results/results_steps.rb
|
273
288
|
- features/step_definitions/results/reviews_steps.rb
|
274
|
-
- features/step_definitions/results/two_oneway_steps.rb
|
275
289
|
- features/step_definitions/results/wish_list_steps.rb
|
276
290
|
- features/step_definitions/tags_steps.rb
|
277
291
|
- features/step_definitions/thanks/load_steps.rb
|
278
292
|
- features/step_definitions/thanks/thanks_steps.rb
|
293
|
+
- features/support/classes/checkout/multipleoneway_cluster.rb
|
279
294
|
- features/support/classes/checkout/new_cluster.rb
|
280
295
|
- features/support/classes/checkout/old_cluster.rb
|
281
296
|
- features/support/classes/checkout/render_cluster.rb
|
@@ -304,6 +319,7 @@ files:
|
|
304
319
|
- features/support/modules/checkout/new_checkout/errores.rb
|
305
320
|
- features/support/modules/checkout/new_checkout/fast_checkout.rb
|
306
321
|
- features/support/modules/checkout/new_checkout/informacion_de_contacto.rb
|
322
|
+
- features/support/modules/checkout/new_checkout/multipleoneway.rb
|
307
323
|
- features/support/modules/checkout/new_checkout/pasajeros.rb
|
308
324
|
- features/support/modules/checkout/new_checkout/popup.rb
|
309
325
|
- features/support/modules/checkout/new_checkout/reviews.rb
|
@@ -332,9 +348,9 @@ files:
|
|
332
348
|
- features/support/modules/results/matrix/matrix_airline.rb
|
333
349
|
- features/support/modules/results/matrix/matrix_fare_chart.rb
|
334
350
|
- features/support/modules/results/matrix/matrix_price.rb
|
351
|
+
- features/support/modules/results/multipleoneway.rb
|
335
352
|
- features/support/modules/results/recommendation.rb
|
336
353
|
- features/support/modules/results/search_params.rb
|
337
|
-
- features/support/modules/results/two_oneway.rb
|
338
354
|
- features/support/modules/results/wish_list.rb
|
339
355
|
- features/support/pages/all_pages.rb
|
340
356
|
- features/support/pages/checkout/checkout_page.rb
|
@@ -395,6 +411,7 @@ files:
|
|
395
411
|
- features/tests/results/matrix/matrix_airlines.feature
|
396
412
|
- features/tests/results/matrix/matrix_fare_chart.feature
|
397
413
|
- features/tests/results/matrix/matrix_price.feature
|
414
|
+
- features/tests/results/multipleoneway.feature
|
398
415
|
- features/tests/results/orders.feature
|
399
416
|
- features/tests/results/pagination.feature
|
400
417
|
- features/tests/results/recommendation.feature
|
@@ -1,28 +0,0 @@
|
|
1
|
-
# -*- encoding : utf-8 -*-
|
2
|
-
Entonces(/^se visualiza la opcion de comprar$/) do
|
3
|
-
|
4
|
-
end
|
5
|
-
|
6
|
-
Entonces(/^el precio es la suma de ambos tramos elegidos sin taxes$/) do
|
7
|
-
|
8
|
-
end
|
9
|
-
|
10
|
-
Entonces(/^se visualiza el precio final siendo la suma de ambas reservas con los taxes incluidos$/) do
|
11
|
-
|
12
|
-
end
|
13
|
-
|
14
|
-
Entonces(/^se visualizan los dos itinerarios internamente enlazados$/) do
|
15
|
-
|
16
|
-
end
|
17
|
-
|
18
|
-
Entonces(/^no se visualiza la posibilidad de ingresar cupones de descuentos$/) do
|
19
|
-
|
20
|
-
end
|
21
|
-
|
22
|
-
Entonces(/^en el resultado de busqueda no se visualiza la opcion "([^"]*)"$/) do |arg1|
|
23
|
-
|
24
|
-
end
|
25
|
-
|
26
|
-
Entonces(/^es posible ordenar el listado por aerolinea, horario y escalas$/) do
|
27
|
-
|
28
|
-
end
|