flights_gui_tests 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/features/step_definitions/checkout/load_steps.rb +1 -1
- data/features/step_definitions/checkout/upselling_steps.rb +1 -1
- data/features/support/classes/checkout/new_cluster.rb +5 -1
- data/features/support/modules/checkout/new_checkout/tarjeta.rb +1 -1
- data/features/support/modules/checkout/old_checkout/tarjeta.rb +1 -1
- data/features/support/pages/checkout/checkout_page/new_checkout_page.rb +1 -0
- data/flights_gui_tests.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44c48df70c94c8dce2b6758fbe8dd539e319af91
|
4
|
+
data.tar.gz: 2bb6362c24e737e4c7055ebf5c76710a008d8e84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad2ce88902a5aa10e2a92284c34a7c9cf86adb07508bdb5001095145abac5313e111ba0498640a9f394f8754af744e493711b51e6d8919a4fd33b4fec2f8d102
|
7
|
+
data.tar.gz: 145313e318889651189def24470f9afba94e2fb2a1e04e8d4cdba55b143c2d5ec6d89d4f1dd3d81f3b95aac8d0f24d4331d25c07e92ddf1d0653b88c952c83fa
|
@@ -88,7 +88,7 @@ Cuando(/^ingreso al checkout con cookie "(.*?)" al "(.*?)"/) do |name,value|
|
|
88
88
|
step "espero que termine de cargar la pagina de resultados"
|
89
89
|
step "elijo un itinerario y paso a checkout"
|
90
90
|
step "verifico que la pagina no rompa"
|
91
|
-
step "espero que termine de cargar la
|
91
|
+
step "espero que termine de cargar la pagina de checkout"
|
92
92
|
step "verifico que ingrese al checkout"
|
93
93
|
end
|
94
94
|
|
@@ -39,7 +39,7 @@ end
|
|
39
39
|
Entonces(/^(?:verifico|valido) que se muestre correctamente el popup de la cobertura completa para destino "(.*?)"$/) do |destino|
|
40
40
|
popup = @page.popup_cobertura_element
|
41
41
|
popup.div(:class,'coverage').should visible("Contenido del popup")
|
42
|
-
popup.text.should match_sensitive("ASSIST
|
42
|
+
popup.text.should match_sensitive("ASSIST-CARD")
|
43
43
|
popup.div(:class,'coverage').span(:class,'upselling-coverage-cell upselling-coverage-code').should visible("Contenido del popup Codigos")
|
44
44
|
popup.div(:class,'coverage').span(:class,'upselling-coverage-cell upselling-coverage-title').should visible("Contenido del popup Descripcion")
|
45
45
|
popup.div(:class,'coverage').span(:class,'upselling-coverage-cell upselling-coverage-value').should visible("Contenido del popup Values")
|
@@ -56,7 +56,11 @@ module NewCheckout
|
|
56
56
|
|
57
57
|
def cargar_precios(html)
|
58
58
|
@tarifas = Hash.new
|
59
|
-
|
59
|
+
if (html/"div.adult-price span.price-currency").first
|
60
|
+
@tarifas['tarifa_adulto'] = Price.new((html/"div.adult-price span.price-currency").first.inner_text.strip)
|
61
|
+
else
|
62
|
+
@tarifas['tarifa_adulto'] = Price.new((html/"div.adult-price-conversion span#local-currency").first.inner_text.strip)
|
63
|
+
end
|
60
64
|
@tarifas['adt'] = Price.new((html/"li.adult_fare span.price-currency").first.inner_text.strip)
|
61
65
|
@tarifas['cnn'] = (html/"li.child_fare").first ? Price.new((html/"li.child_fare span.price-currency").first.inner_text.strip) : Price.new("$ 0",true)
|
62
66
|
@tarifas['inf'] = (html/"li.infant_fare").first ? Price.new((html/"li.infant_fare span.price-currency").first.inner_text.strip) : Price.new("$ 0",true)
|
@@ -80,7 +80,7 @@ module NewCheckout
|
|
80
80
|
numero_tarjeta_element.set("4012001021000605")
|
81
81
|
codigo_seguridad_tarjeta_element.set("989")
|
82
82
|
mes_vencimiento_tarjeta_element.select('12')
|
83
|
-
ano_vencimiento_tarjeta_element.select('
|
83
|
+
ano_vencimiento_tarjeta_element.select('2015')
|
84
84
|
else
|
85
85
|
tarjeta_element.select "Visa"
|
86
86
|
numero_tarjeta_element.set "4242424242424242"
|
@@ -80,7 +80,7 @@ module Checkout
|
|
80
80
|
numero_tarjeta_element.set("4012001021000605")
|
81
81
|
codigo_seguridad_tarjeta_element.set("989")
|
82
82
|
mes_vencimiento_tarjeta_element.select('12')
|
83
|
-
ano_vencimiento_tarjeta_element.select('
|
83
|
+
ano_vencimiento_tarjeta_element.select('2015')
|
84
84
|
else
|
85
85
|
tarjeta_element.select "Visa"
|
86
86
|
numero_tarjeta_element.set "4242424242424242"
|
@@ -22,6 +22,7 @@ module Checkout
|
|
22
22
|
div(:mensaje_cancelacion,:id=>"cancellation-advice")
|
23
23
|
div(:mensaje_cancelacion_en_el_dia,:id=>"last-minute-advice")
|
24
24
|
div(:mensaje_error_emision_last_minute,:class=>"ux-common-message ux-common-message-error ")
|
25
|
+
link(:link_mensaje_error_emision_last_minute,:css=>".ux-common-message-error a")
|
25
26
|
div(:protegido,:css=>"#upselling-success")
|
26
27
|
div(:desprotegido,:css=>"#upselling-warning")
|
27
28
|
|
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.9.
|
17
|
+
gem.version = '0.9.6' # 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')
|