flights_gui_tests 1.3.7 → 1.3.8
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: 0be9c90128532669507455a9639c3f9c38a6c28b
|
4
|
+
data.tar.gz: c6ab8d3a606e81a40cfad581365c2b3403774fe0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7567478293f0332e0b346ad92679ac760e15d179456a42cb364ea76474a453c4f2ae8831afabef8cedf25161f2717a9d81e210e18eeb5393f9c93360fc6ecd20
|
7
|
+
data.tar.gz: 9fae5839b5baad048708f4b32f86e1fb734197d60c6b35a6520ade3620af529ad2b667b35cad2cf5844cba91e473f862394ef9bd574898b529ea31e70c258ec5
|
@@ -254,7 +254,12 @@ module NewCheckout
|
|
254
254
|
doc = Hpricot.parse(@browser.html)
|
255
255
|
(doc/"select#card-installment-select option").each do |option|
|
256
256
|
@browser.select_list(:id,'card-installment-select').select_value(option.attributes['value'])
|
257
|
-
|
257
|
+
begin
|
258
|
+
total_desglose = Hpricot.parse(precio_final_element.html).inner_text.gsub(/\D/,'').to_i
|
259
|
+
rescue Watir::Exception::UnknownObjectException
|
260
|
+
sleep(2)
|
261
|
+
total_desglose = Hpricot.parse(precio_final_element.html).inner_text.gsub(/\D/,'').to_i
|
262
|
+
end
|
258
263
|
if desglose_de_cuotas_element.present?
|
259
264
|
doc = Hpricot.parse(desglose_de_cuotas_element.html)
|
260
265
|
inicial = (doc/"span.first-price").inner_text.downstrip.gsub(/\./,'').match(/(\d+)$/)[1].to_i
|
data/features/support/version.rb
CHANGED