flights_gui_tests 2.4.80 → 2.4.81

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: 2fd6940da6bcc53b1df16171a368a788b514483a
4
- data.tar.gz: 1a059a00bed73d8a348d95ef22c8897ed9e1eec3
3
+ metadata.gz: 756bf7cd122a01b891c94f9dc3218547531972a5
4
+ data.tar.gz: fdfd614e274fb17373762d2f5a11e5594eef5c79
5
5
  SHA512:
6
- metadata.gz: f67ef2bbebac743b1f6ae9f9b2374af7d89c4afe9b95205f1f4d4fee98ad606fd13f8f7870e8283599891adb9bea4504076de8dd7fae75dc7777d4b19fee3680
7
- data.tar.gz: cf69f95ab528215980ef9f1148909d845ecce0c2f90e8583a366478117640225e60cb451daa7ab5880297dbcb7e68d83b754dd6984f8d655f5972a9939ca76b7
6
+ metadata.gz: caf2d916900d4be6c9cffa1fdc3562ae8ebb346dd9171fe3d89021f8fc694ae2aba916dbc7bd464a08fed90260005cc91d6248fbe01f7a0a765fa2e7488630a7
7
+ data.tar.gz: 6513c585122246d2a214802f3840e9924a7e3c23e74993d5b4101719be7fb72e9fa225646ee9a20bd669541eefdb35f3a7485e8a2769112be309f283762643c7
@@ -17,7 +17,10 @@ Y(/^verifico que se muestre el popup de cambio de vuelo$/) do
17
17
  end
18
18
 
19
19
  Entonces(/^elijo un itinerario del popup de cambio de vuelo$/) do
20
+ status = $HENRY_PARAMS['angular']
21
+ $HENRY_PARAMS['angular'] = nil
20
22
  @popup_no_disponibilidad_page.sumar_aparicion
21
23
  @popup_no_disponibilidad_page.cargar_itinerarios
22
24
  @itinerario_checkout = @popup_no_disponibilidad_page.elegir_itinerario(0)
25
+ $HENRY_PARAMS['angular'] = status
23
26
  end
@@ -110,6 +110,11 @@ module Checkout
110
110
  JSON.parse(tracking_info.first.inner_text.strip.match(/trackingInfo \= (.+)\;/)[1])
111
111
  end
112
112
 
113
+ def get_upa_data
114
+ tracking_info = buscar_script_con_texto("upaData")
115
+ JSON.parse(tracking_info.last.inner_text.strip.match(/trackingInfo \= (.+)\;/)[1])
116
+ end
117
+
113
118
  def provider
114
119
  if @provider
115
120
  return @provider
@@ -13,7 +13,6 @@ module Checkout
13
13
 
14
14
  def cargar_itinerarios
15
15
  @datos_de_itinerarios = []
16
- $HENRY_PARAMS['angular'] = nil
17
16
  itinerarios_elements.each do |itinerario|
18
17
  if itinerario_nuevo_element.present?
19
18
  @datos_de_itinerarios << Results::NewCluster.new(tipo_de_busqueda,Hpricot.parse(itinerario.html))
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "2.4.80"
2
+ VERSION = "2.4.81"
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.80
4
+ version: 2.4.81
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez