flights_gui_tests 2.4.33 → 2.4.34

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: 01f72c813049f6baaf82a1f355d6112da5dd8f5e
4
- data.tar.gz: 0ee31fe42a202009f156e6a9a68d1adf52ccba0e
3
+ metadata.gz: 1207aa577dd05c2a298df3363e2a19e989bc1d7b
4
+ data.tar.gz: 625577ef5df93e944d8b04c4e5602c9987d3fa86
5
5
  SHA512:
6
- metadata.gz: bc0dc558ae3f165bc23ee4ea088239d54827ac35f0e452a7c76cd1901ad999b1aa62620fd6acc63e1a2247063701f7d0de31c1687fa85b056b770b4d4e330178
7
- data.tar.gz: ece3e2c0f677bbb0f02c96198219229b6ebfd3e9f54941b54c7e3e3579d5a0701ccf17ecdc26f1f26aabb521e38cab1988b9f22f15bb5f4d05f768ca4d687f7c
6
+ metadata.gz: 7bed0a31f503c1614e748acaae072d8b365ffe52df04747e4295565bbefa1c01d2b6a3f68ec1bb83549cba1bf56251a8974f85ddc8e4787b1a124f58f89a1727
7
+ data.tar.gz: 7f7b448f63a4e5bc3a8747d70bcb9f999586fbd17ef738ca13782c6e156d99daeab419f29b3c9d8fbb26175179b40f5251934b6956434fe5332edb3259b4c8d7
@@ -19,7 +19,7 @@ Cuando(/^elijo una aerolinea a aplicar$/) do
19
19
  end
20
20
 
21
21
  Entonces(/^filtro por aerolinea$/) do
22
- @page.browser.checkbox(:id, (@airline / 'input').first.attributes['id']).set
22
+ @airline.checkboxes.first.click
23
23
  end
24
24
 
25
25
  Entonces(/^(?:verifico|valido) que los contadores respecto a las aerolineas sean correctos$/) do
@@ -10,11 +10,10 @@ Cuando(/^abro los filtros de aerolineas$/) do
10
10
  end
11
11
 
12
12
  Cuando(/^elijo una aerolinea a aplicar - filtros nuevo -$/) do
13
- doc = Hpricot.parse(@page.html)
14
- options = (doc / 'div.inline-filters-detail-airlines')[0]
15
- options = (options/"li.item").select { |option| (option / "input")[0] and !(option / "input")[0].attributes['id'].match(/inline-filters-airlines-all|airlines-unique|airlines-all/) and !(option / "input.ux-common-filter-disabled")[0]}
13
+
14
+ options = @page.browser.div(:class,'inline-filters-detail-airlines').lis(:class,'item').select { |option| option.checkbox.present? and !option.id.match(/inline-filters-airlines-all|airlines-unique|airlines-all/)}
16
15
  @airline = options[rand(options.length)]
17
- @total = (@airline / 'span.total').inner_text.gsub(/\D/,'').to_i
16
+ @total = @airline.span(:class,'total').text.gsub(/\D/,'').to_i
18
17
  end
19
18
 
20
19
  Cuando(/^limpio el filtro de aerolineas - filtros nuevo -$/) do
@@ -50,11 +50,11 @@ module Results
50
50
  end
51
51
 
52
52
  def validar_clase(cluster,route)
53
- if cluster.tramos.select{|tramo| tramo['bussines'] }.empty?
54
- route.span(:class,'ux-common-icon-rate-star').should_not visible("icono de bussines")
55
- else
56
- route.span(:class,'ux-common-icon-rate-star').should visible("icono de bussines")
57
- end
53
+ #if cluster.tramos.select{|tramo| tramo['bussines'] }.empty?
54
+ # route.span(:class,'ux-common-icon-rate-star').should_not visible("icono de bussines")
55
+ #else
56
+ # route.span(:class,'ux-common-icon-rate-star').should visible("icono de bussines")
57
+ #end
58
58
  end
59
59
 
60
60
  def rutas_ida(itinerario)
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "2.4.33"
2
+ VERSION = "2.4.34"
3
3
  end
@@ -20,7 +20,7 @@ Característica: results.search_full
20
20
  #Y si el site no es "IN|CN|PT", verifico el logger en resultado de fgui
21
21
  Y verifico el tag de canonical
22
22
  #Y si el site es "AR", verifico el tag de remarketing de facebook
23
- Y si el site es "MX|CO|BR", verifico el tag de facebook
23
+ #Y si el site es "MX|CO|BR", verifico el tag de facebook
24
24
  #Y si el site no es "IN|CN|PT", verifico el pixel de e-planning
25
25
  Y cierro popups
26
26
  Y verifico el popup de alertas
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: 2.4.33
4
+ version: 2.4.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez