flights_gui_henry_tests 2.3.6 → 2.3.7
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/step_definitions/checkout/checkout_steps.rb +3 -2
- data/features/step_definitions/checkout/seguros_steps.rb +2 -2
- data/features/step_definitions/filter/matrix_steps.rb +6 -2
- data/features/step_definitions/search/flight_gui_steps.rb +6 -1
- data/features/tests/checkout/chat.feature +4 -4
- data/features/tests/checkout/integration.feature +5 -5
- data/features/tests/checkout/providers.feature +63 -0
- data/features/tests/matrix/matrix_fare_chart.feature +0 -5
- data/features/tests/matrix/matrix_price.feature +2 -2
- data/flights_gui_henry_tests.gemspec +1 -1
- data/henry-context.yml +16 -31
- metadata +3 -3
- data/features/tests/checkout/aij.feature +0 -49
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NTY3MjgwOWIyZTljODcxNWM2NTk0ZmI4MDU4ODE3ZTk1MTc4Mjk4MA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
OTFhMWIzZmU1YzE5NDQwMTk3NjVmMmE5MTk0ZDViMzIxYmFjNzU5OQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
OGE3YWM3YzdkZDQ3OTQ0ZTRhY2E1MGU4ODM5YzdhY2Q2MDEyYzQ5OWIzMGMz
|
|
10
|
+
NTc5YWY2MjA5N2Q2ZjM5YTEyMDRmNzE5YjFjNzNjYTkxNWU5NDg2MzUxOGM4
|
|
11
|
+
NDFiZTY3ZTgwYWUyNWU5NjExZjY5ZmMwNDI0OWEwNjI4ODE2NDE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
YzFkMDc3OTdkZmRkNGI1YWQ3NGZkMWMxZjg2MjNkOWJiNzRhYmQ3ZGViMTZl
|
|
14
|
+
OGUzYWQ3NTFkYmRhM2NhNzYyNWE3ODU2MjJhMzVjNzVmOTE1ZTQxMWRiOGIy
|
|
15
|
+
YjMyYmUyZTE5NTRmMTc3NzUwNzMwYTVhZmU0NjJhMzJjMWIyNTM=
|
|
@@ -188,13 +188,14 @@ end
|
|
|
188
188
|
When /^Verifico que se muestre el banner de cancelacion$/ do
|
|
189
189
|
value = get_abtesting "showFreeCancelMessage"
|
|
190
190
|
data = @search.get_results_search_service
|
|
191
|
-
provider = data["result"]["data"]["items"][0]["provider"]
|
|
191
|
+
provider = @item_json ? @item_json["provider"] : data["result"]["data"]["items"][0]["provider"]
|
|
192
192
|
puts provider
|
|
193
|
+
puts value
|
|
193
194
|
if $SITE=="EC" and value < 0
|
|
194
195
|
BROWSER.div(:id,'cancellation-advice').should visible("banner de cancelacion")
|
|
195
196
|
BROWSER.div(:id,'cancellation-advice').div(:class,'ux-common-message-content').p(:index,0).text.strip.should equal("¡Compre tranquilo!")
|
|
196
197
|
BROWSER.div(:id,'cancellation-advice').div(:class,'ux-common-message-content').p(:index,1).text.no_accents.strip.should equal("Si necesita cancelar su compra puede hacerlo gratis desde Mi Despegar hasta las 22 hs. del dia de hoy.")
|
|
197
|
-
elsif $SITE=="BR" and value <
|
|
198
|
+
elsif $SITE=="BR" and value < 0 and provider=="GDS"
|
|
198
199
|
BROWSER.div(:id,'cancellation-advice').should visible("banner de cancelacion")
|
|
199
200
|
BROWSER.div(:id,'cancellation-advice').div(:class,'ux-common-message-content').p(:index,0).text.strip.should equal("Compre tranquilo! Cancele no mesmo dia sem custo*!")
|
|
200
201
|
BROWSER.div(:id,'cancellation-advice').div(:class,'ux-common-message-content').p(:index,1).text.no_accents.strip.should equal("* Caso necessite cancelar sua compra, voce podera cancelar sem nenhum custo desde MeuDecolar ate as 20 hrs do mesmo dia da compra.")
|
|
@@ -5,7 +5,7 @@ Then /^Verifico que se muestre correctamente la caja de seguro sin chequear$/ do
|
|
|
5
5
|
BROWSER.div(:id,'upselling').link(:class,'coverage').should visible("link de cobertura en la caja de seguro")
|
|
6
6
|
BROWSER.div(:id,'upselling').span(:class,/status unprotected/).should visible("texto de no estoy protegido en la caja de seguro")
|
|
7
7
|
BROWSER.div(:id,'upselling').span(:class,/status unprotected/).text.should match("No estoy protegido")
|
|
8
|
-
BROWSER.div(:id,'upselling').span(:class,"description").text.should match("
|
|
8
|
+
BROWSER.div(:id,'upselling').span(:class,"description").text.should match("ASSISTCARD")
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
When /^Chequeo el seguro$/ do
|
|
@@ -20,7 +20,7 @@ Then /^Verifico que se muestre correctamente la caja de seguro chequeada$/ do
|
|
|
20
20
|
BROWSER.div(:id,'upselling').link(:class,'coverage').should visible("link de cobertura en la caja de seguro")
|
|
21
21
|
BROWSER.div(:id,'upselling').span(:class,/status protected/).should visible("texto de estoy protegido en la caja de seguro")
|
|
22
22
|
BROWSER.div(:id,'upselling').span(:class,/status protected/).text.should match("Estoy protegido")
|
|
23
|
-
BROWSER.div(:id,'upselling').span(:class,"description").text.should match("
|
|
23
|
+
BROWSER.div(:id,'upselling').span(:class,"description").text.should match("ASSISTCARD")
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
When /^Muestro el popup de la cobertura completa$/ do
|
|
@@ -141,13 +141,17 @@ end
|
|
|
141
141
|
And /^Elijo una opcion sin precio en la matriz de precios$/ do
|
|
142
142
|
doc = Hpricot.parse(BROWSER.div(:id,'price-suggestion-matrix').html)
|
|
143
143
|
i = ((doc/"li.price-suggestion-matrix-price-").length/2).to_i
|
|
144
|
-
suggestion = (doc/"li.price-suggestion-matrix-price-")[i]
|
|
144
|
+
suggestion = (doc/"li.price-suggestion-matrix-price-EMPTY")[i]
|
|
145
145
|
@new_outbound = Date.parse(suggestion.attributes["data-outbounddate"])
|
|
146
146
|
@new_inbound = Date.parse(suggestion.attributes["data-inbounddate"])
|
|
147
|
-
BROWSER.div(:id,'price-suggestion-matrix').li(:class=>"price-suggestion-matrix-cell price-suggestion-matrix-price price-suggestion-matrix-price-", :index=>i).click
|
|
147
|
+
BROWSER.div(:id,'price-suggestion-matrix').li(:class=>"price-suggestion-matrix-cell price-suggestion-matrix-price price-suggestion-matrix-price-EMPTY", :index=>i).click
|
|
148
148
|
@search.set_new_date(@new_outbound,@new_inbound)
|
|
149
149
|
end
|
|
150
150
|
|
|
151
|
+
And /^Espero que la matriz de precios termine de cargar$/ do
|
|
152
|
+
Watir::Wait.until(timeout=60){!BROWSER.div(:id,'price-suggestion-matrix').div(:class,'price-suggestion-matrix-overlay').present?}
|
|
153
|
+
end
|
|
154
|
+
|
|
151
155
|
When /^Fuerzo el abztesting de showFareChart al "(.*)"$/ do |value|
|
|
152
156
|
cookie = BROWSER.cookies.to_a.select{|cookie| cookie[:name]=="abzTestingId"}.first
|
|
153
157
|
new_value = cookie[:value].gsub(/#{get_abtesting('showFareChart')}/,value)
|
|
@@ -185,7 +185,7 @@ end
|
|
|
185
185
|
Then /^Verifico que dirija a la pagina de gracias$/ do
|
|
186
186
|
step "Verifico que la pagina no rompa"
|
|
187
187
|
begin
|
|
188
|
-
Watir::Wait.until(timeout = 350){BROWSER.div(:class,'notification-box error-box').present? or BROWSER.span(:class =>'checkout-id').present? or BROWSER.em(:class =>'checkout-id').present? or BROWSER.div(:id =>'popup-new-flight').exist? or BROWSER.span(:class,/error-message/).present? or BROWSER.div(:class, 'notification-box warn-box').present? or BROWSER.div(:class, 'ux-common-error').present?}
|
|
188
|
+
Watir::Wait.until(timeout = 350){BROWSER.div(:id,'popup-price-difference-template').present? or BROWSER.div(:class,'notification-box error-box').present? or BROWSER.span(:class =>'checkout-id').present? or BROWSER.em(:class =>'checkout-id').present? or BROWSER.div(:id =>'popup-new-flight').exist? or BROWSER.span(:class,/error-message/).present? or BROWSER.div(:class, 'notification-box warn-box').present? or BROWSER.div(:class, 'ux-common-error').present?}
|
|
189
189
|
rescue Timeout::Error
|
|
190
190
|
pending("Timeout de 400 segundos al ingresar a la pagina de gracias")
|
|
191
191
|
end
|
|
@@ -199,6 +199,11 @@ Then /^Verifico que dirija a la pagina de gracias$/ do
|
|
|
199
199
|
if BROWSER.div(:class,'notification-box warn-box').present?
|
|
200
200
|
BROWSER.div(:class,'notification-box warn-box').text.strip.no_accents.downcase.should_not match("lo sentimos, el vuelo que eligio no se encuentra disponible")
|
|
201
201
|
end
|
|
202
|
+
if BROWSER.div(:id,'popup-price-difference-template').present?
|
|
203
|
+
puts "Se mostro el popup de cambio de precio"
|
|
204
|
+
BROWSER.div(:id,'popup-price-difference-template').div(:class,'popup-button button-yes').click
|
|
205
|
+
step "Verifico que dirija a la pagina de gracias"
|
|
206
|
+
end
|
|
202
207
|
doc = Hpricot.parse(BROWSER.html)
|
|
203
208
|
errores = (doc/"span.error-message").select{|error| error.attributes['style'].match(/block/)}
|
|
204
209
|
errores.should is_empty
|
|
@@ -15,9 +15,9 @@ Característica: checkout.chat
|
|
|
15
15
|
Entonces verifico que se muestre todo correctamente
|
|
16
16
|
Y Cierro el chat
|
|
17
17
|
|
|
18
|
-
@
|
|
18
|
+
@ar
|
|
19
19
|
Ejemplos:
|
|
20
20
|
|pais|cabotage|tipo|
|
|
21
|
-
|
|
|
22
|
-
|
|
|
23
|
-
|
|
|
21
|
+
|AR|nil|roundtrip|
|
|
22
|
+
|AR|true|oneway|
|
|
23
|
+
|AR|nil|multipledestinations|
|
|
@@ -14,7 +14,7 @@ Característica: checkout.integration
|
|
|
14
14
|
Y Verifico que se muestre el banner de cancelacion
|
|
15
15
|
Y Valido los valores del desglose del checkout
|
|
16
16
|
Y Verifico el pixel de Efrontier
|
|
17
|
-
Y Verifico el pixel de trackeame en checkout
|
|
17
|
+
Y Si el site no es "PR", Verifico el pixel de trackeame en checkout
|
|
18
18
|
Entonces verifico que los precios de las cuotas se muestran correctamente
|
|
19
19
|
Y Verifico que se muestren la caja de clientes felices
|
|
20
20
|
Entonces Completo el formulario de pasajeros
|
|
@@ -28,7 +28,7 @@ Característica: checkout.integration
|
|
|
28
28
|
Entonces Si se muestra el popup de no disponibilidad, elijo otro vuelo
|
|
29
29
|
Entonces Si debo completar de vuelta el formulario, completo el formulario
|
|
30
30
|
Y Verifico que genere id cro
|
|
31
|
-
Y Verifico el pixel de trackeame en gracias
|
|
31
|
+
Y Si el site no es "PR", Verifico el pixel de trackeame en gracias
|
|
32
32
|
Y Verifico el pixel de Efrontier
|
|
33
33
|
Y Verifico el segundo tag de google en resultado de checkout
|
|
34
34
|
Y Levanto los datos del vuelo
|
|
@@ -54,17 +54,17 @@ Característica: checkout.integration
|
|
|
54
54
|
@roundtrip
|
|
55
55
|
Ejemplos:
|
|
56
56
|
|pais|tipo|cabotage|
|
|
57
|
-
|BR |roundtrip|
|
|
57
|
+
|BR |roundtrip|nil|
|
|
58
58
|
@br
|
|
59
59
|
@oneway
|
|
60
60
|
Ejemplos:
|
|
61
61
|
|pais|tipo|cabotage|
|
|
62
|
-
|BR |oneway|
|
|
62
|
+
|BR |oneway|nil|
|
|
63
63
|
@br
|
|
64
64
|
@multipledestinations
|
|
65
65
|
Ejemplos:
|
|
66
66
|
|pais|tipo|cabotage|
|
|
67
|
-
|BR |multipledestinations|
|
|
67
|
+
|BR |multipledestinations|nil|
|
|
68
68
|
@mx
|
|
69
69
|
@roundtrip
|
|
70
70
|
Ejemplos:
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
#language: es
|
|
2
|
+
@checkout
|
|
3
|
+
Característica: checkout.providers
|
|
4
|
+
Se verifica la correcta carga y funcionamiento de la pagina de resultados
|
|
5
|
+
|
|
6
|
+
@providers
|
|
7
|
+
Esquema del escenario: Ingresar a la pagina de resultados
|
|
8
|
+
Cuando Ingreso a la pagina de resultados en "<pais>" para una busqueda "<tipo>" con origen "<from>" y destino "<to>" de tipo "<cabotage>"
|
|
9
|
+
Cuando Espero que termine de cargar
|
|
10
|
+
Entonces Verifico que traiga resultados
|
|
11
|
+
Cuando Elijo un itinerario con proveedor "<prov>" y paso a checkout
|
|
12
|
+
Cuando Verifico que ingrese al checkout
|
|
13
|
+
Y Verifico que se muestre el banner de cancelacion
|
|
14
|
+
Y Verifico el pixel de Efrontier
|
|
15
|
+
Y Verifico el pixel de trackeame en checkout
|
|
16
|
+
Y Verifico el tag de remarketing de facebook
|
|
17
|
+
#Entonces verifico que los precios de las cuotas se muestran correctamente
|
|
18
|
+
#Y Verifico que se muestren la caja de clientes felices
|
|
19
|
+
#Entonces Completo el formulario de pasajeros
|
|
20
|
+
#Y Completo el formulario de tarjeta
|
|
21
|
+
#Y Completo los datos de resolucion AFIP
|
|
22
|
+
#Y Completo los datos de contacto
|
|
23
|
+
#Y Si pide factura fiscal, Completo los campos de factura fiscal
|
|
24
|
+
#Y Realizo la compra
|
|
25
|
+
#Entonces Verifico que dirija a la pagina de gracias
|
|
26
|
+
#Entonces Si el checkout me pide mas datos de tarjeta, lleno los datos de tarjeta adicionales
|
|
27
|
+
#Entonces Si se muestra el popup de no disponibilidad, elijo otro vuelo
|
|
28
|
+
#Entonces Si debo completar de vuelta el formulario, completo el formulario
|
|
29
|
+
#Y Verifico que genere id cro
|
|
30
|
+
#Y Verifico el pixel de trackeame en gracias
|
|
31
|
+
#Y Verifico el pixel de Efrontier
|
|
32
|
+
#Y Verifico el segundo tag de google en resultado de checkout
|
|
33
|
+
#Y Si cumple para pruebas en fenix, Levanto los datos del vuelo
|
|
34
|
+
#Cuando Si cumple para pruebas en fenix, Inicializo las pruebas en fenix
|
|
35
|
+
#Entonces Si cumple para pruebas en fenix, Verifico que las pruebas en fenix esten correctas
|
|
36
|
+
|
|
37
|
+
@us
|
|
38
|
+
Ejemplos:
|
|
39
|
+
|pais|tipo|cabotage|prov|from|to|date_from|date_to|
|
|
40
|
+
|US|roundtrip|true|AIJ|MEX|GDL|2014-02-28|2014-03-17|
|
|
41
|
+
|US|oneway|true|AIJ|MEX|MTY|2014-03-28|2014-04-17|
|
|
42
|
+
|US|roundtrip|true|AIJ|MEX|MTY|2014-03-01|2014-03-15|
|
|
43
|
+
|US|oneway|true|AIJ|MEX|CUN|2014-02-19|2014-02-27|
|
|
44
|
+
@mx
|
|
45
|
+
Ejemplos:
|
|
46
|
+
|pais|tipo|cabotage|prov|from|to|date_from|date_to|
|
|
47
|
+
|MX|roundtrip|true|AIJ|MEX|MTY|2014-02-28|2014-03-17|
|
|
48
|
+
|MX|oneway|true|AIJ|MEX|GDL|2014-03-28|2014-04-17|
|
|
49
|
+
|MX|roundtrip|true|AIJ|MEX|CUN|2014-03-01|2014-03-15|
|
|
50
|
+
|MX|oneway|true|AIJ|MEX|CUN|2014-02-19|2014-02-27|
|
|
51
|
+
@br
|
|
52
|
+
Ejemplos:
|
|
53
|
+
|pais|tipo|cabotage|prov|from|to|
|
|
54
|
+
|BR|roundtrip|nil|GDS|RIO|BUE|
|
|
55
|
+
|BR|oneway|nil|GDS|SAO|BUE|
|
|
56
|
+
|BR|roundtrip|nil|GDS|BUE|RIO|
|
|
57
|
+
|BR|oneway|nil|GDS|MIA|RIO|
|
|
58
|
+
|BR|roundtrip|nil|GDS|SAO|MIA|
|
|
59
|
+
|BR|oneway|nil|GDS|SAO|WAS|
|
|
60
|
+
|BR|roundtrip|nil|GDS|SCL|RIO|
|
|
61
|
+
|BR|oneway|nil|GDS|SAO|BUE|
|
|
62
|
+
|BR|roundtrip|nil|GDS|SAO|BCN|
|
|
63
|
+
|BR|oneway|nil|GDS|BCN|RIO|
|
|
@@ -32,11 +32,6 @@ Característica: matrix.fare_chart
|
|
|
32
32
|
|pais|tipo|from|to|cabotage|
|
|
33
33
|
|BR |roundtrip|bog|mia|nil|
|
|
34
34
|
|BR |oneway|bog|mia|nil|
|
|
35
|
-
@us
|
|
36
|
-
Ejemplos:
|
|
37
|
-
|pais|tipo|from|to|cabotage|
|
|
38
|
-
|US |roundtrip|bog|mia|nil|
|
|
39
|
-
|US |oneway|bog|mia|nil|
|
|
40
35
|
@mx
|
|
41
36
|
Ejemplos:
|
|
42
37
|
|pais|tipo|from|to|cabotage|
|
|
@@ -24,13 +24,13 @@ Característica: matrix.price
|
|
|
24
24
|
Y Verifico que la fechas buscadas sea la central en la matriz de precios
|
|
25
25
|
Y Verifico que el precio mostrado en la matriz sea el primero en los itinerarios
|
|
26
26
|
Y Elijo una opcion sin precio en la matriz de precios
|
|
27
|
+
Entonces Espero que la matriz de precios termine de cargar
|
|
28
|
+
Y Verifico que exista otra fecha con precio en la matriz de precios
|
|
27
29
|
Entonces Espero que termine de cargar
|
|
28
30
|
Y Si no se muestra la matriz de precios, Realizo las busquedas para recargar la matriz
|
|
29
|
-
Entonces Espero que termine de cargar
|
|
30
31
|
Entonces Verifico que se muestre la matriz de precios
|
|
31
32
|
Y Verifico la correcta disposicion de la matriz de precios
|
|
32
33
|
Y Verifico las fechas de la matriz de precios
|
|
33
|
-
Y Verifico que la fechas buscadas sea la central en la matriz de precios
|
|
34
34
|
|
|
35
35
|
@br
|
|
36
36
|
@roundtrip
|
|
@@ -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.7' #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
|
@@ -11541,21 +11541,6 @@ tasks:
|
|
|
11541
11541
|
recipients:
|
|
11542
11542
|
- estebanldh@gmail.com
|
|
11543
11543
|
- nsimean@despegar.com
|
|
11544
|
-
- name: matrix.fare_chart.us
|
|
11545
|
-
class_name: Henry::Task::CucumberTask
|
|
11546
|
-
options:
|
|
11547
|
-
tags:
|
|
11548
|
-
- matrix
|
|
11549
|
-
- fare_chart
|
|
11550
|
-
- us
|
|
11551
|
-
expand: true
|
|
11552
|
-
no-source: true
|
|
11553
|
-
reports:
|
|
11554
|
-
- format: html
|
|
11555
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
11556
|
-
recipients:
|
|
11557
|
-
- estebanldh@gmail.com
|
|
11558
|
-
- nsimean@despegar.com
|
|
11559
11544
|
- name: matrix.fare_chart.mx
|
|
11560
11545
|
class_name: Henry::Task::CucumberTask
|
|
11561
11546
|
options:
|
|
@@ -15970,13 +15955,12 @@ tasks:
|
|
|
15970
15955
|
recipients:
|
|
15971
15956
|
- estebanldh@gmail.com
|
|
15972
15957
|
- nsimean@despegar.com
|
|
15973
|
-
- name: checkout.
|
|
15958
|
+
- name: checkout.chat
|
|
15974
15959
|
class_name: Henry::Task::CucumberTask
|
|
15975
15960
|
options:
|
|
15976
15961
|
tags:
|
|
15977
15962
|
- checkout
|
|
15978
|
-
-
|
|
15979
|
-
- ar
|
|
15963
|
+
- chat
|
|
15980
15964
|
expand: true
|
|
15981
15965
|
no-source: true
|
|
15982
15966
|
reports:
|
|
@@ -15985,12 +15969,13 @@ tasks:
|
|
|
15985
15969
|
recipients:
|
|
15986
15970
|
- estebanldh@gmail.com
|
|
15987
15971
|
- nsimean@despegar.com
|
|
15988
|
-
- name: checkout.
|
|
15972
|
+
- name: checkout.chat.ar
|
|
15989
15973
|
class_name: Henry::Task::CucumberTask
|
|
15990
15974
|
options:
|
|
15991
15975
|
tags:
|
|
15992
15976
|
- checkout
|
|
15993
|
-
-
|
|
15977
|
+
- chat
|
|
15978
|
+
- ar
|
|
15994
15979
|
expand: true
|
|
15995
15980
|
no-source: true
|
|
15996
15981
|
reports:
|
|
@@ -15999,13 +15984,12 @@ tasks:
|
|
|
15999
15984
|
recipients:
|
|
16000
15985
|
- estebanldh@gmail.com
|
|
16001
15986
|
- nsimean@despegar.com
|
|
16002
|
-
- name: checkout.
|
|
15987
|
+
- name: checkout.providers
|
|
16003
15988
|
class_name: Henry::Task::CucumberTask
|
|
16004
15989
|
options:
|
|
16005
15990
|
tags:
|
|
16006
15991
|
- checkout
|
|
16007
|
-
-
|
|
16008
|
-
- us
|
|
15992
|
+
- providers
|
|
16009
15993
|
expand: true
|
|
16010
15994
|
no-source: true
|
|
16011
15995
|
reports:
|
|
@@ -16014,13 +15998,13 @@ tasks:
|
|
|
16014
15998
|
recipients:
|
|
16015
15999
|
- estebanldh@gmail.com
|
|
16016
16000
|
- nsimean@despegar.com
|
|
16017
|
-
- name: checkout.
|
|
16001
|
+
- name: checkout.providers.us
|
|
16018
16002
|
class_name: Henry::Task::CucumberTask
|
|
16019
16003
|
options:
|
|
16020
16004
|
tags:
|
|
16021
16005
|
- checkout
|
|
16022
|
-
-
|
|
16023
|
-
-
|
|
16006
|
+
- providers
|
|
16007
|
+
- us
|
|
16024
16008
|
expand: true
|
|
16025
16009
|
no-source: true
|
|
16026
16010
|
reports:
|
|
@@ -16029,12 +16013,13 @@ tasks:
|
|
|
16029
16013
|
recipients:
|
|
16030
16014
|
- estebanldh@gmail.com
|
|
16031
16015
|
- nsimean@despegar.com
|
|
16032
|
-
- name: checkout.
|
|
16016
|
+
- name: checkout.providers.mx
|
|
16033
16017
|
class_name: Henry::Task::CucumberTask
|
|
16034
16018
|
options:
|
|
16035
16019
|
tags:
|
|
16036
16020
|
- checkout
|
|
16037
|
-
-
|
|
16021
|
+
- providers
|
|
16022
|
+
- mx
|
|
16038
16023
|
expand: true
|
|
16039
16024
|
no-source: true
|
|
16040
16025
|
reports:
|
|
@@ -16043,13 +16028,13 @@ tasks:
|
|
|
16043
16028
|
recipients:
|
|
16044
16029
|
- estebanldh@gmail.com
|
|
16045
16030
|
- nsimean@despegar.com
|
|
16046
|
-
- name: checkout.
|
|
16031
|
+
- name: checkout.providers.br
|
|
16047
16032
|
class_name: Henry::Task::CucumberTask
|
|
16048
16033
|
options:
|
|
16049
16034
|
tags:
|
|
16050
16035
|
- checkout
|
|
16051
|
-
-
|
|
16052
|
-
-
|
|
16036
|
+
- providers
|
|
16037
|
+
- br
|
|
16053
16038
|
expand: true
|
|
16054
16039
|
no-source: true
|
|
16055
16040
|
reports:
|
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.7
|
|
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-
|
|
11
|
+
date: 2014-05-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: henry-container
|
|
@@ -298,8 +298,8 @@ files:
|
|
|
298
298
|
- features/tests/checkout/compras_duplicadas.feature
|
|
299
299
|
- features/tests/checkout/integration.feature
|
|
300
300
|
- features/tests/checkout/cupones.feature
|
|
301
|
-
- features/tests/checkout/aij.feature
|
|
302
301
|
- features/tests/checkout/chat.feature
|
|
302
|
+
- features/tests/checkout/providers.feature
|
|
303
303
|
- features/tests/checkout/seguros.feature
|
|
304
304
|
- features/tests/checkout/button_cac.feature
|
|
305
305
|
- features/tests/checkout/agency.feature
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
#language: es
|
|
2
|
-
@checkout
|
|
3
|
-
Característica: checkout.aij
|
|
4
|
-
Se verifica la correcta carga y funcionamiento de la pagina de resultados
|
|
5
|
-
|
|
6
|
-
@aij
|
|
7
|
-
Esquema del escenario: Ingresar a la pagina de resultados
|
|
8
|
-
Cuando Ingreso a la pagina de resultados en "<pais>" para una busqueda "<tipo>" con salida "<date_from>", regreso "<date_to>", origen "<from>" y destino "<to>" de tipo "<cabotage>"
|
|
9
|
-
Cuando Espero que termine de cargar
|
|
10
|
-
Entonces Verifico que traiga resultados
|
|
11
|
-
Cuando Elijo un itinerario con proveedor "<prov>" y paso a checkout
|
|
12
|
-
Cuando Verifico que ingrese al checkout
|
|
13
|
-
Y Verifico el pixel de Efrontier
|
|
14
|
-
Y Verifico el pixel de trackeame en checkout
|
|
15
|
-
Y Verifico el tag de remarketing de facebook
|
|
16
|
-
Entonces verifico que los precios de las cuotas se muestran correctamente
|
|
17
|
-
Y Verifico que se muestren la caja de clientes felices
|
|
18
|
-
Entonces Completo el formulario de pasajeros
|
|
19
|
-
Y Completo el formulario de tarjeta
|
|
20
|
-
Y Completo los datos de resolucion AFIP
|
|
21
|
-
Y Completo los datos de contacto
|
|
22
|
-
Y Si pide factura fiscal, Completo los campos de factura fiscal
|
|
23
|
-
Y Realizo la compra
|
|
24
|
-
Entonces Verifico que dirija a la pagina de gracias
|
|
25
|
-
Entonces Si el checkout me pide mas datos de tarjeta, lleno los datos de tarjeta adicionales
|
|
26
|
-
Entonces Si se muestra el popup de no disponibilidad, elijo otro vuelo
|
|
27
|
-
Entonces Si debo completar de vuelta el formulario, completo el formulario
|
|
28
|
-
Y Verifico que genere id cro
|
|
29
|
-
Y Verifico el pixel de trackeame en gracias
|
|
30
|
-
Y Verifico el pixel de Efrontier
|
|
31
|
-
Y Verifico el segundo tag de google en resultado de checkout
|
|
32
|
-
#Y Si cumple para pruebas en fenix, Levanto los datos del vuelo
|
|
33
|
-
#Cuando Si cumple para pruebas en fenix, Inicializo las pruebas en fenix
|
|
34
|
-
#Entonces Si cumple para pruebas en fenix, Verifico que las pruebas en fenix esten correctas
|
|
35
|
-
|
|
36
|
-
@us
|
|
37
|
-
Ejemplos:
|
|
38
|
-
|pais|tipo|cabotage|prov|from|to|date_from|date_to|
|
|
39
|
-
|US|roundtrip|true|AIJ|MEX|GDL|2014-02-28|2014-03-17|
|
|
40
|
-
|US|oneway|true|AIJ|MEX|MTY|2014-03-28|2014-04-17|
|
|
41
|
-
|US|roundtrip|true|AIJ|MEX|MTY|2014-03-01|2014-03-15|
|
|
42
|
-
|US|oneway|true|AIJ|MEX|CUN|2014-02-19|2014-02-27|
|
|
43
|
-
@mx
|
|
44
|
-
Ejemplos:
|
|
45
|
-
|pais|tipo|cabotage|prov|from|to|date_from|date_to|
|
|
46
|
-
|MX|roundtrip|true|AIJ|MEX|MTY|2014-02-28|2014-03-17|
|
|
47
|
-
|MX|oneway|true|AIJ|MEX|GDL|2014-03-28|2014-04-17|
|
|
48
|
-
|MX|roundtrip|true|AIJ|MEX|CUN|2014-03-01|2014-03-15|
|
|
49
|
-
|MX|oneway|true|AIJ|MEX|CUN|2014-02-19|2014-02-27|
|