flights_gui_tests 2.4.80 → 2.4.81
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 756bf7cd122a01b891c94f9dc3218547531972a5
|
4
|
+
data.tar.gz: fdfd614e274fb17373762d2f5a11e5594eef5c79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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))
|
data/features/support/version.rb
CHANGED