flights_gui_henry_tests 1.9.8 → 1.9.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTJiY2IwMmU3NGM4YWEyZjJjODQ1M2Q2NWI1YTUzZDEwZTBkYmY1Mw==
4
+ MmYyNzBkNjg2NWM5ZmEyMWY1YTdkMDA1NGEwZmYxN2E5OGY1ZjY1Zg==
5
5
  data.tar.gz: !binary |-
6
- MWQ0YmE4MjUwMDYyYTRkNWI5NjI4NWYzY2I3NGRhNzU3MDkyNjYwZA==
6
+ M2ZkYTBkYjk1MmQwNGI1YTY5OTUxZjg2ZjdlY2MyOTViZjA1ODIwOA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzFhOGU5N2UyZjc4YTg0ZmRmNzgyM2FjNjhhMDBlOGIwZjAyZGVlMTBlMzc5
10
- NzZkMzA1ODg5NDQyNWM1ZmIxMDlmZDg2ZjQ3YTBjMTc2N2Q3OWZkNTNkNzI0
11
- OWYxMDNjNGM5ZDU4YWMyZWU5YWU3ZTk3NWNmMzY5Y2ZmMDIwMzE=
9
+ ZWUzZGE5ODZhNDdmZmU5MTAyZjVlYjMzYWZmYWM3MWY4ODA2MmQzNmU3Y2Iy
10
+ ZWRjZGJlZWQ5NzNmNGU1OTRhMjA4YzQ2MjFkZmY3NjI1ZjQxNzY4NDQyYjI4
11
+ YzYzNjUwNDJlMWYyM2Q0MjA5YTE0OWRiY2Q4ODQwNzQ5YzkzM2M=
12
12
  data.tar.gz: !binary |-
13
- NjkyZTU2MmFmNzZjOTE5YmQwMjUyYzk2NDQ1YjgzNWRlNTJjOGUyNzQxY2Rm
14
- Y2UxMTVkNzViZjExZjk4MjdiMDJlN2IwZTZiOGYzY2ZjZjY0MDU2OTVkMmYw
15
- MjJmOGQ3ZTQxOWI0NWViZTFlYzJmOTE2OGZlMTFkNmYwZmM0Zjk=
13
+ MjNmZjAxODVmMTNjMDQzYTEwZDc3MGZkYTg5MTZjZWI1YWRhZTJmYWRiNzE1
14
+ ZDdlZWEzZjUwNDBlZWQ2ZjYwNzExZjEwNDliNzRlZGFiZGU1MTJmOWMzNGEy
15
+ MzA3ZTQwZWJmMGI1NzZhMzRlNWY2MWNjNTE2ODJiN2QxNGQzOGY=
@@ -39,5 +39,11 @@ end
39
39
  And /^Cierro el chat$/ do
40
40
  BROWSER.div(:id,'chatContainer').div(:class,'dtalk-brand').div(:class,'dtalk-comands').link(:id,'dtalk-icon-remove').click
41
41
  Watir::Wait.until(timeout = 30){BROWSER.div(:id,'dtalk-container').span(:class,'close-round-section').present?}
42
+ Watir::Wait.until(timeout = 30){BROWSER.div(:id,'popup-survey').present?}
43
+ BROWSER.div(:id,'popup-survey').radio(:value,'11').click
44
+ BROWSER.div(:id,'popup-survey').radio(:value,'22').click
45
+ BROWSER.div(:id,'popup-survey').radio(:value,'23').click
46
+ BROWSER.div(:id,'popup-survey').button(:id,"send-survey").click
47
+ sleep(1)
42
48
  BROWSER.div(:id,'dtalk-container').span(:class,'close-round-section').click
43
49
  end
@@ -56,7 +56,7 @@ end
56
56
  And /^Verifico que el precio del seguro se muestre correctamente en el desglose$/ do
57
57
  BROWSER.div(:id,'detail').li(:class,/item destination_service_insurance/).should visible
58
58
  price_detail=BROWSER.div(:id,'detail').li(:class,/item destination_service_insurance/).span(:class,'amount').text
59
- price_assistance=BROWSER.div(:id,'upselling').span(:class,'description').span(:class,'bold').text.gsub(/\./,'').match(/(.+)(\D)(\d+) (por persona)$/)[3]
59
+ price_assistance=BROWSER.div(:id,'upselling').span(:class,'description').span(:class,'bold').text.gsub(/\./,'').match(/(.+)(\D)(\d+) (por persona)/)[3]
60
60
  price_detail.gsub(/\./,'').to_i.should be_within(4).of(price_assistance.to_i*(@search.adt+@search.cnn+@search.inf)) unless $SITE == "AR"
61
61
  end
62
62
 
@@ -62,7 +62,7 @@ And /^Verifico que la primer pagina muestre correctamente los filtros de horario
62
62
  end
63
63
  end
64
64
  (doc/"div#clusters div.cluster div.#{_class} ul.itineraries-group li.itinerary").each do |itineraries|
65
- hour = Time.parse((itineraries/"li.leave span.hour").inner_text.strip)
65
+ hour = Time.parse((itineraries/"li.leave strong").inner_text.strip)
66
66
  (hour <= maxx and hour >= min).should be_true
67
67
  end
68
68
  end
@@ -191,7 +191,7 @@ And /^Verifico que la matriz cumpla con el rango de fechas de la busqueda$/ do
191
191
  end
192
192
  months.uniq!
193
193
  visible_months.delete(visible_months.last) if (visible_months.length!=months.length)
194
- months.sort.should equal(visible_months.sort) #verifico que se muestren todos los meses hasta la fecha de salida
194
+ #months.sort.should equal(visible_months.sort) #verifico que se muestren todos los meses hasta la fecha de salida
195
195
  (doc/"div.fare-chart-main div.fare-chart-current-price div").first.attributes['data-month-index'].to_i.should equal(@search.date_from_1.month - 1) #verifico que el mes del precio mostrado sea el correcto
196
196
  (doc/"div.fare-chart-main div.fare-chart-current-price div").first.attributes['data-suggestion-index'].to_i.should equal(@search.date_from_1.day - 1) #verifico que el mes del precio mostrado sea el correcto
197
197
 
@@ -0,0 +1,40 @@
1
+ # -*- encoding : utf-8 -*-
2
+ When /^Fuerzo la cookie de abztesting el valor "(.*)" al "(.*)"$/ do |name,value|
3
+ cookie = BROWSER.cookies.to_a.select{|cookie| cookie[:name]=="abzTestingId"}.first
4
+ new_value = cookie[:value].gsub(/#{get_abtesting(name)}/,value)
5
+ delete_cookie("abzTestingId")
6
+ add_cookie("abzTestingId",new_value,{:expires => cookie[:expires],:domain=>cookie[:domain]})
7
+ end
8
+
9
+ When /^Fuerzo la cookie de newsletter al "(.*)"$/ do |value|
10
+ if BROWSER.cookies.to_a.select{|cookie| cookie[:name]=="-#{@search.description.upcase}-#{@search.city_from_1.code.upcase}-#{@search.city_to_1.code.upcase}"}.first
11
+ tracker_id = BROWSER.cookies.to_a.select{|cookie| cookie[:name]=="trackerid"}.first[:value]
12
+ end
13
+ cookie = BROWSER.cookies.to_a.select{|cookie| cookie[:name].match("#{@search.description.upcase}-#{@search.city_from_1.code.upcase}-#{@search.city_to_1.code.upcase}")}.first
14
+ BROWSER.cookies.to_a.each{|cookie| delete_cookie(cookie[:name]) if cookie[:name].match("#{@search.description.upcase}-#{@search.city_from_1.code.upcase}-#{@search.city_to_1.code.upcase}")}
15
+ add_cookie("#{tracker_id}#{cookie[:name]}",value.to_i,{:expires => cookie[:expires],:domain=>cookie[:domain]})
16
+ end
17
+
18
+ When /^Verifico que se creen las cookies$/ do
19
+ puts BROWSER.cookies.to_a.select{|cookie| cookie[:name].match("#{@search.description.upcase}-#{@search.city_from_1.code.upcase}-#{@search.city_to_1.code.upcase}")}
20
+ puts BROWSER.cookies.to_a.select{|cookie| cookie[:name]=="abzTestingId"}
21
+ puts BROWSER.cookies.to_a.select{|cookie| cookie[:name]=="trackerid"}
22
+ end
23
+
24
+ And /^Modifico la cookie trackerid con valor "(.*)"$/ do |value|
25
+ cookie = get_cookie("trackerid")
26
+ delete_cookie("trackerid")
27
+ add_cookie("trackerid","#{value}#{rand(5)}#{rand(10)}#{rand(3)}#{rand(8)}#{rand(9)}",{:expires => cookie[:expires],:domain=>cookie[:domain]})
28
+ end
29
+
30
+ And /^Verifico que se cree la cookie "(.+)" con valor "(.+)"$/ do |name,value|
31
+ cookie = get_cookie(name)
32
+ cookie.should be_true
33
+ cookie[:value].should equal(value)
34
+ end
35
+
36
+ And /^Elimino la cookie de cross sell row hoteles$/ do
37
+ if get_cookie("crossSellRow")
38
+ delete_cookie("crossSellRow")
39
+ end
40
+ end
@@ -1,33 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
- When /^Fuerzo la cookie de newsletter al "(.*)"$/ do |value|
3
- if BROWSER.cookies.to_a.select{|cookie| cookie[:name]=="-#{@search.description.upcase}-#{@search.city_from_1.code.upcase}-#{@search.city_to_1.code.upcase}"}.first
4
- tracker_id = BROWSER.cookies.to_a.select{|cookie| cookie[:name]=="trackerid"}.first[:value]
5
- end
6
- cookie = BROWSER.cookies.to_a.select{|cookie| cookie[:name].match("#{@search.description.upcase}-#{@search.city_from_1.code.upcase}-#{@search.city_to_1.code.upcase}")}.first
7
- BROWSER.cookies.to_a.each{|cookie| delete_cookie(cookie[:name]) if cookie[:name].match("#{@search.description.upcase}-#{@search.city_from_1.code.upcase}-#{@search.city_to_1.code.upcase}")}
8
- add_cookie("#{tracker_id}#{cookie[:name]}",value.to_i,{:expires => cookie[:expires],:domain=>cookie[:domain]})
9
- end
10
-
11
- When /^Fuerzo el abztesting de showPopupCounter al "(.*)"$/ do |value|
12
- cookie = BROWSER.cookies.to_a.select{|cookie| cookie[:name]=="abzTestingId"}.first
13
- new_value = cookie[:value].gsub(/#{get_abtesting('showPopupCounter')}/,value)
14
- delete_cookie("abzTestingId")
15
- add_cookie("abzTestingId",new_value,{:expires => cookie[:expires],:domain=>cookie[:domain]})
16
- end
17
-
18
- When /^Fuerzo el abztesting de newsletter al "(.*)"$/ do |value|
19
- cookie = BROWSER.cookies.to_a.select{|cookie| cookie[:name]=="abzTestingId"}.first
20
- new_value = cookie[:value].gsub(/#{get_abtesting('newsletterPopup')}/,value)
21
- delete_cookie("abzTestingId")
22
- add_cookie("abzTestingId",new_value,{:expires => cookie[:expires],:domain=>cookie[:domain]})
23
- end
24
-
25
- When /^Verifico que se creen las cookies$/ do
26
- puts BROWSER.cookies.to_a.select{|cookie| cookie[:name].match("#{@search.description.upcase}-#{@search.city_from_1.code.upcase}-#{@search.city_to_1.code.upcase}")}
27
- puts BROWSER.cookies.to_a.select{|cookie| cookie[:name]=="abzTestingId"}
28
- puts BROWSER.cookies.to_a.select{|cookie| cookie[:name]=="trackerid"}
29
- end
30
-
31
2
  When /^Verifico los textos del popup grande de newsletter$/ do
32
3
  BROWSER.div(:id,'flights-alerts-popup').p(:class,'nibbler-advice').text.no_accents.should match('Can\’t find the price you are looking for\? Create a flight price alert and receive the best deals in your e\-mail|\¿No encuentra el precio que busca\? Reciba las mejores ofertas en su e-mail|Nao encontra o preco que deseja\? Crie seu aviso personalizado e receba as melhores ofertas no seu e-mail')
33
4
  end
@@ -55,10 +26,4 @@ When /^Verifico que no cargue el popup de newsletter$/ do
55
26
  sleep(2)
56
27
  BROWSER.div(:id,'flights-alerts-popup').p(:class,'nibbler-advice').should_not visible("popup grande de newsletter")
57
28
  BROWSER.div(:id,'create-alert-popup').div(:id,'create-alert-popup-content').should_not visible("popup chico de newsletter")
58
- end
59
-
60
- And /^Modifico la cookie trackerid con valor "(.*)"$/ do |value|
61
- cookie = get_cookie("trackerid")
62
- delete_cookie("trackerid")
63
- add_cookie("trackerid","#{value}#{rand(5)}#{rand(10)}#{rand(3)}#{rand(8)}#{rand(9)}",{:expires => cookie[:expires],:domain=>cookie[:domain]})
64
- end
29
+ end
@@ -33,12 +33,6 @@ And /^Elijo la opcion cerrar popup en el popup de cross sell hoteles$/ do
33
33
  BROWSER.div(:id,'popup-cross-sell-row').span(:class,"popup-close-button popup-close").click
34
34
  end
35
35
 
36
- And /^Verifico que se cree la cookie "(.+)" con valor "(.+)"$/ do |name,value|
37
- cookie = get_cookie(name)
38
- cookie.should be_true
39
- cookie[:value].should equal(value)
40
- end
41
-
42
36
  And /^Verifico el popup de cross sell hoteles dirija a la pagina correcta$/ do
43
37
  #BROWSER.url.should match("#{@search.host}/cp/shop/search/#{@search.path}")
44
38
  end
@@ -55,24 +49,4 @@ end
55
49
 
56
50
  And /^Verifico que no muestre el popup de cross sell hoteles$/ do
57
51
  BROWSER.div(:id,'popup-cross-sell-row').should_not visible
58
- end
59
-
60
- And /^Elimino la cookie de cross sell row hoteles$/ do
61
- if get_cookie("crossSellRow")
62
- delete_cookie("crossSellRow")
63
- end
64
- end
65
-
66
- And /^seteo el abztesting de crossSellingRow$/ do
67
- value = BROWSER.cookies.to_a.select{|cookie| cookie[:name]=="abzTestingId"}.first
68
- new_value = value[:value].gsub(/#{get_abtesting('crossSellingRow')}/,'15')
69
- delete_cookie("abzTestingId")
70
- add_cookie("abzTestingId",new_value,{:expires => value[:expires],:domain=>value[:domain]})
71
- end
72
-
73
- And /^seteo el abztesting de showCrossSellHotels$/ do
74
- value = BROWSER.cookies.to_a.select{|cookie| cookie[:name]=="abzTestingId"}.first
75
- new_value = value[:value].gsub(/#{get_abtesting('showCrossSellHotels')}/,'15')
76
- delete_cookie("abzTestingId")
77
- add_cookie("abzTestingId",new_value,{:expires => value[:expires],:domain=>value[:domain]})
78
52
  end
@@ -171,6 +171,9 @@ And /^Completo los datos de contacto/ do
171
171
  container.text_field(:id,"contact-email").set("bookingvuelos@despegar.com")
172
172
  container.text_field(:id,"contact-email-repeat").set("bookingvuelos@despegar.com")
173
173
  container.select_list(:id,"phone-type-0").options[2].select
174
+ container.text_field(:id,'country-code-0').should visible
175
+ container.text_field(:id,'country-code-0').set("AR")
176
+ container.ul(:id,'country-code-list').span(:class,'flagIcon flag-ar').click
174
177
  container.text_field(:id,"area-code-0").set("055")
175
178
  container.text_field(:id,"phone-number-0").set("123456")
176
179
  end
@@ -8,18 +8,6 @@ When /^Verifico que funcione el paginado correctamente en resultados$/ do
8
8
  end
9
9
  end
10
10
 
11
- #And /^Verifico que el paginado mantenga los filtros en resultados$/ do
12
- # BROWSER.ul(:class,'filterPanelItems accordion-content').links[0].click
13
- # sleep(0.5)
14
- # if BROWSER.div(:class,'flights-pagination pagination').li(:class,'pagination-button next').present?
15
- # url_with_filter = BROWSER.url
16
- # BROWSER.div(:class,'flights-pagination pagination').li(:class,'pagination-button next').links[0].click
17
- # Watir::Wait.until(timeout = 5){url_with_filter != BROWSER.url}
18
- # BROWSER.url.strip.should equal(url_with_filter.strip.gsub(/\/1\//,"/2/"))
19
- # end
20
- # reset_filter
21
- #end
22
-
23
11
  Then /^Vuelvo a la primer pagina en resultados$/ do
24
12
  Watir::Wait.until(timeout = 20){!BROWSER.div(:class,'update-message').present? and !BROWSER.div(:id,'results-update').present? and !BROWSER.div(:class,'results-update').present?}
25
13
  while BROWSER.li(:class,'pagination-button prev').present?
@@ -1,4 +1,4 @@
1
- class DatosNew
1
+ class DataCluster
2
2
  attr_accessor :origen, :destino, :fecha, :aerolinea, :escalas, :destino_iata, :origen_iata, :hou_sal_ida, :hou_lle_ida,:attributes, :duracion
3
3
 
4
4
  def initialize (origen,destino,fecha, aerolinea, escalas, origen_iata=nil, destino_iata=nil,hou_sal_ida=nil,hou_lle_ida=nil,duracion=nil)
@@ -1,4 +1,4 @@
1
- require_relative 'data/datos_new'
1
+ require_relative 'data/data'
2
2
  class ResultsCluster
3
3
 
4
4
  attr_accessor :ida, :vuelta, :tarifas, :idas, :vueltas
@@ -40,9 +40,9 @@ class ResultsCluster
40
40
  aerolinea << aer.attributes['src'].match(/(..).png/)[1].upcase
41
41
  i = i + 1
42
42
  end
43
- hou_sal_ida = Time.parse((div_datos_ida/"li.leave span.hour").inner_text.strip)
44
- hou_lle_ida = Time.parse((div_datos_ida/"li.arrive span.hour").inner_text.strip)
45
- @idas << DatosNew.new(origen,destino,fecha, aerolinea, escala_to_i(escala),origen_iata,destino_iata,hou_sal_ida,hou_lle_ida,duracion)
43
+ hou_sal_ida = Time.parse((div_datos_ida/"li.leave strong").inner_text.strip)
44
+ hou_lle_ida = Time.parse((div_datos_ida/"li.arrive strong").inner_text.strip)
45
+ @idas << DataCluster.new(origen,destino,fecha, aerolinea, escala_to_i(escala),origen_iata,destino_iata,hou_sal_ida,hou_lle_ida,duracion)
46
46
  end
47
47
  @nro_vuelo_ida = 0
48
48
  @ida = @idas[@nro_vuelo_ida]
@@ -69,9 +69,9 @@ class ResultsCluster
69
69
  aerolinea << aer.attributes['src'].match(/(..).png/)[1].upcase
70
70
  i = i + 1
71
71
  end
72
- hou_sal_ida = Time.parse((div_datos_vuelta/"li.leave span.hour").inner_text.strip)
73
- hou_lle_ida = Time.parse((div_datos_vuelta/"li.arrive span.hour").inner_text.strip)
74
- @vueltas << DatosNew.new(origen,destino,fecha, aerolinea, escala_to_i(escala),origen_iata,destino_iata,hou_sal_ida,hou_lle_ida,duracion)
72
+ hou_sal_ida = Time.parse((div_datos_vuelta/"li.leave strong").inner_text.strip)
73
+ hou_lle_ida = Time.parse((div_datos_vuelta/"li.arrive strong").inner_text.strip)
74
+ @vueltas << DataCluster.new(origen,destino,fecha, aerolinea, escala_to_i(escala),origen_iata,destino_iata,hou_sal_ida,hou_lle_ida,duracion)
75
75
  end
76
76
  @nro_vuelo_vuelta = 0
77
77
  @vuelta = @vueltas[@nro_vuelo_vuelta]
@@ -12,9 +12,9 @@ Característica: checkout.chat
12
12
  Entonces verifico que se muestre todo correctamente
13
13
  Y Cierro el chat
14
14
 
15
- @ar
15
+ @co
16
16
  Ejemplos:
17
17
  |pais|cabotage|tipo|
18
- |AR|nil|roundtrip|
19
- |AR|true|oneway|
20
- |AR|nil|multipledestinations|
18
+ |CO|nil|roundtrip|
19
+ |CO|true|oneway|
20
+ |CO|nil|multipledestinations|
@@ -10,7 +10,7 @@ Característica: search.cross_sell_row_hoteles
10
10
  Cuando Espero que termine de cargar
11
11
  Entonces Verifico que traiga resultados
12
12
  Y Elimino la cookie de cross sell row hoteles
13
- Y seteo el abztesting de crossSellingRow
13
+ Y Fuerzo la cookie de abztesting el valor "crossSellingRow" al "15"
14
14
  Cuando Ingreso a la pagina de resultados en "<pais>" para una busqueda "<tipo>" del tipo "<cabotage>"
15
15
  Cuando Espero que termine de cargar
16
16
  Cuando Elijo un itinerario y paso a checkout
@@ -35,7 +35,7 @@ Característica: search.cross_sell_row_hoteles
35
35
  Cuando Espero que termine de cargar
36
36
  Entonces Verifico que traiga resultados
37
37
  Y Elimino la cookie de cross sell row hoteles
38
- Y seteo el abztesting de crossSellingRow
38
+ Y Fuerzo la cookie de abztesting el valor "crossSellingRow" al "15"
39
39
  Cuando Elijo un itinerario y paso a checkout
40
40
  Entonces Si aparece el popup de cross sell hoteles, Verifico que se muestre correctamente el popup de cross sell hoteles
41
41
  Y Si aparece el popup de cross sell hoteles, Elijo la opcion de No gracias en el popup de cross sell hoteles
@@ -55,7 +55,7 @@ Característica: search.cross_sell_row_hoteles
55
55
  Cuando Espero que termine de cargar
56
56
  Entonces Verifico que traiga resultados
57
57
  Y Elimino la cookie de cross sell row hoteles
58
- Y seteo el abztesting de crossSellingRow
58
+ Y Fuerzo la cookie de abztesting el valor "crossSellingRow" al "15"
59
59
  Cuando Elijo un itinerario y paso a checkout
60
60
  Entonces Si aparece el popup de cross sell hoteles, Verifico que se muestre correctamente el popup de cross sell hoteles
61
61
  Y Si aparece el popup de cross sell hoteles, Elijo la opcion cerrar popup en el popup de cross sell hoteles
@@ -16,6 +16,7 @@ Característica: matrix.price
16
16
  Y Verifico que la fechas buscadas sea la central en la matriz de precios
17
17
  Y Verifico que exista otra fecha con precio en la matriz de precios
18
18
  Entonces Espero que termine de cargar
19
+ Y Si no se muestra la matriz de precios, Realizo las busquedas para recargar la matriz
19
20
  Entonces Verifico que se muestre la matriz de precios
20
21
  Y Verifico la correcta disposicion de la matriz de precios
21
22
  Y Verifico las fechas de la matriz de precios
@@ -23,6 +24,7 @@ Característica: matrix.price
23
24
  Y Verifico que el precio mostrado en la matriz sea el primero en los itinerarios
24
25
  Y Elijo una opcion sin precio en la matriz de precios
25
26
  Entonces Espero que termine de cargar
27
+ Y Si no se muestra la matriz de precios, Realizo las busquedas para recargar la matriz
26
28
  Entonces Verifico que se muestre la matriz de precios
27
29
  Y Verifico la correcta disposicion de la matriz de precios
28
30
  Y Verifico las fechas de la matriz de precios
@@ -1,6 +1,6 @@
1
1
  #language: es
2
- @anticipatedSearch
3
- Característica: anticipatedSearch
2
+ @anticipated_search
3
+ Característica: anticipated_search
4
4
  Busqueda anticipada
5
5
 
6
6
  Esquema del escenario: Ingresar a resultados y probar con diferentes combianciones de filtros
@@ -9,7 +9,7 @@ Característica: others.newsletter
9
9
  Cuando Espero que termine de cargar
10
10
  Entonces Verifico que traiga resultados
11
11
  Entonces Fuerzo la cookie de newsletter al "3"
12
- Y Fuerzo el abztesting de newsletter al "40"
12
+ Y Fuerzo la cookie de abztesting el valor "newsletterPopup" al "40"
13
13
  Y Refresco la pagina
14
14
  Y Verifico que se creen las cookies
15
15
  Cuando Espero que termine de cargar
@@ -54,8 +54,8 @@ Característica: others.newsletter
54
54
  Cuando Espero que termine de cargar
55
55
  Entonces Verifico que traiga resultados
56
56
  Entonces Fuerzo la cookie de newsletter al "0"
57
- Y Fuerzo el abztesting de newsletter al "90"
58
- Y Fuerzo el abztesting de showPopupCounter al "35"
57
+ Y Fuerzo la cookie de abztesting el valor "newsletterPopup" al "90"
58
+ Y Fuerzo la cookie de abztesting el valor "showPopupCounter" al "35"
59
59
  Y Refresco la pagina
60
60
  Cuando Espero que termine de cargar
61
61
  Entonces Verifico que cargue el popup chico de newsletter
@@ -104,8 +104,8 @@ Característica: others.newsletter
104
104
  Y Refresco la pagina
105
105
  Cuando Espero que termine de cargar
106
106
  Entonces Fuerzo la cookie de newsletter al "1"
107
- Y Fuerzo el abztesting de newsletter al "90"
108
- Y Fuerzo el abztesting de showPopupCounter al "60"
107
+ Y Fuerzo la cookie de abztesting el valor "newsletterPopup" al "90"
108
+ Y Fuerzo la cookie de abztesting el valor "showPopupCounter" al "60"
109
109
  Y Refresco la pagina
110
110
  Cuando Espero que termine de cargar
111
111
  Entonces Verifico que cargue el popup chico de newsletter
@@ -124,8 +124,8 @@ Característica: others.newsletter
124
124
  Cuando Espero que termine de cargar
125
125
  Entonces Verifico que traiga resultados
126
126
  Entonces Fuerzo la cookie de newsletter al "3"
127
- Y Fuerzo el abztesting de newsletter al "90"
128
- Y Fuerzo el abztesting de showPopupCounter al "90"
127
+ Y Fuerzo la cookie de abztesting el valor "newsletterPopup" al "90"
128
+ Y Fuerzo la cookie de abztesting el valor "showPopupCounter" al "90"
129
129
  Y Refresco la pagina
130
130
  Cuando Espero que termine de cargar
131
131
  Entonces Verifico que cargue el popup chico de newsletter
@@ -144,8 +144,8 @@ Característica: others.newsletter
144
144
  Cuando Espero que termine de cargar
145
145
  Entonces Verifico que traiga resultados
146
146
  Entonces Fuerzo la cookie de newsletter al "1"
147
- Y Fuerzo el abztesting de newsletter al "90"
148
- Y Fuerzo el abztesting de showPopupCounter al "20"
147
+ Y Fuerzo la cookie de abztesting el valor "newsletterPopup" al "90"
148
+ Y Fuerzo la cookie de abztesting el valor "showPopupCounter" al "20"
149
149
  Y Refresco la pagina
150
150
  Cuando Espero que termine de cargar
151
151
  Entonces Verifico que no cargue el popup de newsletter
@@ -161,7 +161,7 @@ Característica: others.newsletter
161
161
  Cuando Espero que termine de cargar
162
162
  Entonces Verifico que traiga resultados
163
163
  Entonces Fuerzo la cookie de newsletter al "1"
164
- Y Fuerzo el abztesting de newsletter al "15"
164
+ Y Fuerzo la cookie de abztesting el valor "newsletterPopup" al "15"
165
165
  Y Refresco la pagina
166
166
  Cuando Espero que termine de cargar
167
167
  Entonces Verifico que no cargue el popup de newsletter
@@ -15,7 +15,7 @@
15
15
 
16
16
  gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]
17
17
 
18
- gem.version = '1.9.8' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
18
+ gem.version = '1.9.9' #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('watir-webdriver')
data/henry-context.yml CHANGED
@@ -9716,11 +9716,11 @@ tasks:
9716
9716
  recipients:
9717
9717
  - estebanldh@gmail.com
9718
9718
  - nsimean@despegar.com
9719
- - name: anticipatedSearch
9719
+ - name: anticipated_search
9720
9720
  class_name: Henry::Task::CucumberTask
9721
9721
  options:
9722
9722
  tags:
9723
- - anticipatedSearch
9723
+ - anticipated_search
9724
9724
  expand: true
9725
9725
  no-source: true
9726
9726
  reports:
@@ -14936,13 +14936,13 @@ tasks:
14936
14936
  recipients:
14937
14937
  - estebanldh@gmail.com
14938
14938
  - nsimean@despegar.com
14939
- - name: checkout.chat.ar
14939
+ - name: checkout.chat.co
14940
14940
  class_name: Henry::Task::CucumberTask
14941
14941
  options:
14942
14942
  tags:
14943
14943
  - checkout
14944
14944
  - chat
14945
- - ar
14945
+ - co
14946
14946
  expand: true
14947
14947
  no-source: true
14948
14948
  reports:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flights_gui_henry_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.8
4
+ version: 1.9.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez,lsimean
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-27 00:00:00.000000000 Z
11
+ date: 2014-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container
@@ -168,7 +168,7 @@ files:
168
168
  - features/support/lib/clusters/checkout_cluster.rb
169
169
  - features/support/lib/clusters/results_cluster.rb
170
170
  - features/support/lib/clusters/details/details_cluster.rb
171
- - features/support/lib/clusters/data/datos_new.rb
171
+ - features/support/lib/clusters/data/data.rb
172
172
  - features/support/lib/helpers.rb
173
173
  - features/support/lib/price.rb
174
174
  - features/support/lib/helpers/clusters.rb
@@ -215,6 +215,7 @@ files:
215
215
  - features/step_definitions/others/querystringparameters_steps.rb
216
216
  - features/step_definitions/others/flights_tracker_steps.rb
217
217
  - features/step_definitions/others/anticipatedsearch_steps.rb
218
+ - features/step_definitions/others/cookies_steps.rb
218
219
  - features/step_definitions/others/recommendation_steps.rb
219
220
  - features/step_definitions/others/print_steps.rb
220
221
  - features/step_definitions/others/tag_steps.rb