flights_gui_tests 0.0.17 → 0.0.18
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: e5127b8cac4b646b299cc3bbbf1e82bd84385498
|
4
|
+
data.tar.gz: 7b546377980659c5c5969cbf3ec0b139b68a0593
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffbc2b1dedef858b65eec7f8a619d4ea64ae8ec6f805f486f370e21cceabacd3fb1fbfcb93dc913a7ecf3c62c5ae59bff452fd7a0a90070e7862e58e9e1de12e
|
7
|
+
data.tar.gz: df95b8b3cb682e2539114bed222045d792389893779cdff8c3bc8885e6da690a12b8cdcc9c50718eadf5fba4a4185d396762111d61ecc08a58856e496ab85edc
|
@@ -67,9 +67,9 @@ module Checkout
|
|
67
67
|
def load_prices(p_html)
|
68
68
|
|
69
69
|
@tarifas = Hash.new
|
70
|
-
if (p_html/"span
|
70
|
+
if !(p_html/"li.adult-price span[@class='price-currency'] span.currency").empty?
|
71
71
|
@tarifas['tarifa_adulto'] = Price.new((p_html/"li.adult-price span[@class='price-currency'] span.currency").first.inner_text.strip + " " + (p_html/"li.adult-price span[@class='price-currency'] span.amount").first.inner_text.strip)
|
72
|
-
|
72
|
+
elsif !(p_html/"div.adult-price-conversion span#local-currency span.code").empty?
|
73
73
|
@tarifas['tarifa_adulto'] = Price.new((p_html/"div.adult-price-conversion span#local-currency span.code").first.inner_text.strip + " " + (p_html/"div.adult-price-conversion span#local-currency span.amount").first.inner_text.strip)
|
74
74
|
end
|
75
75
|
|
@@ -98,6 +98,7 @@ module Results
|
|
98
98
|
cerrar_popup_cantidad_visitantes_element.click if cerrar_popup_cantidad_visitantes_element.present?
|
99
99
|
itinerarios_elements[index].div(:class,'sub-cluster outbound').radios[0].click unless tipo_de_busqueda=="multipledestinations"
|
100
100
|
itinerarios_elements[index].div(:class,'sub-cluster inbound').radios[0].click if tipo_de_busqueda=="roundtrip"
|
101
|
+
sleep(2)
|
101
102
|
buscar_elements[index].click
|
102
103
|
return @datos_de_itinerarios[index]
|
103
104
|
end
|
data/flights_gui_tests.gemspec
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]
|
17
17
|
|
18
|
-
gem.version = '0.0.
|
18
|
+
gem.version = '0.0.18' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
|
19
19
|
|
20
20
|
gem.add_dependency('henry-container', '>= 0.1.39')
|
21
21
|
gem.add_dependency('page-object')
|