flights_gui_tests 1.5.0 → 1.5.1

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: f7a20a5b9f0effc07a2d00e219986fec1bdd8802
4
- data.tar.gz: c3675f8c8fa1c40520d46df38c6c22f923ef9bdc
3
+ metadata.gz: 864ebde9fadb930ea8c6a2a17aaf275cf8a539e6
4
+ data.tar.gz: 51fc811757143da21c9f218ce408e5a1d56eb053
5
5
  SHA512:
6
- metadata.gz: 2f3403d0b93e06300348736a81a241f4cc2d29a7cc75df8c79271b09e3baead7c7def96d5b2469782bd1ce6d34380f874897301785d135142d6eac4c516f275b
7
- data.tar.gz: feeec175e37e3aebef5f2799a13be7b8cd8f505ff2efc1b9604a6ad9250a40f074f3871546a841e5b14f5a717bb5b894adbdcd4aa2880b61c7410f3da5827570
6
+ metadata.gz: b6381515fd2221a09e05e53c7fb6735280e00ac98d8a0bc734f05487a15658f9755816b90de0c6fa7f3081958da26bb8241cac75348f3e4eeefecd11da60688d
7
+ data.tar.gz: 3717396cbe2e3b6956fcc116d7177770598fdfece1fd8a25db8c8da4b7fc9cb4741bc8a457b9c8fb17f6dad85feb60de6e3420295d3cc040c2962059b4d56b56
@@ -4,6 +4,12 @@ IN:
4
4
  rc: http://rc.despegar.it
5
5
  ic: http://ic.despegar.it
6
6
  desa: http://desa.despegar.com:8080
7
+ CN:
8
+ produccion: http://www.despegar.com
9
+ beta: http://www.despegar.com
10
+ rc: http://rc.despegar.it
11
+ ic: http://ic.despegar.it
12
+ desa: http://desa.despegar.com:8080
7
13
  AR:
8
14
  produccion: http://www.despegar.com.ar
9
15
  beta: http://www.despegar.com.ar
@@ -1,49 +1,51 @@
1
1
  CL:
2
- - {code: "SCL", airports: ["SCL"], name: "Santiago de Chile|Santiago"}
3
- - {code: "IQQ", airports: ["IQQ"], name: "Iquique"}
2
+ - {code: "SCL", airports: ["SCL"], name: "Santiago de Chile|Santiago", name_lang: {es: "Santiago de Chile",en: "Santiago", pt: "Santiago"}}
3
+ - {code: "IQQ", airports: ["IQQ"], name: "Iquique", name_lang: {es: "Iquique",en: "Iquique", pt: "Iquique"}}
4
4
  AR:
5
- - {code: "BUE", airports: ["EZE", "AEP", "BUE"], name: "Buenos Aires"}
6
- - {code: "COR", airports: ["COR"], name: "Cordoba"}
7
- - {code: "BRC", airports: ["BRC"], name: "San Carlos de Bariloche"}
5
+ - {code: "BUE", airports: ["EZE", "AEP", "BUE"], name: "Buenos Aires", name_lang: {es: "Buenos Aires",en: "Buenos Aires", pt: "Buenos Aires"}}
6
+ - {code: "COR", airports: ["COR"], name: "Cordoba", name_lang: {es: "Cordoba",en: "Cordoba", pt: "Cordoba"}}
7
+ - {code: "BRC", airports: ["BRC"], name: "San Carlos de Bariloche", name_lang: {es: "San Carlos de Bariloche",en: "San Carlos de Bariloche", pt: "San Carlos de Bariloche"}}
8
8
  BR:
9
- - {code: "SAO", airports: ["SAO", "GRU", "CGH", "VCP", "CPQ"], name: "San Pablo|Sao Paulo"}
10
- - {code: "RIO", airports: ["RIO", "SDU", "GIG"], name: "Rio de Janeiro"}
11
- - {code: "FLN", airports: ["FLN"], name: "Florianopolis"}
12
- - {code: "POA", airports: ["POA"], name: "Porto Alegre"}
13
- - {code: "REC", airports: ["REC"], name: "Recife"}
9
+ - {code: "SAO", airports: ["SAO", "GRU", "CGH", "VCP", "CPQ"], name: "San Pablo|Sao Paulo", name_lang: {es: "San Pablo",en: "San Pablo", pt: "Sao Paulo"}}
10
+ - {code: "RIO", airports: ["RIO", "SDU", "GIG"], name: "Rio de Janeiro", name_lang: {es: "Rio de Janeiro",en: "Rio de Janeiro", pt: "Rio de Janeiro"}}
11
+ - {code: "FLN", airports: ["FLN"], name: "Florianopolis", name_lang: {es: "Florianopolis",en: "Florianopolis", pt: "Florianopolis"}}
12
+ - {code: "POA", airports: ["POA"], name: "Porto Alegre", name_lang: {es: "Porto Alegre",en: "Porto Alegre", pt: "Porto Alegre"}}
13
+ - {code: "REC", airports: ["REC"], name: "Recife", name_lang: {es: "Recife",en: "Recife", pt: "Recife"}}
14
14
  MX:
15
- - {code: "MEX", airports: ["MEX", "TLC"], name: "Ciudad de Mexico|Cidade do Mexico|Mexico City"}
16
- - {code: "GDL", airports: ["GDL"], name: "Guadalajara"}
17
- - {code: "CUN", airports: ["CUN"], name: "Cancun"}
18
- - {code: "MTY", airports: ["MTY"], name: "Monterrey"}
15
+ - {code: "MEX", airports: ["MEX", "TLC"], name: "Ciudad de Mexico|Cidade do Mexico|Mexico City", name_lang: {es: "Ciudad de Mexico",en: "Cidade do Mexico", pt: "Mexico City"}}
16
+ - {code: "GDL", airports: ["GDL"], name: "Guadalajara", name_lang: {es: "Guadalajara",en: "Guadalajara", pt: "Guadalajara"}}
17
+ - {code: "CUN", airports: ["CUN"], name: "Cancun", name_lang: {es: "Cancun",en: "Cancun", pt: "Cancun"}}
18
+ - {code: "MTY", airports: ["MTY"], name: "Monterrey", name_lang: {es: "Monterrey",en: "Monterrey", pt: "Monterrey"}}
19
19
  PE:
20
- - {code: "LIM", airports: ["LIM"], name: "Lima"}
20
+ - {code: "LIM", airports: ["LIM"], name: "Lima", name_lang: {es: "Lima",en: "Lima", pt: "Lima"}}
21
21
  VE:
22
- - {code: "CCS", airports: ["CCS"], name: "Caracas"}
22
+ - {code: "CCS", airports: ["CCS"], name: "Caracas", name_lang: {es: "Caracas",en: "Caracas", pt: "Caracas"}}
23
23
  CO:
24
- - {code: "BOG", airports: ["BOG"], name: "Bogota"}
25
- - {code: "MDE", airports: ["MDE"], name: "Medellin"}
26
- - {code: "CLO", airports: ["CLO"], name: "Cali"}
27
- - {code: "CTG", airports: ["CTG"], name: "Cartagena de Indias"}
24
+ - {code: "BOG", airports: ["BOG"], name: "Bogota", name_lang: {es: "Bogota",en: "Bogota", pt: "Bogota"}}
25
+ - {code: "MDE", airports: ["MDE"], name: "Medellin", name_lang: {es: "Medellin",en: "Medellin", pt: "Medellin"}}
26
+ - {code: "CLO", airports: ["CLO"], name: "Cali", name_lang: {es: "Cali",en: "Cali", pt: "Cali"}}
27
+ - {code: "CTG", airports: ["CTG"], name: "Cartagena de Indias", name_lang: {es: "Cartagena de Indias",en: "Cartagena de Indias", pt: "Cartagena de Indias"}}
28
28
  CR:
29
- - {code: "SJO", airports: ["SJO"], name: "San Jose|Sao Jose"}
29
+ - {code: "SJO", airports: ["SJO"], name: "San Jose|Sao Jose", name_lang: {es: "San Jose",en: "San Jose", pt: "Sao Jose"}}
30
30
  PA:
31
- - {code: "PTY", airports: ["PTY"], name: "Panama|Cidade do Panama"}
31
+ - {code: "PTY", airports: ["PTY"], name: "Panama|Cidade do Panama", name_lang: {es: "Panama",en: "Panama", pt: "Cidade do Panama"}}
32
32
  UY:
33
- - {code: "MVD", airports: ["MVD"], name: "Montevideo|Montevideu"}
33
+ - {code: "MVD", airports: ["MVD"], name: "Montevideo|Montevideu", name_lang: {es: "Montevideo",en: "Montevideo", pt: "Montevideu"}}
34
34
  EC:
35
- - {code: "UIO", airports: ["UIO"], name: "Quito"}
36
- - {code: "GYE", airports: ["GYE"], name: "Guayaquil|Guaiaquil"}
35
+ - {code: "UIO", airports: ["UIO"], name: "Quito", name_lang: {es: "Quito",en: "Quito", pt: "Quito"}}
36
+ - {code: "GYE", airports: ["GYE"], name: "Guayaquil|Guaiaquil", name_lang: {es: "Guayaquil",en: "Guayaquil", pt: "Guaiaquil"}}
37
37
  ES:
38
- - {code: "BCN", airports: ["BCN"], name: "Barcelona"}
38
+ - {code: "BCN", airports: ["BCN"], name: "Barcelona", name_lang: {es: "Barcelona",en: "Barcelona", pt: "Barcelona"}}
39
39
  PR:
40
- - {code: "SJU", airports: ["SJU"], name: "San Juan"}
40
+ - {code: "SJU", airports: ["SJU"], name: "San Juan", name_lang: {es: "San Juan",en: "San Juan", pt: "San Juan"}}
41
+ CN:
42
+ - {code: "HKG", airports: ["HKG"], name: "Hong Kong", name_lang: {es: "Hong Kong",en: "Hong Kong", pt: "Hong Kong"}}
43
+ - {code: "SHA", airports: ["SHA","PVG"], name: "Shanghai", name_lang: {es: "Shanghai",en: "Shanghai", pt: "Shanghai"}}
41
44
  IN:
42
- - {code: "BCN", airports: ["BCN"], name: "Barcelona"}
43
- - {code: "PAR", airports: ["PAR"], name: "Paris"}
45
+ - {code: "DEL", airports: ["DEL"], name: "Delhi", name_lang: {es: "Deli",en: "new delhi", pt: "Delhi"}}
44
46
  US:
45
- - {code: "MIA", airports: ["MIA","FLL"], name: "Miami|Fort Lauderdale"}
46
- - {code: "LAX", airports: ["LAX"], name: "Los Angeles"}
47
- - {code: "LAS", airports: ["LAS"], name: "Las Vegas"}
48
- - {code: "NYC", airports: ["EWR", "JFK", "LGA", "NYC"], name: "Nueva York|Nova York"}
49
- - {code: "WAS", airports: ["WAS", "DCA", "BWI", "IAD"], name: "Washington"}
47
+ - {code: "MIA", airports: ["MIA","FLL"], name: "Miami", name_lang: {es: "Miami",en: "Miami", pt: "Miami"}}
48
+ - {code: "LAX", airports: ["LAX"], name: "Los Angeles", name_lang: {es: "Los Angeles",en: "Los Angeles", pt: "Los Angeles"}}
49
+ - {code: "LAS", airports: ["LAS"], name: "Las Vegas", name_lang: {es: "Las Vegas",en: "Las Vegas", pt: "Las Vegas"}}
50
+ - {code: "NYC", airports: ["EWR", "JFK", "LGA", "NYC"], name: "Nueva York|Nova York", name_lang: {es: "Nueva York",en: "Nova York", pt: "New York"}}
51
+ - {code: "WAS", airports: ["WAS", "DCA", "BWI", "IAD"], name: "Washington", name_lang: {es: "Washington",en: "Washington", pt: "Washington"}}
@@ -69,6 +69,7 @@ Y(/^(?:verifico|valido) si no trae errores$/) do
69
69
  puts "Se mostro el popup de cambio de precio"
70
70
  @page.boton_si_cambio_precio_element.click
71
71
  step "espero que termine el pedido de compra"
72
+ @cambio_precio=true
72
73
  end
73
74
  unless @page.popup_nuevo_vuelo_element.present?
74
75
  doc = Hpricot.parse(@page.html)
@@ -2,6 +2,8 @@
2
2
  Entonces(/^(?:verifico|valido) los textos de las opciones del combo$/) do
3
3
  combo_text = case AllPages.site
4
4
  when 'US' then 'Recommended'
5
+ when 'IN' then 'Recommended'
6
+ when 'CN' then 'Recommended'
5
7
  when 'BR' then 'Mais Escolhidos'
6
8
  else 'Mas Elegidos'
7
9
  end
@@ -3,7 +3,7 @@ Entonces(/^(?:verifico|valido) el link de mi despegar$/) do
3
3
  if AllPages.site=="BR"
4
4
  @page.link_mi_despegar_element.text.no_accents.downcase.should match("em caso de duvidas, acesse")
5
5
  @page.link_mi_despegar_element.link(:id,"my-despegar-link").should visible
6
- elsif AllPages.site=="US"
6
+ elsif AllPages.site=~/CN|US|IN/
7
7
  @page.link_mi_despegar_element.text.no_accents.downcase.should match("if you have any questions, login to my bookings")
8
8
  @page.link_mi_despegar_element.link(:id,"my-despegar-link").should visible
9
9
  else
@@ -13,13 +13,15 @@ Entonces(/^(?:verifico|valido) el link de mi despegar$/) do
13
13
  end
14
14
 
15
15
  Y(/^(?:verifico|valido) los valores del desglose en gracias contra los del checkout/) do
16
- @itinerario_gracias.validar_suma_desgloce.should be_within(4).of(@itinerario_gracias.tarifas['total'].value)
17
- unless @itinerario_gracias.tarifas['adt'].valor.zero? or @itinerario_gracias.tarifas['tarifa_adulto'].nil?
18
- @itinerario_gracias.tarifas['adt'].valor.should equal(@itinerario_gracias.tarifas['tarifa_adulto'].valor * @page.manage_data.adt)
19
- end
20
- unless @itinerario_checkout.tarifas['total'].zero?
21
- @itinerario_checkout.tarifas['total'].should equal(@itinerario_gracias.tarifas['total'])
22
- end
16
+ unless @cambio_precio
17
+ @itinerario_gracias.validar_suma_desgloce.should be_within(4).of(@itinerario_gracias.tarifas['total'].value)
18
+ unless @itinerario_gracias.tarifas['adt'].valor.zero? or @itinerario_gracias.tarifas['tarifa_adulto'].nil? or
19
+ @itinerario_gracias.tarifas['adt'].valor.should equal(@itinerario_gracias.tarifas['tarifa_adulto'].valor * @page.manage_data.adt)
20
+ end
21
+ unless @itinerario_checkout.tarifas['total'].zero?
22
+ @itinerario_checkout.tarifas['total'].should equal(@itinerario_gracias.tarifas['total'])
23
+ end
24
+ end
23
25
  end
24
26
 
25
27
  Entonces(/^(?:verifico|valido) los datos del vuelo comprado$/) do
@@ -68,6 +68,8 @@ module NewCheckout
68
68
  select_un_pago_argentina
69
69
  elsif AllPages.site=="PE"
70
70
  begin
71
+ select_un_pago_pe
72
+ rescue Watir::Exception::UnknownObjectException
71
73
  select_un_pago_debito
72
74
  rescue Watir::Exception::UnknownObjectException
73
75
  select_un_pago_peru_2
@@ -41,6 +41,8 @@ module Helpers
41
41
  case site
42
42
  when "BR" then cargar_brasil
43
43
  when "US" then cargar_usa
44
+ when "IN" then cargar_usa
45
+ when "CN" then cargar_usa
44
46
  else cargar_latino
45
47
  end
46
48
  end
@@ -57,6 +59,8 @@ module Helpers
57
59
  'PA' => 'USD',
58
60
  'UY' => 'USD',
59
61
  'EC' => 'USD',
62
+ 'IN' => 'USD',
63
+ 'CN' => 'USD',
60
64
  'US' => 'USD'
61
65
  }[site.upcase]
62
66
  end
@@ -10,13 +10,13 @@ module Results
10
10
  outbound = itinerarios_elements[i].div(:class,'itineraries').div(:class,'sub-cluster outbound').div(:class,'item data')
11
11
  (manage_data.city_from_1.airports.include?(outbound.spans(:class,'airport')[0].text)).should be_true
12
12
  (manage_data.city_to_1.airports.include?(outbound.spans(:class,'airport')[1].text)).should be_true
13
- outbound.span(:class,'city-departure').text.no_accents.downcase.gsub(",","").strip.should equal(manage_data.city_from_1.name(AllPages.site).downcase) unless outbound.span(:class,'city-departure').text.downcase.no_accents.gsub(",","").strip.match("toluca|campinas|fort lauderdale")
14
- outbound.span(:class,'city-arrival').text.no_accents.downcase.gsub(",","").strip.should match(manage_data.city_to_1.name(AllPages.site).downcase) unless outbound.span(:class,'city-arrival').text.downcase.no_accents.gsub(",","").strip.match("toluca|campinas|fort lauderdale")
13
+ outbound.span(:class,'city-departure').text.no_accents.downcase.gsub(",","").strip.should equal(manage_data.city_from_1.name_lang[AllPages.lang].downcase) unless outbound.span(:class,'city-departure').text.downcase.no_accents.gsub(",","").strip.match("toluca|campinas|fort lauderdale")
14
+ outbound.span(:class,'city-arrival').text.no_accents.downcase.gsub(",","").strip.should match(manage_data.city_to_1.name_lang[AllPages.lang].downcase) unless outbound.span(:class,'city-arrival').text.downcase.no_accents.gsub(",","").strip.match("toluca|campinas|fort lauderdale")
15
15
  if tipo_de_busqueda == "roundtrip"
16
16
  inbound = itinerarios_elements[i].div(:class,'itineraries').div(:class,'sub-cluster inbound').div(:class,'item data')
17
17
  (manage_data.city_to_1.airports.include?(inbound.spans(:class,'airport')[0].text)).should be_true
18
18
  (manage_data.city_from_1.airports.include?(inbound.spans(:class,'airport')[1].text)).should be_true
19
- inbound.span(:class,'city-departure').text.no_accents.downcase.gsub(",","").strip.should match(manage_data.city_to_1.name(AllPages.site).downcase) unless inbound.span(:class,'city-departure').text.downcase.no_accents.gsub(",","").strip.match("toluca|campinas")
19
+ inbound.span(:class,'city-departure').text.no_accents.downcase.gsub(",","").strip.should match(manage_data.city_to_1.name_lang[AllPages.lang].downcase) unless inbound.span(:class,'city-departure').text.downcase.no_accents.gsub(",","").strip.match("toluca|campinas|fort lauderdale")
20
20
  end
21
21
  end
22
22
  end
@@ -25,6 +25,8 @@ module Results
25
25
 
26
26
  country = case AllPages.site
27
27
  when "US" then "US"
28
+ when "IN" then "US"
29
+ when "CN" then "US"
28
30
  when "BR" then "BR"
29
31
  else "DF"
30
32
  end
@@ -105,6 +105,8 @@ class AllPages
105
105
  when 'CR' then 'despegar.co.cr'
106
106
  when 'CL' then 'despegar.cl'
107
107
  when 'US' then 'us.despegar.com'
108
+ when 'IN' then 'despegar.com'
109
+ when 'CN' then 'despegar.com'
108
110
  else "despegar.com.#{@@site.downcase}"
109
111
  end
110
112
 
@@ -113,11 +115,19 @@ class AllPages
113
115
  @browser.execute_script("javascript:void(document.cookie = 'X-UOW-CUSTOM=#{@uow}; Path=/')")
114
116
  rescue
115
117
  puts "No se pudo cargar el X-UOW"
116
- end
118
+ end
119
+ if AllPages.lang=="en"
120
+ begin
121
+ @browser.execute_script("javascript:void(document.cookie = 'x-locale=en-#{@@site.upcase}; Path=/')")
122
+ rescue
123
+ puts "No se pudo cargar el X-locale"
124
+ end
125
+ end
117
126
  if $ENV.upcase=="BETA"
118
127
  if $ENV.upcase=="BETA"
119
128
  @browser.execute_script("javascript:void(document.cookie='X-Version-Override=#{add_cookie($HENRY_PARAMS['product'])};domain=#{dominio};path=/');")
120
129
  self.manage_data.set_header_json({"X-Version-Override"=>add_cookie($HENRY_PARAMS['product'])})
130
+ self.manage_data.set_header_json({"host"=>"www.us.despegar.com"}) if AllPages.lang=="en"
121
131
  end
122
132
  begin
123
133
  @browser.refresh
@@ -135,4 +145,14 @@ class AllPages
135
145
  @uow
136
146
  end
137
147
 
148
+ def self.lang
149
+ case @@site
150
+ when "BR" then "pt"
151
+ when "US" then "en"
152
+ when "IN" then "en"
153
+ when "CN" then "en"
154
+ else "es"
155
+ end
156
+ end
157
+
138
158
  end
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "1.5.0"
2
+ VERSION = "1.5.1"
3
3
  end
@@ -43,6 +43,36 @@ Característica: checkout.book_ok
43
43
  Y verifico el pixel de Efrontier
44
44
  Y verifico los datos de la reserva enviados a fenix
45
45
 
46
+ @in
47
+ @roundtrip
48
+ Ejemplos:
49
+ |pais|tipo|cabotage|
50
+ |IN |roundtrip|nil|
51
+ @in
52
+ @oneway
53
+ Ejemplos:
54
+ |pais|tipo|cabotage|
55
+ |IN |oneway|true|
56
+ @in
57
+ @multipledestinations
58
+ Ejemplos:
59
+ |pais|tipo|cabotage|
60
+ |IN |multipledestinations|nil|
61
+ @cn
62
+ @roundtrip
63
+ Ejemplos:
64
+ |pais|tipo|cabotage|
65
+ |CN |roundtrip|nil|
66
+ @cn
67
+ @oneway
68
+ Ejemplos:
69
+ |pais|tipo|cabotage|
70
+ |CN |oneway|true|
71
+ @cn
72
+ @multipledestinations
73
+ Ejemplos:
74
+ |pais|tipo|cabotage|
75
+ |CN |multipledestinations|nil|
46
76
  @ar
47
77
  @roundtrip
48
78
  Ejemplos:
@@ -19,6 +19,18 @@ Característica: results.basefare
19
19
  Entonces verifico la base tarifaria
20
20
  Y verifico el breakdown
21
21
 
22
+ @cn
23
+ Ejemplos:
24
+ |pais|tipo|cabotage|
25
+ |CN |roundtrip|true|
26
+ |CN |multipledestinations|true|
27
+ |CN |oneway|nil|
28
+ @in
29
+ Ejemplos:
30
+ |pais|tipo|cabotage|
31
+ |IN |roundtrip|true|
32
+ |IN |multipledestinations|true|
33
+ |IN |oneway|nil|
22
34
  @ar
23
35
  Ejemplos:
24
36
  |pais|tipo|cabotage|
@@ -18,6 +18,36 @@ Característica: results.errors
18
18
  Cuando si el site no es "MX|BR", ingreso una fecha del dia de hoy
19
19
  Entonces si el site no es "MX|BR", verifico mensaje de error "es una fecha demasiado cercana para comprar en nuestro sitio web| e uma data muito proxima ao embarque para voce comprar sua passagem em nosso website|is too soon to book on our website"
20
20
 
21
+ @in
22
+ @roundtrip
23
+ Ejemplos:
24
+ |pais|tipo|cabotage|
25
+ |IN |roundtrip|nil|
26
+ @in
27
+ @oneway
28
+ Ejemplos:
29
+ |pais|tipo|cabotage|
30
+ |IN |oneway|true|
31
+ @in
32
+ @multipledestinations
33
+ Ejemplos:
34
+ |pais|tipo|cabotage|
35
+ |IN |multipledestinations|nil|
36
+ @cn
37
+ @roundtrip
38
+ Ejemplos:
39
+ |pais|tipo|cabotage|
40
+ |CN |roundtrip|nil|
41
+ @cn
42
+ @oneway
43
+ Ejemplos:
44
+ |pais|tipo|cabotage|
45
+ |CN |oneway|true|
46
+ @cn
47
+ @multipledestinations
48
+ Ejemplos:
49
+ |pais|tipo|cabotage|
50
+ |CN |multipledestinations|nil|
21
51
  @ar
22
52
  @roundtrip
23
53
  Ejemplos:
@@ -17,6 +17,18 @@ Característica: results.itineraries
17
17
  Y cierro popups
18
18
  Entonces recorro y verifico cada itinerario
19
19
 
20
+ @cn
21
+ Ejemplos:
22
+ |pais|tipo|cabotage|
23
+ |CN |roundtrip|true|
24
+ |CN |multipledestinations|nil|
25
+ |CN |oneway|nil|
26
+ @in
27
+ Ejemplos:
28
+ |pais|tipo|cabotage|
29
+ |IN |roundtrip|true|
30
+ |IN |multipledestinations|true|
31
+ |IN |oneway|nil|
20
32
  @ar
21
33
  Ejemplos:
22
34
  |pais|tipo|cabotage|
@@ -20,6 +20,18 @@ Característica: results.pagination
20
20
  Cuando espero que termine de cargar la pagina de resultados
21
21
  Entonces verifico que el paginado no traiga mas de "<x>" paginas en resultados
22
22
 
23
+ @cn
24
+ Ejemplos:
25
+ |pais|tipo|cabotage|x|
26
+ |CN |roundtrip|true|10|
27
+ |CN |multipledestinations|true|10|
28
+ |CN |oneway|nil|10|
29
+ @in
30
+ Ejemplos:
31
+ |pais|tipo|cabotage|x|
32
+ |IN |roundtrip|true|10|
33
+ |IN |multipledestinations|true|10|
34
+ |IN |oneway|nil|10|
23
35
  @ar
24
36
  Ejemplos:
25
37
  |pais|tipo|cabotage|x|
@@ -13,6 +13,18 @@ Característica: results.reviews_airlines
13
13
  Entonces verifico que traiga resultados
14
14
  Entonces verifico las reviews de aerolineas
15
15
 
16
+ @cn
17
+ Ejemplos:
18
+ |pais|tipo|cabotage|
19
+ |CN |roundtrip|true|
20
+ |CN |multipledestinations|true|
21
+ |CN |oneway|nil|
22
+ @in
23
+ Ejemplos:
24
+ |pais|tipo|cabotage|
25
+ |IN |roundtrip|true|
26
+ |IN |multipledestinations|true|
27
+ |IN |oneway|nil|
16
28
  @ar
17
29
  Ejemplos:
18
30
  |pais|tipo|cabotage|
data/henry-context.yml CHANGED
@@ -1171,6 +1171,36 @@ tasks:
1171
1171
  recipients:
1172
1172
  - estebanldh@gmail.com
1173
1173
  - nsimean@despegar.com
1174
+ - name: results.basefare.cn
1175
+ class_name: Henry::Task::CucumberTask
1176
+ options:
1177
+ tags:
1178
+ - results
1179
+ - basefare
1180
+ - cn
1181
+ expand: true
1182
+ no-source: true
1183
+ reports:
1184
+ - format: html
1185
+ name: ${DATE}_${TASK_NAME}.html
1186
+ recipients:
1187
+ - estebanldh@gmail.com
1188
+ - nsimean@despegar.com
1189
+ - name: results.basefare.in
1190
+ class_name: Henry::Task::CucumberTask
1191
+ options:
1192
+ tags:
1193
+ - results
1194
+ - basefare
1195
+ - in
1196
+ expand: true
1197
+ no-source: true
1198
+ reports:
1199
+ - format: html
1200
+ name: ${DATE}_${TASK_NAME}.html
1201
+ recipients:
1202
+ - estebanldh@gmail.com
1203
+ - nsimean@despegar.com
1174
1204
  - name: results.basefare.ar
1175
1205
  class_name: Henry::Task::CucumberTask
1176
1206
  options:
@@ -1394,6 +1424,132 @@ tasks:
1394
1424
  recipients:
1395
1425
  - estebanldh@gmail.com
1396
1426
  - nsimean@despegar.com
1427
+ - name: results.errors.in
1428
+ class_name: Henry::Task::CucumberTask
1429
+ options:
1430
+ tags:
1431
+ - results
1432
+ - errors
1433
+ - in
1434
+ expand: true
1435
+ no-source: true
1436
+ reports:
1437
+ - format: html
1438
+ name: ${DATE}_${TASK_NAME}.html
1439
+ recipients:
1440
+ - estebanldh@gmail.com
1441
+ - nsimean@despegar.com
1442
+ - name: results.errors.in.roundtrip
1443
+ class_name: Henry::Task::CucumberTask
1444
+ options:
1445
+ tags:
1446
+ - results
1447
+ - errors
1448
+ - in
1449
+ - roundtrip
1450
+ expand: true
1451
+ no-source: true
1452
+ reports:
1453
+ - format: html
1454
+ name: ${DATE}_${TASK_NAME}.html
1455
+ recipients:
1456
+ - estebanldh@gmail.com
1457
+ - nsimean@despegar.com
1458
+ - name: results.errors.in.oneway
1459
+ class_name: Henry::Task::CucumberTask
1460
+ options:
1461
+ tags:
1462
+ - results
1463
+ - errors
1464
+ - in
1465
+ - oneway
1466
+ expand: true
1467
+ no-source: true
1468
+ reports:
1469
+ - format: html
1470
+ name: ${DATE}_${TASK_NAME}.html
1471
+ recipients:
1472
+ - estebanldh@gmail.com
1473
+ - nsimean@despegar.com
1474
+ - name: results.errors.in.multipledestinations
1475
+ class_name: Henry::Task::CucumberTask
1476
+ options:
1477
+ tags:
1478
+ - results
1479
+ - errors
1480
+ - in
1481
+ - multipledestinations
1482
+ expand: true
1483
+ no-source: true
1484
+ reports:
1485
+ - format: html
1486
+ name: ${DATE}_${TASK_NAME}.html
1487
+ recipients:
1488
+ - estebanldh@gmail.com
1489
+ - nsimean@despegar.com
1490
+ - name: results.errors.cn
1491
+ class_name: Henry::Task::CucumberTask
1492
+ options:
1493
+ tags:
1494
+ - results
1495
+ - errors
1496
+ - cn
1497
+ expand: true
1498
+ no-source: true
1499
+ reports:
1500
+ - format: html
1501
+ name: ${DATE}_${TASK_NAME}.html
1502
+ recipients:
1503
+ - estebanldh@gmail.com
1504
+ - nsimean@despegar.com
1505
+ - name: results.errors.cn.roundtrip
1506
+ class_name: Henry::Task::CucumberTask
1507
+ options:
1508
+ tags:
1509
+ - results
1510
+ - errors
1511
+ - cn
1512
+ - roundtrip
1513
+ expand: true
1514
+ no-source: true
1515
+ reports:
1516
+ - format: html
1517
+ name: ${DATE}_${TASK_NAME}.html
1518
+ recipients:
1519
+ - estebanldh@gmail.com
1520
+ - nsimean@despegar.com
1521
+ - name: results.errors.cn.oneway
1522
+ class_name: Henry::Task::CucumberTask
1523
+ options:
1524
+ tags:
1525
+ - results
1526
+ - errors
1527
+ - cn
1528
+ - oneway
1529
+ expand: true
1530
+ no-source: true
1531
+ reports:
1532
+ - format: html
1533
+ name: ${DATE}_${TASK_NAME}.html
1534
+ recipients:
1535
+ - estebanldh@gmail.com
1536
+ - nsimean@despegar.com
1537
+ - name: results.errors.cn.multipledestinations
1538
+ class_name: Henry::Task::CucumberTask
1539
+ options:
1540
+ tags:
1541
+ - results
1542
+ - errors
1543
+ - cn
1544
+ - multipledestinations
1545
+ expand: true
1546
+ no-source: true
1547
+ reports:
1548
+ - format: html
1549
+ name: ${DATE}_${TASK_NAME}.html
1550
+ recipients:
1551
+ - estebanldh@gmail.com
1552
+ - nsimean@despegar.com
1397
1553
  - name: results.errors.ar
1398
1554
  class_name: Henry::Task::CucumberTask
1399
1555
  options:
@@ -2164,6 +2320,21 @@ tasks:
2164
2320
  recipients:
2165
2321
  - estebanldh@gmail.com
2166
2322
  - nsimean@despegar.com
2323
+ - name: results.itineraries.cn
2324
+ class_name: Henry::Task::CucumberTask
2325
+ options:
2326
+ tags:
2327
+ - results
2328
+ - itineraries
2329
+ - cn
2330
+ expand: true
2331
+ no-source: true
2332
+ reports:
2333
+ - format: html
2334
+ name: ${DATE}_${TASK_NAME}.html
2335
+ recipients:
2336
+ - estebanldh@gmail.com
2337
+ - nsimean@despegar.com
2167
2338
  - name: results.itineraries.in
2168
2339
  class_name: Henry::Task::CucumberTask
2169
2340
  options:
@@ -3059,6 +3230,36 @@ tasks:
3059
3230
  recipients:
3060
3231
  - estebanldh@gmail.com
3061
3232
  - nsimean@despegar.com
3233
+ - name: results.pagination.cn
3234
+ class_name: Henry::Task::CucumberTask
3235
+ options:
3236
+ tags:
3237
+ - results
3238
+ - pagination
3239
+ - cn
3240
+ expand: true
3241
+ no-source: true
3242
+ reports:
3243
+ - format: html
3244
+ name: ${DATE}_${TASK_NAME}.html
3245
+ recipients:
3246
+ - estebanldh@gmail.com
3247
+ - nsimean@despegar.com
3248
+ - name: results.pagination.in
3249
+ class_name: Henry::Task::CucumberTask
3250
+ options:
3251
+ tags:
3252
+ - results
3253
+ - pagination
3254
+ - in
3255
+ expand: true
3256
+ no-source: true
3257
+ reports:
3258
+ - format: html
3259
+ name: ${DATE}_${TASK_NAME}.html
3260
+ recipients:
3261
+ - estebanldh@gmail.com
3262
+ - nsimean@despegar.com
3062
3263
  - name: results.pagination.ar
3063
3264
  class_name: Henry::Task::CucumberTask
3064
3265
  options:
@@ -3253,6 +3454,36 @@ tasks:
3253
3454
  recipients:
3254
3455
  - estebanldh@gmail.com
3255
3456
  - nsimean@despegar.com
3457
+ - name: results.reviews_airlines.cn
3458
+ class_name: Henry::Task::CucumberTask
3459
+ options:
3460
+ tags:
3461
+ - results
3462
+ - reviews_airlines
3463
+ - cn
3464
+ expand: true
3465
+ no-source: true
3466
+ reports:
3467
+ - format: html
3468
+ name: ${DATE}_${TASK_NAME}.html
3469
+ recipients:
3470
+ - estebanldh@gmail.com
3471
+ - nsimean@despegar.com
3472
+ - name: results.reviews_airlines.in
3473
+ class_name: Henry::Task::CucumberTask
3474
+ options:
3475
+ tags:
3476
+ - results
3477
+ - reviews_airlines
3478
+ - in
3479
+ expand: true
3480
+ no-source: true
3481
+ reports:
3482
+ - format: html
3483
+ name: ${DATE}_${TASK_NAME}.html
3484
+ recipients:
3485
+ - estebanldh@gmail.com
3486
+ - nsimean@despegar.com
3256
3487
  - name: results.reviews_airlines.ar
3257
3488
  class_name: Henry::Task::CucumberTask
3258
3489
  options:
@@ -10774,6 +11005,132 @@ tasks:
10774
11005
  recipients:
10775
11006
  - estebanldh@gmail.com
10776
11007
  - nsimean@despegar.com
11008
+ - name: checkout.book_ok.in
11009
+ class_name: Henry::Task::CucumberTask
11010
+ options:
11011
+ tags:
11012
+ - checkout
11013
+ - book_ok
11014
+ - in
11015
+ expand: true
11016
+ no-source: true
11017
+ reports:
11018
+ - format: html
11019
+ name: ${DATE}_${TASK_NAME}.html
11020
+ recipients:
11021
+ - estebanldh@gmail.com
11022
+ - nsimean@despegar.com
11023
+ - name: checkout.book_ok.in.roundtrip
11024
+ class_name: Henry::Task::CucumberTask
11025
+ options:
11026
+ tags:
11027
+ - checkout
11028
+ - book_ok
11029
+ - in
11030
+ - roundtrip
11031
+ expand: true
11032
+ no-source: true
11033
+ reports:
11034
+ - format: html
11035
+ name: ${DATE}_${TASK_NAME}.html
11036
+ recipients:
11037
+ - estebanldh@gmail.com
11038
+ - nsimean@despegar.com
11039
+ - name: checkout.book_ok.in.oneway
11040
+ class_name: Henry::Task::CucumberTask
11041
+ options:
11042
+ tags:
11043
+ - checkout
11044
+ - book_ok
11045
+ - in
11046
+ - oneway
11047
+ expand: true
11048
+ no-source: true
11049
+ reports:
11050
+ - format: html
11051
+ name: ${DATE}_${TASK_NAME}.html
11052
+ recipients:
11053
+ - estebanldh@gmail.com
11054
+ - nsimean@despegar.com
11055
+ - name: checkout.book_ok.in.multipledestinations
11056
+ class_name: Henry::Task::CucumberTask
11057
+ options:
11058
+ tags:
11059
+ - checkout
11060
+ - book_ok
11061
+ - in
11062
+ - multipledestinations
11063
+ expand: true
11064
+ no-source: true
11065
+ reports:
11066
+ - format: html
11067
+ name: ${DATE}_${TASK_NAME}.html
11068
+ recipients:
11069
+ - estebanldh@gmail.com
11070
+ - nsimean@despegar.com
11071
+ - name: checkout.book_ok.cn
11072
+ class_name: Henry::Task::CucumberTask
11073
+ options:
11074
+ tags:
11075
+ - checkout
11076
+ - book_ok
11077
+ - cn
11078
+ expand: true
11079
+ no-source: true
11080
+ reports:
11081
+ - format: html
11082
+ name: ${DATE}_${TASK_NAME}.html
11083
+ recipients:
11084
+ - estebanldh@gmail.com
11085
+ - nsimean@despegar.com
11086
+ - name: checkout.book_ok.cn.roundtrip
11087
+ class_name: Henry::Task::CucumberTask
11088
+ options:
11089
+ tags:
11090
+ - checkout
11091
+ - book_ok
11092
+ - cn
11093
+ - roundtrip
11094
+ expand: true
11095
+ no-source: true
11096
+ reports:
11097
+ - format: html
11098
+ name: ${DATE}_${TASK_NAME}.html
11099
+ recipients:
11100
+ - estebanldh@gmail.com
11101
+ - nsimean@despegar.com
11102
+ - name: checkout.book_ok.cn.oneway
11103
+ class_name: Henry::Task::CucumberTask
11104
+ options:
11105
+ tags:
11106
+ - checkout
11107
+ - book_ok
11108
+ - cn
11109
+ - oneway
11110
+ expand: true
11111
+ no-source: true
11112
+ reports:
11113
+ - format: html
11114
+ name: ${DATE}_${TASK_NAME}.html
11115
+ recipients:
11116
+ - estebanldh@gmail.com
11117
+ - nsimean@despegar.com
11118
+ - name: checkout.book_ok.cn.multipledestinations
11119
+ class_name: Henry::Task::CucumberTask
11120
+ options:
11121
+ tags:
11122
+ - checkout
11123
+ - book_ok
11124
+ - cn
11125
+ - multipledestinations
11126
+ expand: true
11127
+ no-source: true
11128
+ reports:
11129
+ - format: html
11130
+ name: ${DATE}_${TASK_NAME}.html
11131
+ recipients:
11132
+ - estebanldh@gmail.com
11133
+ - nsimean@despegar.com
10777
11134
  - name: checkout.book_ok.ar
10778
11135
  class_name: Henry::Task::CucumberTask
10779
11136
  options:
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.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-30 00:00:00.000000000 Z
11
+ date: 2015-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container