flights_gui_tests 1.0.2 → 1.0.3
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/results/results_steps.rb +1 -0
- data/features/support/modules/checkout/new_checkout/tarjeta.rb +6 -1
- data/features/support/modules/results/itineraries/miles.rb +1 -0
- data/features/support/modules/results/itineraries.rb +1 -1
- 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: 59a686242cedec2b387c392da22501976f3dea44
|
4
|
+
data.tar.gz: b8c2b84be6ef522e9b7e177c078b8fb410d97f9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79b3420e0ba7d1572639bb0fec438353c9d3f4463344f5e01ddb3494005a1ffe1ac41463a7d8e7b5eef05f3548429aa054b4ebeb0e2ef2e47c5c2db7b8834447
|
7
|
+
data.tar.gz: 4e8376109845a65df5306d74e49934d6bf2adc6e627c5e3680086b97e02ed631b4fb5637e0a7cf8b6ef292f43e4a82b4dc1eeebd74d638eff0d0789fa165c22f
|
@@ -34,6 +34,7 @@ Cuando(/^elijo un itinerario del proveedor "(.*)" y paso a checkout$/) do |prov|
|
|
34
34
|
end
|
35
35
|
|
36
36
|
Entonces(/^recorro y (?:verifico|valido) cada itinerario$/) do
|
37
|
+
byebug
|
37
38
|
json = @page.manage_data.get_results_search_service("TOTALFARE")
|
38
39
|
@page.cerrar_popup_alerta_element.click if @page.cerrar_popup_alerta_element.present?
|
39
40
|
@page.cerrar_popup_cantidad_visitantes_element.click if @page.cerrar_popup_cantidad_visitantes_element.present?
|
@@ -36,6 +36,7 @@ module NewCheckout
|
|
36
36
|
radio_button(:un_pago_argentina,:class=>"radio main-radio ")
|
37
37
|
radio_button(:un_pago_debito,:id=>"installment-1")
|
38
38
|
radio_button(:un_pago_peru,:id=>"installment-2")
|
39
|
+
radio_button(:un_pago_peru,:id=>"installment-3")
|
39
40
|
radio_button(:deposito_ar,:css=>"#cash-installment .main-radio")
|
40
41
|
radio_button(:deposito_pe,:css=>"#multiple-card-cash-installment .main-radio")
|
41
42
|
radio_button(:pago_online_ar,:css=>"#homebanking-installment .main-radio")
|
@@ -61,7 +62,11 @@ module NewCheckout
|
|
61
62
|
if AllPages.site=="AR"
|
62
63
|
select_un_pago_argentina
|
63
64
|
elsif AllPages.site=="PE"
|
64
|
-
|
65
|
+
begin
|
66
|
+
select_un_pago_peru
|
67
|
+
rescue Watir::Exception::UnknownObjectException
|
68
|
+
select_un_pago_peru_2
|
69
|
+
end
|
65
70
|
else
|
66
71
|
if debito.downcase.no_accents.match(/debito/)
|
67
72
|
select_un_pago_debito
|
@@ -43,6 +43,7 @@ module Results
|
|
43
43
|
|
44
44
|
if popup_pasajero_frecuente_element.present?
|
45
45
|
doc = Hpricot.parse(popup_pasajero_frecuente_element.html)
|
46
|
+
byebug
|
46
47
|
(doc/"div.popup-content").inner_text.gsub(/\n\n/," ").gsub(/\n/,"").downcase.no_accents.strip.should match(text.downcase + data[airline][0].downcase.strip)
|
47
48
|
popup_pasajero_frecuente_element.span(:class,'popup-close-button popup-close').click
|
48
49
|
popup_pasajero_frecuente_element.when_not_visible(timeout=20)
|
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 = '1.0.
|
17
|
+
gem.version = '1.0.3' # 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')
|