flights_gui_tests 2.4.16 → 2.4.17
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: afef8a66722391ce55c8405be85951e6411502cc
|
|
4
|
+
data.tar.gz: fa243a856c670b7184a8ffd23953948019668dec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf083f7b110e6c40ee6aebddc9c94dca2fe77e31a4a1b7681993b1cda63ff052d98ba8cb38927d70c550b1d549e879aefb58025c6b551b14579b92cd03a1953a
|
|
7
|
+
data.tar.gz: 870c1885995d4c3ad0965f07cf29c312a6b3435a077cf78a6dee031457069c82b5540fd172d76a88588bee68d525a2027099518c9348810c1bee7a780247046d
|
|
@@ -21,7 +21,9 @@ Cuando(/^espero que cargue el popup de cambio de precio$/) do
|
|
|
21
21
|
@page.popup_price_jump_element.when_visible(timeout=60)
|
|
22
22
|
rescue Watir::Wait::TimeoutError
|
|
23
23
|
pending("No se mostro el popup de cambio de precio")
|
|
24
|
-
|
|
24
|
+
rescue Net::ReadTimeout
|
|
25
|
+
puts "Rompe Net::ReadTimeout"
|
|
26
|
+
end
|
|
25
27
|
end
|
|
26
28
|
|
|
27
29
|
Y(/^elijo el mismo vuelo que cambio de precio$/) do
|
|
@@ -100,7 +100,11 @@ module Results
|
|
|
100
100
|
|
|
101
101
|
def get_results_search_service_streaming(type="TOTALFARE")
|
|
102
102
|
json = {}
|
|
103
|
-
|
|
103
|
+
begin
|
|
104
|
+
json["result"] = self.manage_data.get_results_search_service_streaming(type).first["arg"]
|
|
105
|
+
rescue Net::ReadTimeout
|
|
106
|
+
puts "Rompio Net::ReadTimeout"
|
|
107
|
+
end
|
|
104
108
|
return json
|
|
105
109
|
end
|
|
106
110
|
|
|
@@ -150,7 +154,11 @@ module Results
|
|
|
150
154
|
itinerarios_elements[index].div(:class,'sub-cluster outbound').radios[0].click unless tipo_de_busqueda=="multipledestinations"
|
|
151
155
|
itinerarios_elements[index].div(:class,'sub-cluster inbound').radios[0].click if tipo_de_busqueda=="roundtrip"
|
|
152
156
|
boton_comprar = itinerarios_elements[index].links(:class,/buy/).select{|boton| boton.present?}
|
|
153
|
-
|
|
157
|
+
begin
|
|
158
|
+
boton_comprar.first.click
|
|
159
|
+
rescue Net::ReadTimeout
|
|
160
|
+
puts "Rompio Net::ReadTimeout"
|
|
161
|
+
end
|
|
154
162
|
end
|
|
155
163
|
|
|
156
164
|
def datos_itinerario()
|
data/features/support/version.rb
CHANGED