flights_gui_tests 2.4.72 → 2.4.73

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: 081a939bede87aa262a33f45bf0949af6ad2ff68
4
- data.tar.gz: 33c108c2295e35916d34863205e57a851c2b7f18
3
+ metadata.gz: 1fcc17fc33dfd97dbd1160391cf12b16bebb042b
4
+ data.tar.gz: 942dfa26b0b831cfaf9c316fe2c12a0498662f95
5
5
  SHA512:
6
- metadata.gz: 37a270ef59ddfd2ed11941bd30609f3641e0dedc7a2c172dcdd356d6f658e86356d86cd24d450d3bb297ffe31db2c1104e4eda6a49293ed94369144ae497b479
7
- data.tar.gz: 4ba823c865c2de840ad94108d3411032080013293ae3c242b84bd027d3e279069c41eef8650e6ce7ade37f0b9546acf659a7bd945fba8cc7688c0753a328aac1
6
+ metadata.gz: 4bcf23b5948d5105bd58a9a5ce7c322c38a8e05d55abe19283ead144cf7de424581ef19f155949eb564e71307e55a898fea4d628b78816c77586e5d31d9df57b
7
+ data.tar.gz: e084423278b2d8e8a7c091f0d3fb9f87c7789f4d9f32bf064a64b4ff0e4e89e46a0f5470d316f614e89bfa0166b7fcc480694e1246cfa893248670b94f07594f
@@ -95,10 +95,10 @@ end
95
95
 
96
96
  Entonces(/^pruebo angular con valor "(.*)"$/) do |val|
97
97
  if val.to_i < 50
98
- $HENRY_PARAMS['angular'] = nil
98
+ $HENRY_PARAMS['angular'] = true
99
99
  step "ingreso a resultados con cookie \"useAngular\" al \"#{val}\""
100
100
  else
101
- $HENRY_PARAMS['angular'] = true
101
+ $HENRY_PARAMS['angular'] = nil
102
102
  step "ingreso a resultados con cookie \"useAngular\" al \"#{val}\""
103
103
  end
104
104
  end
@@ -4,10 +4,15 @@ module Pages
4
4
  #modifico el valor del abtesting requerido
5
5
  def modificar_abtesting(nombre,valor)
6
6
  cookie = self.recuperar_cookie("abzTestingId")
7
- nuevo_valor = cookie[:value].gsub(/:#{self.recuperar_valor_abtesting(nombre)},/,":#{valor.to_s},")
7
+ if cookie[:value].match(/:#{self.recuperar_valor_abtesting(nombre)}}/)
8
+ nuevo_valor = cookie[:value].gsub(/:#{self.recuperar_valor_abtesting(nombre)}}/,":#{valor.to_s}}")
9
+ else
10
+ nuevo_valor = cookie[:value].gsub(/:#{self.recuperar_valor_abtesting(nombre)},/,":#{valor.to_s},")
11
+ end
8
12
  self.eliminar_cookie("abzTestingId")
9
13
  self.agregar_cookie("abzTestingId",nuevo_valor,{:expires => cookie[:expires],:domain=>cookie[:domain]})
10
14
  self.recuperar_cookie("abzTestingId")
15
+ puts self.recuperar_cookie("abzTestingId")
11
16
  end
12
17
  #recupero una cookie
13
18
  def recuperar_cookie(nombre,index=0)
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "2.4.72"
2
+ VERSION = "2.4.73"
3
3
  end
@@ -10,7 +10,7 @@ Característica: results.recommendation
10
10
  Cuando realizo la busqueda
11
11
  Entonces verifico que la pagina no rompa
12
12
  Cuando espero que termine de cargar la pagina de resultados
13
- Cuando pruebo angular
13
+ Cuando pruebo angular con valor "75"
14
14
  Entonces verifico que traiga resultados
15
15
  Y cierro popups
16
16
  Entonces verifico que exista el icono de enviar recomendacion
@@ -52,7 +52,7 @@ Característica: results.recommendation
52
52
  Cuando realizo la busqueda
53
53
  Entonces verifico que la pagina no rompa
54
54
  Cuando espero que termine de cargar la pagina de resultados
55
- Cuando pruebo angular
55
+ Cuando pruebo angular con valor "75"
56
56
  Entonces verifico que traiga resultados
57
57
  Y ingreso una busqueda '<tipo>' del tipo '<cabotage>'
58
58
  Y realizo la busqueda
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.72
4
+ version: 2.4.73
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez