flights_gui_tests 1.6.1 → 1.6.2

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: 4a3980c9b325b788be35ea32251a079e966f19e2
4
- data.tar.gz: 14070bc3bdec461f04771274949c755e03ecbbd0
3
+ metadata.gz: 23db57f6341119b887f9f9bc81e982ebf391f3c3
4
+ data.tar.gz: ccba98eb3eff733735698a226c74f306b032bcb1
5
5
  SHA512:
6
- metadata.gz: 0052a13b5f9e580672a36a288dfb78594cf1001c0c33e9f566e0ccf9391d76a316a17353ea8a8508a46fa6424d554e1dc5aa3549ce23bdeaa1be6e2f131411e3
7
- data.tar.gz: 5583784708a0e17c55c3f59da9f8fe6c1008fb1ea45d219cd657a6b01483c88e334cc9c17c055d253a273e3b0bc4f005fcd47d52e8566c57e171d4b2c8c43942
6
+ metadata.gz: a2e49456320a9c9825f49718d4b4f12944ab207d72df7f0828fc9909edd71817e1d657acdbb26edd26e65faa7a4eebf19524b9769046c05be5b84de46e7b088e
7
+ data.tar.gz: 9d627e5c0b4c4c640365d7bc78c030c9020dfb8a51cc10536c462bbc6917070dd8fdea492e1f0499bc68eb380f3b238e14eef12faf71fd7be31c4f29f646ed1d
@@ -12,7 +12,7 @@ Cuando(/^(?:verifico|valido) que las datos de la pagina sean consistente a la bu
12
12
  (html/"span.search-info").inner_text.no_accents.downcase.should match(@page.manage_data.city_from_1.name_lang[AllPages.lang].downcase)
13
13
  (html/"span.search-info").inner_text.no_accents.downcase.should match(@page.manage_data.city_to_1.name_lang[AllPages.lang].downcase)
14
14
  (!(html/"div.ux-search").length.zero?).should be_true
15
- (!(html/"div#flights-alerts").length.zero?).should be_true if @page.tipo_de_busqueda=="roundtrip"
15
+ (!(html/"div#flights-alerts").length.zero?).should be_true if @page.tipo_de_busqueda=="roundtrip" and AllPages.lang!="en"
16
16
  (!(html/"div#inline-filters-VERTICAL_FILTERS-wrapper").length.zero?).should be_true
17
17
  end
18
18
  end
@@ -15,8 +15,8 @@ module Results
15
15
  itinerarios_elements[i].radio(:id,/inbound/).click if itinerarios_elements[i].radio(:id,/inbound/).present?
16
16
  itinerarios_elements[i].link(:text,/pagos|cuotas|installments|juros/).click
17
17
  popup_cuotas_element.when_visible(timeout=20)
18
+ sleep(1)
18
19
  popup = Hpricot.parse(popup_cuotas_element.html)
19
- sleep(0.5)
20
20
  popup.inner_text.gsub(/\n/,'').strip.should_not match("los datos no estan disponibles")
21
21
  popup_cuotas_element.span(:class,'popup-close-button popup-close').click
22
22
  popup_cuotas_element.when_not_visible(timeout=20)
@@ -90,7 +90,7 @@ module Landing
90
90
  end
91
91
 
92
92
  def ciudad_elegida
93
- self.manage_data.city_to_1.name(@@site)
93
+ self.manage_data.city_to_1.name_lang[AllPages.lang]
94
94
  end
95
95
 
96
96
  def cargar_detalles_itinerarios()
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "1.6.1"
2
+ VERSION = "1.6.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flights_gui_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-07 00:00:00.000000000 Z
11
+ date: 2015-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container