flights_gui_henry_tests 1.8.7

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.
Files changed (143) hide show
  1. checksums.yaml +15 -0
  2. data/Gemfile +3 -0
  3. data/features/data/home-offers-config.csv +883 -0
  4. data/features/data/host.yml +72 -0
  5. data/features/data/miles.yml +216 -0
  6. data/features/data/search.yml +27 -0
  7. data/features/data/sites.yml +39 -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/chat_steps.rb +43 -0
  11. data/features/step_definitions/checkout/checkout_steps.rb +144 -0
  12. data/features/step_definitions/checkout/cupones_steps.rb +26 -0
  13. data/features/step_definitions/checkout/error_messages.rb +251 -0
  14. data/features/step_definitions/checkout/seguros_steps.rb +78 -0
  15. data/features/step_definitions/checkout/thanks_steps.rb +75 -0
  16. data/features/step_definitions/content/contents_steps.rb +140 -0
  17. data/features/step_definitions/desambiguation/disambiguation_airports_steps.rb +73 -0
  18. data/features/step_definitions/desambiguation/disambiguation_city_steps.rb +43 -0
  19. data/features/step_definitions/filter/filters_airlines.rb +38 -0
  20. data/features/step_definitions/filter/filters_airports_steps.rb +31 -0
  21. data/features/step_definitions/filter/filters_price_steps.rb +87 -0
  22. data/features/step_definitions/filter/filters_stops_steps.rb +44 -0
  23. data/features/step_definitions/filter/filters_time_steps.rb +143 -0
  24. data/features/step_definitions/filter/matrix_steps.rb +249 -0
  25. data/features/step_definitions/landing/landing_checkout_steps.rb +45 -0
  26. data/features/step_definitions/landing/landing_filters_steps.rb +17 -0
  27. data/features/step_definitions/landing/landing_home_alerts_steps.rb +21 -0
  28. data/features/step_definitions/landing/landing_home_steps.rb +82 -0
  29. data/features/step_definitions/landing/landing_long_tail.rb +58 -0
  30. data/features/step_definitions/landing/landing_negative_steps.rb +127 -0
  31. data/features/step_definitions/landing/landing_passenger_review_steps.rb +8 -0
  32. data/features/step_definitions/landing/landing_steps.rb +325 -0
  33. data/features/step_definitions/orders/orders.rb +67 -0
  34. data/features/step_definitions/others/advancedgui_steps.rb +28 -0
  35. data/features/step_definitions/others/advancednogui_steps.rb +34 -0
  36. data/features/step_definitions/others/anticipatedsearch_steps.rb +13 -0
  37. data/features/step_definitions/others/flights_tracker_steps.rb +73 -0
  38. data/features/step_definitions/others/generic_steps.rb +35 -0
  39. data/features/step_definitions/others/newsletter_steps.rb +50 -0
  40. data/features/step_definitions/others/one_day_search.rb +58 -0
  41. data/features/step_definitions/others/print_steps.rb +26 -0
  42. data/features/step_definitions/others/querystringparameters_steps.rb +6 -0
  43. data/features/step_definitions/others/recommendation_steps.rb +80 -0
  44. data/features/step_definitions/others/render_steps.rb +70 -0
  45. data/features/step_definitions/others/tag_steps.rb +157 -0
  46. data/features/step_definitions/others/upgrade_bussines_steps.rb +27 -0
  47. data/features/step_definitions/results/load_steps.rb +69 -0
  48. data/features/step_definitions/results/results_steps.rb +21 -0
  49. data/features/step_definitions/results/search_steps.rb +82 -0
  50. data/features/step_definitions/search/alerts_steps.rb +132 -0
  51. data/features/step_definitions/search/basefare_steps.rb +64 -0
  52. data/features/step_definitions/search/bestprices_steps.rb +70 -0
  53. data/features/step_definitions/search/cross_sell_row_hoteles.rb +78 -0
  54. data/features/step_definitions/search/cross_sell_steps.rb +15 -0
  55. data/features/step_definitions/search/delays_steps.rb +67 -0
  56. data/features/step_definitions/search/details_steps.rb +9 -0
  57. data/features/step_definitions/search/ecoflights_steps.rb +9 -0
  58. data/features/step_definitions/search/fenix_steps.rb +119 -0
  59. data/features/step_definitions/search/flight_gui_steps.rb +312 -0
  60. data/features/step_definitions/search/miles_step.rb +13 -0
  61. data/features/step_definitions/search/pagination_steps.rb +41 -0
  62. data/features/step_definitions/search/reviews_step.rb +56 -0
  63. data/features/step_definitions/search/search_no_gui_steps.rb +185 -0
  64. data/features/step_definitions/search/wish_list_steps.rb +123 -0
  65. data/features/support/env.rb +61 -0
  66. data/features/support/lib/clusters/data/datos_new.rb +33 -0
  67. data/features/support/lib/clusters/details/details_cluster.rb +30 -0
  68. data/features/support/lib/clusters/results/landing_cluster.rb +29 -0
  69. data/features/support/lib/clusters/results/render_cluster.rb +43 -0
  70. data/features/support/lib/clusters/results_cluster.rb +140 -0
  71. data/features/support/lib/clusters.rb +5 -0
  72. data/features/support/lib/helpers/browser.rb +212 -0
  73. data/features/support/lib/helpers/checkout.rb +31 -0
  74. data/features/support/lib/helpers/clusters.rb +234 -0
  75. data/features/support/lib/helpers/landing.rb +117 -0
  76. data/features/support/lib/helpers/render.rb +135 -0
  77. data/features/support/lib/helpers.rb +5 -0
  78. data/features/support/lib/price.rb +66 -0
  79. data/features/support/lib/services/fenix.rb +14 -0
  80. data/features/support/lib/services/landing.rb +18 -0
  81. data/features/support/lib/services/results.rb +62 -0
  82. data/features/support/lib/services.rb +4 -0
  83. data/features/support/matchers.rb +120 -0
  84. data/features/support/redefinitions.rb +42 -0
  85. data/features/tests/checkout/agency.feature +33 -0
  86. data/features/tests/checkout/button_cac.feature +52 -0
  87. data/features/tests/checkout/chat.feature +20 -0
  88. data/features/tests/checkout/cupones.feature +54 -0
  89. data/features/tests/checkout/error_messages.feature +64 -0
  90. data/features/tests/checkout/integration.feature +215 -0
  91. data/features/tests/checkout/low_cost.feature +55 -0
  92. data/features/tests/checkout/seguros.feature +37 -0
  93. data/features/tests/contents/costs.feature +29 -0
  94. data/features/tests/contents/rules.feature +58 -0
  95. data/features/tests/contents/webcheckin.feature +26 -0
  96. data/features/tests/desambiguation/airports.feature +89 -0
  97. data/features/tests/desambiguation/city.feature +86 -0
  98. data/features/tests/filters/filters.feature +160 -0
  99. data/features/tests/fixes/advancedgui.feature +171 -0
  100. data/features/tests/fixes/advancednogui.feature +60 -0
  101. data/features/tests/fixes/book_no_gui.feature +21 -0
  102. data/features/tests/fixes/cross_sell_row_hoteles.feature +70 -0
  103. data/features/tests/fixes/facebook.feature +31 -0
  104. data/features/tests/fixes/landing_home_alerts.feature +82 -0
  105. data/features/tests/fixes/matrix_stops.feature +104 -0
  106. data/features/tests/fixes/one_day_search.feature +63 -0
  107. data/features/tests/fixes/print.feature +87 -0
  108. data/features/tests/fixes/searches_no_gui.feature +85 -0
  109. data/features/tests/landing/landing_alerts.feature +93 -0
  110. data/features/tests/landing/landing_checkout.feature +286 -0
  111. data/features/tests/landing/landing_filters.feature +176 -0
  112. data/features/tests/landing/landing_home.feature +68 -0
  113. data/features/tests/landing/landing_integration.feature +153 -0
  114. data/features/tests/landing/landing_long_tail.feature +162 -0
  115. data/features/tests/landing/landing_matrix.feature +156 -0
  116. data/features/tests/landing/landing_negative.feature +157 -0
  117. data/features/tests/landing/landing_orders.feature +107 -0
  118. data/features/tests/landing/landing_pagination.feature +142 -0
  119. data/features/tests/landing/landing_passenger_review.feature +139 -0
  120. data/features/tests/landing/landing_positive.feature +155 -0
  121. data/features/tests/landing/landing_reviews.feature +139 -0
  122. data/features/tests/landing/landing_tags.feature +148 -0
  123. data/features/tests/matrix/matrix_airlines.feature +104 -0
  124. data/features/tests/matrix/matrix_fare_chart.feature +24 -0
  125. data/features/tests/matrix/matrix_price.feature +35 -0
  126. data/features/tests/others/alerts.feature +89 -0
  127. data/features/tests/others/anticipatedsearch.feature +82 -0
  128. data/features/tests/others/flights_tracker.feature +94 -0
  129. data/features/tests/others/newsletter.feature +131 -0
  130. data/features/tests/others/querystringparameters.feature +82 -0
  131. data/features/tests/others/recommendation.feature +170 -0
  132. data/features/tests/others/semaphore.feature +206 -0
  133. data/features/tests/others/upgrade_bussines.feature +100 -0
  134. data/features/tests/search/basefare.feature +88 -0
  135. data/features/tests/search/itineraries.feature +85 -0
  136. data/features/tests/search/orders.feature +100 -0
  137. data/features/tests/search/pagination.feature +70 -0
  138. data/features/tests/search/reviews.feature +84 -0
  139. data/features/tests/search/searches.feature +197 -0
  140. data/features/tests/search/wish_list.feature +102 -0
  141. data/flights_gui_henry_tests.gemspec +32 -0
  142. data/henry-context.yml +14733 -0
  143. metadata +324 -0
@@ -0,0 +1,102 @@
1
+ #language: es
2
+ @search
3
+ Característica: search.wish_list
4
+ Se verifica el funcionamiento correcto de la lista de deseos
5
+
6
+ @wish_list
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>"
9
+ Entonces Verifico que la pagina no rompa
10
+ Cuando Espero que termine de cargar
11
+ Entonces Verifico que traiga resultados
12
+ Cuando Me deslogueo como usuario
13
+ Cuando Abro el popup de registro
14
+ Entonces Verifico links y textos del popup de registro
15
+ Cuando Me logueo con usuario "testvuelos@despegar.com" y pass "despegar"
16
+ Entonces Verifico que se muestre el error de logueo
17
+ Cuando Me logueo con usuario "testvuelos@despegar.com" y pass "d3sp3g4r"
18
+ Entonces Verifico que se muestren en el header el usuario logueado
19
+ Cuando Limpio la lista de deseos
20
+ Y Cierro la lista de deseos
21
+ Cuando Abro la lista de deseos
22
+ Entonces Verifico textos y que no se muestren opciones en la lista de deseos
23
+ Y Cierro la lista de deseos
24
+ Cuando Elijo un itinerario como deseado
25
+ Entonces Verifico que el itinerario deseado quede marcado
26
+ Cuando Abro la lista de deseos
27
+ Entonces Verifico que el itinerario deseado quede en la lista de deseos
28
+ Cuando Elijo el itinerario de la lista de deseos
29
+ Entonces Verifico que la pagina no rompa
30
+ Cuando Espero que termine de cargar
31
+ Entonces Verifico que traiga resultados
32
+ Entonces Verifico que dirija correctamente a la pagina de resultados
33
+ Y Verifico que el itinerario deseado este marcado correctamente
34
+ Cuando Abro la lista de deseos
35
+ Cuando Elimino el itinerario de la lista de deseos
36
+ Y Cierro la lista de deseos
37
+ Cuando Abro la lista de deseos
38
+ Entonces Verifico textos y que no se muestren opciones en la lista de deseos
39
+ Y Cierro la lista de deseos
40
+ Cuando Me deslogueo como usuario
41
+ Entonces Verifico que no se muestre en el header el usuario logueado
42
+
43
+ @ar
44
+ Ejemplos:
45
+ |pais|cabotage|tipo|
46
+ |AR|nil|roundtrip|
47
+ |AR|true|oneway|
48
+ @br
49
+ Ejemplos:
50
+ |pais|cabotage|tipo|
51
+ |BR|nil|roundtrip|
52
+ |BR|nil|oneway|
53
+ @mx
54
+ Ejemplos:
55
+ |pais|cabotage|tipo|
56
+ |MX|nil|roundtrip|
57
+ |MX|nil|oneway|
58
+ @ve
59
+ Ejemplos:
60
+ |pais|cabotage|tipo|
61
+ |VE|nil|roundtrip|
62
+ |VE|nil|oneway|
63
+ @co
64
+ Ejemplos:
65
+ |pais|cabotage|tipo|
66
+ |CO|true|roundtrip|
67
+ |CO|true|oneway|
68
+ @ec
69
+ Ejemplos:
70
+ |pais|cabotage|tipo|
71
+ |EC|nil|roundtrip|
72
+ |EC|nil|oneway|
73
+ @pe
74
+ Ejemplos:
75
+ |pais|cabotage|tipo|
76
+ |PE|nil|roundtrip|
77
+ |PE|nil|oneway|
78
+ @pa
79
+ Ejemplos:
80
+ |pais|cabotage|tipo|
81
+ |PA|nil|roundtrip|
82
+ |PA|nil|oneway|
83
+ @cr
84
+ Ejemplos:
85
+ |pais|cabotage|tipo|
86
+ |CR|nil|roundtrip|
87
+ |CR|nil|oneway|
88
+ @us
89
+ Ejemplos:
90
+ |pais|cabotage|tipo|
91
+ |US|nil|roundtrip|
92
+ |US|nil|oneway|
93
+ @uy
94
+ Ejemplos:
95
+ |pais|cabotage|tipo|
96
+ |UY|nil|roundtrip|
97
+ |UY|true|oneway|
98
+ @cl
99
+ Ejemplos:
100
+ |pais|cabotage|tipo|
101
+ |CL|nil|roundtrip|
102
+ |CL|true|oneway|
@@ -0,0 +1,32 @@
1
+ #multi_test_flight.gemspec
2
+
3
+ # -*- encoding: utf-8 -*-
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ["lgonzalez,lsimean"]
6
+ gem.email = ["lgonzalez@despegar.com,nsimean@despegar.com"]
7
+ gem.description = %q{test automatizado para el proyecto flights gui}
8
+ gem.summary = %q{test para contents, search y advanced_search}
9
+
10
+ gem.files = Dir[".henry/**/*.*"] + Dir["flights_gui_henry_tests.gemspec"] + Dir["Gemfile"] + Dir['features/**/*.rb'] + Dir['features/data/*.*'] + Dir['features/**/*.feature'] + Dir['henry-context.yml']
11
+ #Se pueden descartar archivos que solo son necesarios en desarrollo.
12
+ #Usualmente esta lista se obtiene de forma programática levantando todos los archivos que esten dentro de lib.
13
+
14
+ gem.name = "flights_gui_henry_tests" #Debe ser unico en el Gem Server, tratemos de utilizar nombre que identifiquen de forma inequivoca
15
+
16
+ gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]
17
+
18
+ gem.version = '1.8.7' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
19
+
20
+ gem.add_dependency('henry-container', '>= 0.1.39')
21
+ gem.add_dependency('watir-webdriver')
22
+ gem.add_dependency('cucumber')
23
+ gem.add_dependency('rspec')
24
+ gem.add_dependency('hpricot')
25
+ gem.add_dependency('httparty')
26
+ gem.add_dependency('sixarm_ruby_unaccent')
27
+ gem.add_dependency('sanitize')
28
+ gem.add_dependency('mock_search')
29
+
30
+ gem.add_development_dependency('geminabox')
31
+
32
+ end