flights_gui_tests 0.0.17 → 0.0.18

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: a0ad670e215f8beb70229f4367e5ddd8472abf57
4
- data.tar.gz: d1f7f1d609a1db6e9f9477e1751003bb2e3f9831
3
+ metadata.gz: e5127b8cac4b646b299cc3bbbf1e82bd84385498
4
+ data.tar.gz: 7b546377980659c5c5969cbf3ec0b139b68a0593
5
5
  SHA512:
6
- metadata.gz: a7b3aeaf2bb05837c160b3a66001a036bd342d492b9cfa635c68fd0d64d65eb858a5f64135002c46066a11fb7f81261b213579b464b3bf18cbe3e02629be9aca
7
- data.tar.gz: 1f4d26efd15847284778a8885127ca60a9901df1eab0d9412de962993333d3f0c9483a8b4b04067c73f81bf089985bdf1a71b04edcec073f9bab7be132b64fb8
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#secondary-currency").empty?
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
- else
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
@@ -15,7 +15,7 @@
15
15
 
16
16
  gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]
17
17
 
18
- gem.version = '0.0.17' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
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')
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: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez,lsimean