flights_gui_tests 1.7.9 → 1.8.0

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: d633a338b657eac5cebef6a5107bb87e82b3c1ad
4
- data.tar.gz: ac96824cc2987fe6ab09d24e0925dc2bf835aadf
3
+ metadata.gz: 242273290dd301a44c0c078476b53eb10688f87d
4
+ data.tar.gz: 5d32e30268dc27f7d6006bb53cbd584556e4ad1f
5
5
  SHA512:
6
- metadata.gz: 9bdeb7f234db49bc385b78463d8b766ebb9869bf5da8478148f18d4ea3d038b1951550712104e1d59e2b145bd002ad7c49446f3ffded370c94c238158b681bfa
7
- data.tar.gz: 8a264367d4ca577b8727a26350f6a05765aab7b8b3b1048b25f8e3c04188ac3869cdff7b4991d17ce7252d7925d710e4197f533799b7a439e6ed940291a0563f
6
+ metadata.gz: e5456c94d7d514ecf7f508e6ae88be91396679ae018deffbe757f6cf7b66a9cab9666e16596e7e547e760cfb87ce86d22cd299fa641a3a796cddfc73eded29dc
7
+ data.tar.gz: 949aee42ae1efaed71f12f01dbaf2a976ae31d3827edb017fd51a1d0e0cdd448eb830720f94ac11911146194dd46b201d17c2709bb0ae55eb875745849a698ad
@@ -28,7 +28,7 @@ Entonces(/^(?:verifico|valido) que los contadores respecto a las aerolineas sean
28
28
  end
29
29
 
30
30
  Entonces(/^(?:verifico|valido) que la primer pagina muestre correctamente los filtros de aerolineas$/) do
31
- group_airlines = [['UA', 'CM', 'AM', 'US', 'AA', 'DL'], ['LA', '4M', 'XL', '4C', 'JJ', 'PZ'], ['AV', 'TA', 'LR', 'T0']]
31
+ group_airlines = [['UA', 'CM', 'AM', 'US', 'AA', 'DL'], ['LA', '4M', 'XL', '4C', 'JJ', 'PZ','LP'], ['AV', 'TA', 'LR', 'T0']]
32
32
  doc = Hpricot.parse(@page.html)
33
33
  airlines = []
34
34
  airline = (@airline / 'img').first.attributes['src'].match(/\/(.{1,7})\.png/)[1].strip
@@ -17,7 +17,7 @@ module Results
17
17
  popup_cuotas_element.when_visible(timeout=20)
18
18
  sleep(1)
19
19
  popup = Hpricot.parse(popup_cuotas_element.html)
20
- popup.inner_text.gsub(/\n/,'').strip.should_not match("los datos no estan disponibles")
20
+ popup.inner_text.gsub(/\n/,'').no_accents.strip.should_not match("los datos no estan disponibles|Dados indisponiveis neste momento")
21
21
  popup_cuotas_element.span(:class,'popup-close-button popup-close').click
22
22
  popup_cuotas_element.when_not_visible(timeout=20)
23
23
  else
@@ -137,7 +137,7 @@ class AllPages
137
137
  end
138
138
 
139
139
  def self.lang
140
- case @@site
140
+ case @@site.upcase
141
141
  when "BR" then "pt"
142
142
  when "US" then "en"
143
143
  when "IN" then "en"
@@ -135,7 +135,7 @@ module Results
135
135
  end
136
136
 
137
137
  def datos_itinerario()
138
- index, permitida = sanear_itinerarios(["DL","Y4","4O","TK"])
138
+ index, permitida = sanear_itinerarios(["DL", "AA", "US", "LA", "4M", "LP", "XL"])
139
139
  @datos_de_itinerarios[index]
140
140
  end
141
141
 
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "1.7.9"
2
+ VERSION = "1.8.0"
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.7.9
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-07 00:00:00.000000000 Z
11
+ date: 2015-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container