flights_gui_tests 1.1.7 → 1.1.8
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 +1 -0
- data/features/step_definitions/checkout/compra_duplicada_steps.rb +1 -1
- data/features/support/classes/results/old_cluster.rb +10 -6
- data/features/support/modules/checkout/new_checkout/tarjeta.rb +1 -0
- data/features/support/version.rb +1 -1
- data/features/tests/checkout/cash_payment.feature +0 -1
- data/features/tests/checkout/online_payment.feature +0 -1
- data/features/tests/checkout/providers.feature +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2e1a56a638d769d79734b44fe23428ee09ceb5db
|
|
4
|
+
data.tar.gz: 5e232b4ee2b1756371dc72c05af54f8347930968
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a89ca05e7fd2f64cc356f718aabc48f3921d97414dfe4287f24bde73c6a9a66b392a95d1a0689a964e05b18d37336dfacd6659b1ae730ec3364975d00e8ec69
|
|
7
|
+
data.tar.gz: 9c7d70adb68fec87a72aa7d2d85c289723806f99fbcb07c0dfc71fd03448c1ddbd05b9b1187c06927a0ba0a9b83bfd7e815de20987626417c764ed5fc3ac9d08
|
|
@@ -45,6 +45,7 @@ Entonces(/^completo el formulario de pago online$/) do
|
|
|
45
45
|
else
|
|
46
46
|
@page.pago_online.set
|
|
47
47
|
@page.nombre_completo_contacto_element.set("Diego Qa Romero") if @page.nombre_completo_contacto_element.present?
|
|
48
|
+
@page.banco_pago_online_element.select_value("INB") if @page.banco_pago_online_element.present?
|
|
48
49
|
end
|
|
49
50
|
end
|
|
50
51
|
|
|
@@ -10,7 +10,7 @@ Cuando(/^(?:verifico|valido) que se muestre el popup de compra duplicada$/) do
|
|
|
10
10
|
@page.popup_compra_duplicada_element.should visible("popup de compras duplicadas")
|
|
11
11
|
@page.opcion_si_compra_duplicada_element.should visible("boton yes")
|
|
12
12
|
@page.opcion_no_compra_duplicada_element.should visible("boton no")
|
|
13
|
-
@page.popup_compra_duplicada_element.link(:title
|
|
13
|
+
@page.popup_compra_duplicada_element.link(:title,/Minhas reervas|My Bookings|Mis reservas/).should visible("link a mi despegar")
|
|
14
14
|
@page.id_reserva_compra_duplicada_element.text.should match(@id_reserva)
|
|
15
15
|
end
|
|
16
16
|
|
|
@@ -80,12 +80,16 @@ module Results
|
|
|
80
80
|
|
|
81
81
|
@tarifas = Hash.new
|
|
82
82
|
@tarifas['tarifa_adulto_dolar'] = Price.new((p_html/"span.price-currency span.currency").first.inner_text.strip + " " + (p_html/"span.price-currency span.amount").first.inner_text.strip)
|
|
83
|
-
if (p_html/"span[@class='price-currency #{Helpers.currency(AllPages.site)} '] span.currency").first
|
|
84
|
-
@tarifas['tarifa_adulto'] = Price.new(
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
83
|
+
if (p_html/"li.total-price-only span[@class='price-currency #{Helpers.currency(AllPages.site)} '] span.currency").first
|
|
84
|
+
@tarifas['tarifa_adulto'] = Price.new("$ 0",true)
|
|
85
|
+
else
|
|
86
|
+
if (p_html/"span[@class='price-currency #{Helpers.currency(AllPages.site)} '] span.currency").first
|
|
87
|
+
@tarifas['tarifa_adulto'] = Price.new((p_html/"span[@class='price-currency #{Helpers.currency(AllPages.site)} '] span.currency").first.inner_text.strip + " " + (p_html/"span[@class='price-currency #{Helpers.currency(AllPages.site)} '] span.amount").first.inner_text.strip)
|
|
88
|
+
else
|
|
89
|
+
@tarifas['tarifa_adulto'] = @tarifas['tarifa_adulto_dolar']
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
|
|
89
93
|
adt = (p_html/"li").select{|li| li.inner_text.no_accents.downcase =~ /adulto/}.first
|
|
90
94
|
@tarifas['adt'] = adt ? Price.new((adt/"span.currency").first.inner_text.strip + " " + (adt/"span.amount").first.inner_text.strip) : Price.new("$ 0",true)
|
|
91
95
|
|
|
@@ -13,6 +13,7 @@ module NewCheckout
|
|
|
13
13
|
select_list(:sexo_offline,:id=>"offline-owner-gender")
|
|
14
14
|
select_list(:opciones_debito,:id=>"external-debit-card")
|
|
15
15
|
select_list(:opciones_bancos_debito,:id=>"external-debit-bank")
|
|
16
|
+
select_list(:banco_pago_online,:id=>"safety-pay-bank")
|
|
16
17
|
|
|
17
18
|
text_field(:cp_entrega_tarjeta,:id=>"billing-address-postal-code")
|
|
18
19
|
text_field(:piso_entrega_tarjeta,:id=>"billing-address-floor")
|
data/features/support/version.rb
CHANGED
|
@@ -65,7 +65,6 @@ Característica: checkout.cash_payment
|
|
|
65
65
|
Y si el site es "AR|MX|PE|BR", cargo los datos de facturacion
|
|
66
66
|
Cuando acepto y compro
|
|
67
67
|
Entonces espero que termine el pedido de compra
|
|
68
|
-
Y verifico si no trae errores
|
|
69
68
|
Entonces si aparece el popup de no disponibilidad, elijo un itinerario para pago por deposito del popup de no disponibilidad
|
|
70
69
|
Entonces espero que termine de cargar la pagina de gracias
|
|
71
70
|
Y verifico que ingrese a la pagina de gracias para pago cash
|
|
@@ -65,7 +65,6 @@ Característica: checkout.online_payment
|
|
|
65
65
|
Y si el site es "AR|MX|PE|BR", cargo los datos de facturacion
|
|
66
66
|
Cuando acepto y compro
|
|
67
67
|
Entonces espero que termine el pedido de compra
|
|
68
|
-
Y verifico si no trae errores
|
|
69
68
|
Entonces si aparece el popup de no disponibilidad, elijo un itinerario para pago online del popup de no disponibilidad
|
|
70
69
|
Entonces espero que termine de cargar la pagina de gracias
|
|
71
70
|
Y verifico que ingrese a la pagina de gracias para pago cash
|
|
@@ -15,6 +15,7 @@ Característica: checkout.providers
|
|
|
15
15
|
Entonces verifico que la pagina no rompa
|
|
16
16
|
Cuando espero que termine de cargar la pagina de resultados
|
|
17
17
|
Entonces verifico que traiga resultados
|
|
18
|
+
Y cierro popups
|
|
18
19
|
Cuando elijo un itinerario del proveedor "<proovedor>" y paso a checkout
|
|
19
20
|
Entonces verifico que la pagina no rompa
|
|
20
21
|
Y espero que termine de cargar la pagina de checkout
|
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: 1.1.
|
|
4
|
+
version: 1.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- lgonzalez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-02-
|
|
11
|
+
date: 2015-02-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: henry-container
|