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: 7b52dba1e5e105f68b9935a2fb3420dca6ad9727
4
- data.tar.gz: 668b16517fd124b57b048ea47ca44012ba38ad2b
3
+ metadata.gz: afef8a66722391ce55c8405be85951e6411502cc
4
+ data.tar.gz: fa243a856c670b7184a8ffd23953948019668dec
5
5
  SHA512:
6
- metadata.gz: ff80365fd4d311eb767743dfc8d7e15b123de58c2f57afd80dd1768734b3ee73317b8e6518d8d5813f758150384da6a0d2da400340678667cefbf416c48f61bd
7
- data.tar.gz: a6710394b18e4ec46a07ec04aae328fb75f201a709dc6a57e606e931155f99c3814d690990f464833db7bac8ee79d32ed2a2788556162c59d26a0af921a4d6d7
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
- end
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
- json["result"] = self.manage_data.get_results_search_service_streaming(type).first["arg"]
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
- boton_comprar.first.click
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()
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "2.4.16"
2
+ VERSION = "2.4.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flights_gui_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.16
4
+ version: 2.4.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez