flights_gui_henry_tests_ds 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. data/Gemfile +3 -0
  2. data/features/data/home-offers-config.csv +883 -0
  3. data/features/data/host.yml +78 -0
  4. data/features/data/miles.yml +216 -0
  5. data/features/data/search.yml +27 -0
  6. data/features/data/sites.yml +49 -0
  7. data/features/data/sites.yml.orig +54 -0
  8. data/features/data/tag_microsoft.yml +68 -0
  9. data/features/step_definitions/checkout/agencia_steps.rb +6 -0
  10. data/features/step_definitions/checkout/cash_payment_steps.rb +70 -0
  11. data/features/step_definitions/checkout/chat_steps.rb +57 -0
  12. data/features/step_definitions/checkout/checkout_steps.rb +265 -0
  13. data/features/step_definitions/checkout/cupones_steps.rb +36 -0
  14. data/features/step_definitions/checkout/error_messages.rb +291 -0
  15. data/features/step_definitions/checkout/fast_checkout.rb +55 -0
  16. data/features/step_definitions/checkout/price_jump_steps.rb +70 -0
  17. data/features/step_definitions/checkout/seguros_steps.rb +79 -0
  18. data/features/step_definitions/checkout/thanks_steps.rb +81 -0
  19. data/features/step_definitions/content/contents_steps.rb +140 -0
  20. data/features/step_definitions/desambiguation/disambiguation_airports_steps.rb +82 -0
  21. data/features/step_definitions/desambiguation/disambiguation_city_steps.rb +53 -0
  22. data/features/step_definitions/filter/filters_airlines.rb +37 -0
  23. data/features/step_definitions/filter/filters_airports_steps.rb +31 -0
  24. data/features/step_definitions/filter/filters_price_steps.rb +91 -0
  25. data/features/step_definitions/filter/filters_stops_steps.rb +44 -0
  26. data/features/step_definitions/filter/filters_time_steps.rb +146 -0
  27. data/features/step_definitions/filter/matrix_steps.rb +276 -0
  28. data/features/step_definitions/landing/landing_checkout_steps.rb +49 -0
  29. data/features/step_definitions/landing/landing_filters_steps.rb +17 -0
  30. data/features/step_definitions/landing/landing_home_alerts_steps.rb +21 -0
  31. data/features/step_definitions/landing/landing_home_steps.rb +82 -0
  32. data/features/step_definitions/landing/landing_long_tail.rb +58 -0
  33. data/features/step_definitions/landing/landing_negative_steps.rb +128 -0
  34. data/features/step_definitions/landing/landing_passenger_review_steps.rb +8 -0
  35. data/features/step_definitions/landing/landing_steps.rb +348 -0
  36. data/features/step_definitions/orders/orders.rb +83 -0
  37. data/features/step_definitions/others/advancedgui_steps.rb +28 -0
  38. data/features/step_definitions/others/advancednogui_steps.rb +34 -0
  39. data/features/step_definitions/others/anticipatedsearch_steps.rb +13 -0
  40. data/features/step_definitions/others/cookies_steps.rb +40 -0
  41. data/features/step_definitions/others/flights_tracker_steps.rb +74 -0
  42. data/features/step_definitions/others/generic_steps.rb +33 -0
  43. data/features/step_definitions/others/newsletter_steps.rb +29 -0
  44. data/features/step_definitions/others/one_day_search.rb +58 -0
  45. data/features/step_definitions/others/print_steps.rb +26 -0
  46. data/features/step_definitions/others/querystringparameters_steps.rb +6 -0
  47. data/features/step_definitions/others/recommendation_steps.rb +78 -0
  48. data/features/step_definitions/others/render_steps.rb +70 -0
  49. data/features/step_definitions/others/tag_steps.rb +164 -0
  50. data/features/step_definitions/others/upgrade_bussines_steps.rb +27 -0
  51. data/features/step_definitions/results/devtools_steps.rb +10 -0
  52. data/features/step_definitions/results/itineraries_steps.rb +43 -0
  53. data/features/step_definitions/results/load_steps.rb +73 -0
  54. data/features/step_definitions/results/results_steps.rb +79 -0
  55. data/features/step_definitions/results/search_steps.rb +115 -0
  56. data/features/step_definitions/search/alerts_steps.rb +132 -0
  57. data/features/step_definitions/search/basefare_steps.rb +88 -0
  58. data/features/step_definitions/search/bestprices_steps.rb +70 -0
  59. data/features/step_definitions/search/cross_sell_row_hoteles.rb +52 -0
  60. data/features/step_definitions/search/cross_sell_steps.rb +15 -0
  61. data/features/step_definitions/search/delays_steps.rb +67 -0
  62. data/features/step_definitions/search/details_steps.rb +9 -0
  63. data/features/step_definitions/search/ecoflights_steps.rb +9 -0
  64. data/features/step_definitions/search/errors_steps.rb +24 -0
  65. data/features/step_definitions/search/fenix_steps.rb +99 -0
  66. data/features/step_definitions/search/flight_gui_steps.rb +376 -0
  67. data/features/step_definitions/search/miles_step.rb +13 -0
  68. data/features/step_definitions/search/pagination_steps.rb +29 -0
  69. data/features/step_definitions/search/reviews_step.rb +58 -0
  70. data/features/step_definitions/search/search_no_gui_steps.rb +185 -0
  71. data/features/step_definitions/search/wish_list_steps.rb +128 -0
  72. data/features/support/env.rb +86 -0
  73. data/features/support/lib/clusters.rb +6 -0
  74. data/features/support/lib/clusters/checkout_cluster.rb +111 -0
  75. data/features/support/lib/clusters/data/data.rb +33 -0
  76. data/features/support/lib/clusters/details/details_cluster.rb +36 -0
  77. data/features/support/lib/clusters/results/landing_cluster.rb +87 -0
  78. data/features/support/lib/clusters/results/render_cluster.rb +86 -0
  79. data/features/support/lib/clusters/results_cluster.rb +168 -0
  80. data/features/support/lib/helpers.rb +5 -0
  81. data/features/support/lib/helpers/browser.rb +235 -0
  82. data/features/support/lib/helpers/checkout.rb +29 -0
  83. data/features/support/lib/helpers/clusters.rb +166 -0
  84. data/features/support/lib/helpers/landing.rb +121 -0
  85. data/features/support/lib/helpers/render.rb +135 -0
  86. data/features/support/lib/price.rb +66 -0
  87. data/features/support/lib/process_manager.rb +104 -0
  88. data/features/support/lib/services.rb +4 -0
  89. data/features/support/lib/services/fenix.rb +14 -0
  90. data/features/support/lib/services/landing.rb +18 -0
  91. data/features/support/lib/services/results.rb +62 -0
  92. data/features/support/matchers.rb +120 -0
  93. data/features/support/redefinitions.rb +42 -0
  94. data/features/tests/checkout/agency.feature +27 -0
  95. data/features/tests/checkout/button_cac.feature +53 -0
  96. data/features/tests/checkout/cash_payment.feature +50 -0
  97. data/features/tests/checkout/compras_duplicadas.feature +95 -0
  98. data/features/tests/checkout/cupones.feature +34 -0
  99. data/features/tests/checkout/error_messages.feature +80 -0
  100. data/features/tests/checkout/fast_checkout.feature +82 -0
  101. data/features/tests/checkout/integration.feature +235 -0
  102. data/features/tests/checkout/low_cost.feature +62 -0
  103. data/features/tests/checkout/online_payment.feature +50 -0
  104. data/features/tests/checkout/price_jump.feature +103 -0
  105. data/features/tests/checkout/providers.feature +76 -0
  106. data/features/tests/checkout/seguros.feature +42 -0
  107. data/features/tests/contents/costs.feature +29 -0
  108. data/features/tests/contents/rules.feature +58 -0
  109. data/features/tests/contents/webcheckin.feature +26 -0
  110. data/features/tests/desambiguation/airports.feature +89 -0
  111. data/features/tests/desambiguation/airports_landing.feature +88 -0
  112. data/features/tests/desambiguation/city.feature +86 -0
  113. data/features/tests/filters/filters.feature +113 -0
  114. data/features/tests/fixes/advancedgui.feature +171 -0
  115. data/features/tests/fixes/advancednogui.feature +60 -0
  116. data/features/tests/fixes/book_no_gui.feature +21 -0
  117. data/features/tests/fixes/cross_sell_row_hoteles.feature +70 -0
  118. data/features/tests/fixes/facebook.feature +31 -0
  119. data/features/tests/fixes/landing_checkout.feature +286 -0
  120. data/features/tests/fixes/landing_home_alerts.feature +82 -0
  121. data/features/tests/fixes/matrix_stops.feature +104 -0
  122. data/features/tests/fixes/one_day_search.feature +63 -0
  123. data/features/tests/fixes/print.feature +87 -0
  124. data/features/tests/fixes/searches_no_gui.feature +85 -0
  125. data/features/tests/fixes/upgrade_bussines.feature +100 -0
  126. data/features/tests/landing/landing_alerts.feature +93 -0
  127. data/features/tests/landing/landing_filters.feature +171 -0
  128. data/features/tests/landing/landing_home.feature +68 -0
  129. data/features/tests/landing/landing_integration.feature +149 -0
  130. data/features/tests/landing/landing_long_tail.feature +169 -0
  131. data/features/tests/landing/landing_matrix.feature +152 -0
  132. data/features/tests/landing/landing_negative.feature +151 -0
  133. data/features/tests/landing/landing_orders.feature +79 -0
  134. data/features/tests/landing/landing_pagination.feature +141 -0
  135. data/features/tests/landing/landing_passenger_review.feature +135 -0
  136. data/features/tests/landing/landing_positive.feature +151 -0
  137. data/features/tests/landing/landing_reviews.feature +135 -0
  138. data/features/tests/landing/landing_sort.feature +140 -0
  139. data/features/tests/landing/landing_tags.feature +142 -0
  140. data/features/tests/matrix/matrix_airlines.feature +80 -0
  141. data/features/tests/matrix/matrix_fare_chart.feature +40 -0
  142. data/features/tests/matrix/matrix_price.feature +40 -0
  143. data/features/tests/others/alerts.feature +89 -0
  144. data/features/tests/others/anticipatedsearch.feature +82 -0
  145. data/features/tests/others/chat.feature +23 -0
  146. data/features/tests/others/flights_tracker.feature +94 -0
  147. data/features/tests/others/newsletter.feature +118 -0
  148. data/features/tests/others/querystringparameters.feature +82 -0
  149. data/features/tests/others/recommendation.feature +107 -0
  150. data/features/tests/others/semaphore.feature +206 -0
  151. data/features/tests/search/basefare.feature +89 -0
  152. data/features/tests/search/errors.feature +198 -0
  153. data/features/tests/search/itineraries.feature +92 -0
  154. data/features/tests/search/orders.feature +88 -0
  155. data/features/tests/search/pagination.feature +73 -0
  156. data/features/tests/search/reviews.feature +83 -0
  157. data/features/tests/search/searches.feature +214 -0
  158. data/features/tests/search/wish_list.feature +58 -0
  159. data/flights_gui_henry_tests.gemspec +32 -0
  160. data/henry-context.yml +17262 -0
  161. metadata +382 -0
@@ -0,0 +1,63 @@
1
+ #language: es
2
+ #@others
3
+ Característica: others.one_day_search
4
+ Busqueda a un dia de diferencia para verificar si se puede comprar o no
5
+
6
+ #@one_day_search
7
+ Esquema del escenario: Se realiza una busqueda cada 30 minutos para verificar cuando empieza a no permitir la compra
8
+ Cuando genero los datos para realizar una busqueda en "<pais>"
9
+ Cuando ingreso a la home de "<pais>"
10
+ Entonces realizo la busqueda para mañana
11
+ Y Si esta habilitado, Espero salir de home
12
+ Cuando Si esta habilitado, Espero que termine de cargar
13
+ Y Si esta habilitado, Verifico si se puede comprar o no
14
+ Y guardo los resultados en un archivo
15
+
16
+ @ar
17
+ Ejemplos:
18
+ |pais|
19
+ |AR|
20
+ @br
21
+ Ejemplos:
22
+ |pais|
23
+ |BR|
24
+ @mx
25
+ Ejemplos:
26
+ |pais|
27
+ |MX|
28
+ @ve
29
+ Ejemplos:
30
+ |pais|
31
+ |VE|
32
+ @co
33
+ Ejemplos:
34
+ |pais|
35
+ |CO|
36
+ @ec
37
+ Ejemplos:
38
+ |pais|
39
+ |EC|
40
+ @pe
41
+ Ejemplos:
42
+ |pais|
43
+ |PE|
44
+ @pa
45
+ Ejemplos:
46
+ |pais|
47
+ |PA|
48
+ @cr
49
+ Ejemplos:
50
+ |pais|
51
+ |CR|
52
+ @us
53
+ Ejemplos:
54
+ |pais|
55
+ |US|
56
+ @uy
57
+ Ejemplos:
58
+ |pais|
59
+ |UY|
60
+ @cl
61
+ Ejemplos:
62
+ |pais|
63
+ |CL|
@@ -0,0 +1,87 @@
1
+ #language: es
2
+ #@others
3
+ Característica: others.print
4
+ IF000*
5
+
6
+ #@print
7
+ Esquema del escenario: Se ingresa a resultados, se elige un ticket para imprimir
8
+ Cuando Ingreso a la pagina de resultados en "<pais>" para una busqueda "<tipo>" del tipo "nil"
9
+ Cuando Espero que termine de cargar
10
+ Entonces Verifico que traiga resultados
11
+ Entonces elijo un ticket "<tipo>"
12
+ Y verifico que exista el icono de impresion
13
+ Cuando abro el popup de impresion
14
+ Entonces verifico que los datos sean correctos
15
+ Y envio a imprimir
16
+
17
+ @ar
18
+ Ejemplos:
19
+ |pais|tipo|cabotage|
20
+ |AR |roundtrip|true|
21
+ |AR |multipledestinations|true|
22
+ |AR |oneway|nil|
23
+ @br
24
+ Ejemplos:
25
+ |pais|tipo|cabotage|
26
+ |BR |oneway|true|
27
+ |BR |roundtrip|nil|
28
+ @co
29
+ Ejemplos:
30
+ |pais|tipo|cabotage|
31
+ |CO |roundtrip|true|
32
+ |CO |oneway|nil|
33
+ |CO |multipledestinations|nil|
34
+ @mx
35
+ Ejemplos:
36
+ |pais|tipo|cabotage|
37
+ |MX |roundtrip|true|
38
+ |MX |oneway|nil|
39
+ |MX |multipledestinations|nil|
40
+ @ve
41
+ Ejemplos:
42
+ |pais|tipo|cabotage|
43
+ |VE |roundtrip|true|
44
+ |VE |oneway|true|
45
+ |VE |multipledestinations|true|
46
+ @cl
47
+ Ejemplos:
48
+ |pais|tipo|cabotage|
49
+ |CL |roundtrip|nil|
50
+ |CL |oneway|nil|
51
+ |CL |multipledestinations|nil|
52
+ @cr
53
+ Ejemplos:
54
+ |pais|tipo|cabotage|
55
+ |CR |roundtrip|true|
56
+ |CR |oneway|true|
57
+ |CR |multipledestinations|nil|
58
+ @ec
59
+ Ejemplos:
60
+ |pais|tipo|cabotage|
61
+ |EC |multipledestinations|true|
62
+ |EC |roundtrip|nil|
63
+ |EC |oneway|nil|
64
+ @pa
65
+ Ejemplos:
66
+ |pais|tipo|cabotage|
67
+ |PA |oneway|true|
68
+ |PA |multipledestinations|true|
69
+ |PA |roundtrip|nil|
70
+ @pe
71
+ Ejemplos:
72
+ |pais|tipo|cabotage|
73
+ |PE |roundtrip|true|
74
+ |PE |oneway|true|
75
+ |PE |multipledestinations|nil|
76
+ @us
77
+ Ejemplos:
78
+ |pais|tipo|cabotage|
79
+ |US |roundtrip|true|
80
+ |US |oneway|true|
81
+ |US |multipledestinations|nil|
82
+ @uy
83
+ Ejemplos:
84
+ |pais|tipo|cabotage|
85
+ |UY |multipledestinations|true|
86
+ |UY |roundtrip|nil|
87
+ |UY |oneway|nil|
@@ -0,0 +1,85 @@
1
+ #language: es
2
+ @others
3
+ Característica: others.no_gui
4
+ Se verifica la correcta carga y funcionamiento de la pagina de resultados
5
+
6
+ @no_gui
7
+ Esquema del escenario: Ingresar a la pagina de resultados
8
+ Cuando Ingreso a la pagina de resultados en "<pais>" para una busqueda "<tipo>" del tipo "<cabotage>" sin gui
9
+ Entonces Verifico que el pedido responda "200"
10
+ Y Verifico que las datos de la pagina sean consistente a la busqueda realizada
11
+ Cuando Llamo al servicio de resultados
12
+ Entonces Verifico que los datos de cada cluster sean consistente a la busqueda realizada
13
+ Cuando Elijo un itinerario del servicio y paso a checkout
14
+ Entonces Verifico que el pedido alla ingresado correctamente
15
+
16
+ @ar
17
+ Ejemplos:
18
+ |pais|tipo|cabotage|
19
+ |AR |roundtrip|nil|
20
+ |AR |oneway|nil|
21
+ |AR |multipledestinations|nil|
22
+ @br
23
+ Ejemplos:
24
+ |pais|tipo|cabotage|
25
+ |BR |roundtrip|nil|
26
+ |BR |oneway|nil|
27
+ @co
28
+ Ejemplos:
29
+ |pais|tipo|cabotage|
30
+ |CO |roundtrip|nil|
31
+ |CO |oneway|nil|
32
+ @cl
33
+ Ejemplos:
34
+ |pais|tipo|cabotage|
35
+ |CL |roundtrip|nil|
36
+ |CL |oneway|nil|
37
+ |CL |multipledestinations|nil|
38
+ @cr
39
+ Ejemplos:
40
+ |pais|tipo|cabotage|
41
+ |CR |roundtrip|nil|
42
+ |CR |oneway|nil|
43
+ |CR |multipledestinations|nil|
44
+ @ec
45
+ Ejemplos:
46
+ |pais|tipo|cabotage|
47
+ |EC |roundtrip|nil|
48
+ |EC |oneway|nil|
49
+ |EC |multipledestinations|nil|
50
+ @mx
51
+ Ejemplos:
52
+ |pais|tipo|cabotage|
53
+ |MX |roundtrip|nil|
54
+ |MX |oneway|nil|
55
+ |MX |multipledestinations|nil|
56
+ @pa
57
+ Ejemplos:
58
+ |pais|tipo|cabotage|
59
+ |PA |roundtrip|nil|
60
+ |PA |oneway|nil|
61
+ |PA |multipledestinations|nil|
62
+ @pe
63
+ Ejemplos:
64
+ |pais|tipo|cabotage|
65
+ |PE |roundtrip|nil|
66
+ |PE |oneway|nil|
67
+ |PE |multipledestinations|nil|
68
+ @us
69
+ Ejemplos:
70
+ |pais|tipo|cabotage|
71
+ |US |roundtrip|nil|
72
+ |US |oneway|nil|
73
+ |US |multipledestinations|nil|
74
+ @uy
75
+ Ejemplos:
76
+ |pais|tipo|cabotage|
77
+ |UY |roundtrip|nil|
78
+ |UY |oneway|nil|
79
+ |UY |multipledestinations|nil|
80
+ @ve
81
+ Ejemplos:
82
+ |pais|tipo|cabotage|
83
+ |VE |roundtrip|nil|
84
+ |VE |oneway|nil|
85
+ |VE |multipledestinations|nil|
@@ -0,0 +1,100 @@
1
+ #language: es
2
+ #@others
3
+ Característica: others.upgrade_bussines
4
+ Se verifica el comportamiento de la opcion de acceder a una clase mas alta a travez del banner
5
+
6
+ #@upgrade_bussines
7
+ Esquema del escenario: Se elije la opcion de upgrade a travez del banner verificando que en la url que redirije los precios sean consistentes
8
+ Cuando Ingreso a la pagina de resultados en "<pais>" para una busqueda "<tipo>" del tipo "<cabotage>"
9
+ Cuando Espero que termine de cargar
10
+ Entonces Verifico que traiga resultados
11
+ Entonces Seteo las edades de los menores
12
+ Y busco resultados con la opcion de bussines
13
+ Cuando Espero que termine de cargar
14
+ Entonces Verifico que traiga resultados
15
+ Entonces Vuelvo a la pagina anterior
16
+ Cuando Espero que termine de cargar
17
+ Entonces Verifico que traiga resultados
18
+ Entonces Refresco la pagina
19
+ Cuando Espero que termine de cargar
20
+ Entonces Verifico que traiga resultados
21
+ Y Verifico que exista el banner de upgrade bussines
22
+ Y Verifico que el banner redirija a la url correcta
23
+
24
+ @ar
25
+ Ejemplos:
26
+ |pais|tipo|cabotage|
27
+ |AR |roundtrip|nil|
28
+ |AR |oneway|nil|
29
+ |AR |roundtrip|true|
30
+ |AR |oneway|true|
31
+ @co
32
+ Ejemplos:
33
+ |pais|tipo|cabotage|
34
+ |CO |roundtrip|nil|
35
+ |CO |oneway|nil|
36
+ |CO |roundtrip|true|
37
+ |CO |oneway|true|
38
+ @cl
39
+ Ejemplos:
40
+ |pais|tipo|cabotage|
41
+ |CL |roundtrip|nil|
42
+ |CL |oneway|nil|
43
+ |CL |roundtrip|true|
44
+ |CL |oneway|true|
45
+ @cr
46
+ Ejemplos:
47
+ |pais|tipo|cabotage|
48
+ |CR |roundtrip|nil|
49
+ |CR |oneway|nil|
50
+ |CR |roundtrip|true|
51
+ |CR |oneway|true|
52
+ @ec
53
+ Ejemplos:
54
+ |pais|tipo|cabotage|
55
+ |EC |roundtrip|nil|
56
+ |EC |oneway|nil|
57
+ |EC |roundtrip|true|
58
+ |EC |oneway|true|
59
+ @mx
60
+ Ejemplos:
61
+ |pais|tipo|cabotage|
62
+ |MX |roundtrip|nil|
63
+ |MX |oneway|nil|
64
+ |MX |roundtrip|true|
65
+ |MX |oneway|true|
66
+ @pa
67
+ Ejemplos:
68
+ |pais|tipo|cabotage|
69
+ |PA |roundtrip|nil|
70
+ |PA |oneway|nil|
71
+ |PA |roundtrip|true|
72
+ |PA |oneway|true|
73
+ @pe
74
+ Ejemplos:
75
+ |pais|tipo|cabotage|
76
+ |PE |roundtrip|nil|
77
+ |PE |oneway|nil|
78
+ |PE |roundtrip|true|
79
+ |PE |oneway|true|
80
+ @us
81
+ Ejemplos:
82
+ |pais|tipo|cabotage|
83
+ |US |roundtrip|nil|
84
+ |US |oneway|nil|
85
+ |US |roundtrip|true|
86
+ |US |oneway|true|
87
+ @uy
88
+ Ejemplos:
89
+ |pais|tipo|cabotage|
90
+ |UY |roundtrip|nil|
91
+ |UY |oneway|nil|
92
+ |UY |roundtrip|true|
93
+ |UY |oneway|true|
94
+ @ve
95
+ Ejemplos:
96
+ |pais|tipo|cabotage|
97
+ |VE |roundtrip|nil|
98
+ |VE |oneway|nil|
99
+ |VE |roundtrip|true|
100
+ |VE |oneway|true|
@@ -0,0 +1,93 @@
1
+ #language: es
2
+ @landing
3
+ Característica: landing.alerts
4
+ Se verifica que el tag de google se muestre correctamente en la pagina de resultados de landing
5
+
6
+ @alerts
7
+ Esquema del escenario: Ingresar a resultados de landing, buscar el script en el fuente, Verificar que los datos sean correctos.
8
+ Cuando Ingreso a la home de landing de "<pais>"
9
+ Entonces Verifico que la pagina no rompa
10
+ Cuando Espero que termine de cargar la home de landing
11
+ Cuando Ingreso a resultados de landing para la ciudad "BUE|RIO|MEX|NYC|LIM|CCS|BOG|MVD|MIA|UIO|SAO|SCL|COR"
12
+ Entonces Verifico que la pagina no rompa
13
+ Entonces Verifico que traiga resultados de landings
14
+ Cuando Seteo las ciudades de la busqueda de resultados de landing
15
+ Entonces Verifico que exista el panel de alertas
16
+ Cuando Abro el popup de alertas
17
+ Entonces Verifico que cargue correctamente el popup de alertas
18
+ Entonces Comparo el campo origen
19
+ Entonces Comparo el campo destino
20
+ Cuando Edito el campo origen
21
+ Entonces Validar que el campo origen sea obligatorio
22
+ Cuando Completo el campo origen
23
+ Cuando Edito el campo destino
24
+ Entonces Validar que el campo destino sea obligatorio
25
+ Cuando Completo el campo destino
26
+ Cuando Hago click en guardar alerta
27
+ Cuando Selecciono Solo ida
28
+ Cuando Selecciono Ida y vuelta
29
+ Cuando Selecciono una fecha especifica
30
+ Cuando Selecciono una fecha aproximada
31
+ Cuando Completo el precio maximo por adulto ""
32
+ Cuando Hago click en guardar alerta
33
+ Entonces Validar que el campo precio maximo por adulto sea obligatorio
34
+ Entonces Validar que el campo email sea obligatorio
35
+ Cuando Completo el precio maximo por adulto "999"
36
+ Cuando Completo el email "testvuelos"
37
+ Cuando Hago click en guardar alerta
38
+ Entonces Validar que el campo email tenga un email valido
39
+ Cuando Completo el email "testvuelos@despegar.com"
40
+ Cuando Hago click en guardar alerta
41
+ Entonces Esperar que se muestre el mensaje de alerta
42
+ Y Validar que el mensaje sea correcto
43
+ Cuando Cierro el popup de alertas
44
+ Entonces Validar que se haya cerrado el popup de alertas
45
+
46
+ @ar
47
+ Ejemplos:
48
+ |pais|
49
+ |AR |
50
+ @br
51
+ Ejemplos:
52
+ |pais|
53
+ |BR |
54
+ @co
55
+ Ejemplos:
56
+ |pais|
57
+ |CO |
58
+ @cl
59
+ Ejemplos:
60
+ |pais|
61
+ |CL |
62
+ @cr
63
+ Ejemplos:
64
+ |pais|
65
+ |CR |
66
+ @ec
67
+ Ejemplos:
68
+ |pais|
69
+ |EC |
70
+ @mx
71
+ Ejemplos:
72
+ |pais|
73
+ |MX |
74
+ @pa
75
+ Ejemplos:
76
+ |pais|
77
+ |PA |
78
+ @pe
79
+ Ejemplos:
80
+ |pais|
81
+ |PE |
82
+ @us
83
+ Ejemplos:
84
+ |pais|
85
+ |US |
86
+ @uy
87
+ Ejemplos:
88
+ |pais|
89
+ |UY |
90
+ @ve
91
+ Ejemplos:
92
+ |pais|
93
+ |VE |
@@ -0,0 +1,171 @@
1
+ #language: es
2
+ @landing
3
+ Característica: landing.filters
4
+ Se verifica la correcta carga y funcionamiento de la pagina de resultados
5
+
6
+ @filters
7
+ Esquema del escenario: Ingresar a la home de landing
8
+ Cuando Genero resultados de landing en "<pais>"
9
+ Entonces Verifico que la pagina no rompa
10
+ Entonces Verifico que traiga resultados de landings
11
+ Cuando Espero que termine de cargar
12
+ Cuando Elijo el tipo de vuelo "<tipo>"
13
+ Entonces Verifico que la pagina no rompa
14
+ Entonces Verifico que traiga resultados de landings
15
+ Entonces Elijo moneda local como precio de filtrado
16
+ Cuando Elijo una aerolinea a aplicar
17
+ Entonces Filtro por aerolinea
18
+ Cuando Espero que termine de cargar
19
+ Entonces Verifico que la pagina no rompa
20
+ Entonces Verifico que los contadores respecto a las aerolineas sean correctos
21
+ Y Verifico que la primer pagina muestre correctamente los filtros de aerolineas
22
+ Cuando Limpio el filtro de aerolineas
23
+ Cuando Espero que termine de cargar
24
+ Entonces Verifico que la pagina no rompa
25
+ Cuando Elijo un aeropuerto outbound a aplicar
26
+ Entonces Filtro por aeropuerto
27
+ Cuando Espero que termine de cargar
28
+ Entonces Verifico que la pagina no rompa
29
+ Entonces Verifico que los contadores respecto al aeropuerto sean correctos
30
+ Y Verifico que la primer pagina muestre correctamente los filtros de aeropuertos outbound
31
+ Cuando Limpio el filtro de aeropuertos outbound
32
+ Cuando Espero que termine de cargar
33
+ Cuando Elijo una escala a aplicar
34
+ Entonces Filtro por escala
35
+ Cuando Espero que termine de cargar
36
+ Entonces Verifico que la pagina no rompa
37
+ Entonces Verifico que los contadores respecto a las escalas sean correctos
38
+ Y Verifico que la primer pagina muestre correctamente los filtros de escalas
39
+ Cuando Limpio el filtro de escalas
40
+ Cuando Espero que termine de cargar
41
+ Cuando Elijo un horario outbound a aplicar
42
+ Entonces Filtro por horario outbound
43
+ Cuando Espero que termine de cargar
44
+ Entonces Verifico que traiga resultados de landings
45
+ Entonces Verifico que la pagina no rompa
46
+ Entonces Verifico que los contadores respecto a los horarios sean correctos
47
+ Y Verifico que la primer pagina muestre correctamente los filtros de horario outbound
48
+ Cuando Limpio el filtro de horario outbound
49
+ Cuando Espero que termine de cargar
50
+ Entonces Verifico que la pagina no rompa
51
+
52
+ @ar
53
+ @roundtrip
54
+ Ejemplos:
55
+ |pais|tipo|x|
56
+ |AR |roundtrip|10|
57
+ @ar
58
+ @oneway
59
+ Ejemplos:
60
+ |pais|tipo|x|
61
+ |AR |oneway|10|
62
+ @br
63
+ @roundtrip
64
+ Ejemplos:
65
+ |pais|tipo|x|
66
+ |BR |roundtrip|10|
67
+ @br
68
+ @oneway
69
+ Ejemplos:
70
+ |pais|tipo|x|
71
+ |BR |oneway|10|
72
+ @co
73
+ @roundtrip
74
+ Ejemplos:
75
+ |pais|tipo|x|
76
+ |CO |roundtrip|10|
77
+ @co
78
+ @oneway
79
+ Ejemplos:
80
+ |pais|tipo|x|
81
+ |CO |oneway|10|
82
+ @cl
83
+ @roundtrip
84
+ Ejemplos:
85
+ |pais|tipo|x|
86
+ |CL |roundtrip|10|
87
+ @cl
88
+ @oneway
89
+ Ejemplos:
90
+ |pais|tipo|x|
91
+ |CL |oneway|10|
92
+ @cr
93
+ @roundtrip
94
+ Ejemplos:
95
+ |pais|tipo|x|
96
+ |CR |roundtrip|10|
97
+ @cr
98
+ @oneway
99
+ Ejemplos:
100
+ |pais|tipo|x|
101
+ |CR |oneway|10|
102
+ @ec
103
+ @roundtrip
104
+ Ejemplos:
105
+ |pais|tipo|x|
106
+ |EC |roundtrip|10|
107
+ @ec
108
+ @oneway
109
+ Ejemplos:
110
+ |pais|tipo|x|
111
+ |EC |oneway|10|
112
+ @mx
113
+ @roundtrip
114
+ Ejemplos:
115
+ |pais|tipo|x|
116
+ |MX |roundtrip|10|
117
+ @mx
118
+ @oneway
119
+ Ejemplos:
120
+ |pais|tipo|x|
121
+ |MX |oneway|10|
122
+ @pa
123
+ @roundtrip
124
+ Ejemplos:
125
+ |pais|tipo|x|
126
+ |PA |roundtrip|10|
127
+ @pa
128
+ @oneway
129
+ Ejemplos:
130
+ |pais|tipo|x|
131
+ |PA |oneway|10|
132
+ @pe
133
+ @roundtrip
134
+ Ejemplos:
135
+ |pais|tipo|x|
136
+ |PE |roundtrip|10|
137
+ @pe
138
+ @oneway
139
+ Ejemplos:
140
+ |pais|tipo|x|
141
+ |PE |oneway|10|
142
+ @us
143
+ @roundtrip
144
+ Ejemplos:
145
+ |pais|tipo|x|
146
+ |US |roundtrip|10|
147
+ @us
148
+ @oneway
149
+ Ejemplos:
150
+ |pais|tipo|x|
151
+ |US |oneway|10|
152
+ @uy
153
+ @roundtrip
154
+ Ejemplos:
155
+ |pais|tipo|x|
156
+ |UY |roundtrip|10|
157
+ @uy
158
+ @oneway
159
+ Ejemplos:
160
+ |pais|tipo|x|
161
+ |UY |oneway|10|
162
+ @ve
163
+ @roundtrip
164
+ Ejemplos:
165
+ |pais|tipo|x|
166
+ |VE |roundtrip|10|
167
+ @ve
168
+ @oneway
169
+ Ejemplos:
170
+ |pais|tipo|x|
171
+ |VE |oneway|10|