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.
- checksums.yaml +15 -0
- data/Gemfile +3 -0
- data/features/data/home-offers-config.csv +883 -0
- data/features/data/host.yml +72 -0
- data/features/data/miles.yml +216 -0
- data/features/data/search.yml +27 -0
- data/features/data/sites.yml +39 -0
- data/features/data/tag_microsoft.yml +68 -0
- data/features/step_definitions/checkout/agencia_steps.rb +6 -0
- data/features/step_definitions/checkout/chat_steps.rb +43 -0
- data/features/step_definitions/checkout/checkout_steps.rb +144 -0
- data/features/step_definitions/checkout/cupones_steps.rb +26 -0
- data/features/step_definitions/checkout/error_messages.rb +251 -0
- data/features/step_definitions/checkout/seguros_steps.rb +78 -0
- data/features/step_definitions/checkout/thanks_steps.rb +75 -0
- data/features/step_definitions/content/contents_steps.rb +140 -0
- data/features/step_definitions/desambiguation/disambiguation_airports_steps.rb +73 -0
- data/features/step_definitions/desambiguation/disambiguation_city_steps.rb +43 -0
- data/features/step_definitions/filter/filters_airlines.rb +38 -0
- data/features/step_definitions/filter/filters_airports_steps.rb +31 -0
- data/features/step_definitions/filter/filters_price_steps.rb +87 -0
- data/features/step_definitions/filter/filters_stops_steps.rb +44 -0
- data/features/step_definitions/filter/filters_time_steps.rb +143 -0
- data/features/step_definitions/filter/matrix_steps.rb +249 -0
- data/features/step_definitions/landing/landing_checkout_steps.rb +45 -0
- data/features/step_definitions/landing/landing_filters_steps.rb +17 -0
- data/features/step_definitions/landing/landing_home_alerts_steps.rb +21 -0
- data/features/step_definitions/landing/landing_home_steps.rb +82 -0
- data/features/step_definitions/landing/landing_long_tail.rb +58 -0
- data/features/step_definitions/landing/landing_negative_steps.rb +127 -0
- data/features/step_definitions/landing/landing_passenger_review_steps.rb +8 -0
- data/features/step_definitions/landing/landing_steps.rb +325 -0
- data/features/step_definitions/orders/orders.rb +67 -0
- data/features/step_definitions/others/advancedgui_steps.rb +28 -0
- data/features/step_definitions/others/advancednogui_steps.rb +34 -0
- data/features/step_definitions/others/anticipatedsearch_steps.rb +13 -0
- data/features/step_definitions/others/flights_tracker_steps.rb +73 -0
- data/features/step_definitions/others/generic_steps.rb +35 -0
- data/features/step_definitions/others/newsletter_steps.rb +50 -0
- data/features/step_definitions/others/one_day_search.rb +58 -0
- data/features/step_definitions/others/print_steps.rb +26 -0
- data/features/step_definitions/others/querystringparameters_steps.rb +6 -0
- data/features/step_definitions/others/recommendation_steps.rb +80 -0
- data/features/step_definitions/others/render_steps.rb +70 -0
- data/features/step_definitions/others/tag_steps.rb +157 -0
- data/features/step_definitions/others/upgrade_bussines_steps.rb +27 -0
- data/features/step_definitions/results/load_steps.rb +69 -0
- data/features/step_definitions/results/results_steps.rb +21 -0
- data/features/step_definitions/results/search_steps.rb +82 -0
- data/features/step_definitions/search/alerts_steps.rb +132 -0
- data/features/step_definitions/search/basefare_steps.rb +64 -0
- data/features/step_definitions/search/bestprices_steps.rb +70 -0
- data/features/step_definitions/search/cross_sell_row_hoteles.rb +78 -0
- data/features/step_definitions/search/cross_sell_steps.rb +15 -0
- data/features/step_definitions/search/delays_steps.rb +67 -0
- data/features/step_definitions/search/details_steps.rb +9 -0
- data/features/step_definitions/search/ecoflights_steps.rb +9 -0
- data/features/step_definitions/search/fenix_steps.rb +119 -0
- data/features/step_definitions/search/flight_gui_steps.rb +312 -0
- data/features/step_definitions/search/miles_step.rb +13 -0
- data/features/step_definitions/search/pagination_steps.rb +41 -0
- data/features/step_definitions/search/reviews_step.rb +56 -0
- data/features/step_definitions/search/search_no_gui_steps.rb +185 -0
- data/features/step_definitions/search/wish_list_steps.rb +123 -0
- data/features/support/env.rb +61 -0
- data/features/support/lib/clusters/data/datos_new.rb +33 -0
- data/features/support/lib/clusters/details/details_cluster.rb +30 -0
- data/features/support/lib/clusters/results/landing_cluster.rb +29 -0
- data/features/support/lib/clusters/results/render_cluster.rb +43 -0
- data/features/support/lib/clusters/results_cluster.rb +140 -0
- data/features/support/lib/clusters.rb +5 -0
- data/features/support/lib/helpers/browser.rb +212 -0
- data/features/support/lib/helpers/checkout.rb +31 -0
- data/features/support/lib/helpers/clusters.rb +234 -0
- data/features/support/lib/helpers/landing.rb +117 -0
- data/features/support/lib/helpers/render.rb +135 -0
- data/features/support/lib/helpers.rb +5 -0
- data/features/support/lib/price.rb +66 -0
- data/features/support/lib/services/fenix.rb +14 -0
- data/features/support/lib/services/landing.rb +18 -0
- data/features/support/lib/services/results.rb +62 -0
- data/features/support/lib/services.rb +4 -0
- data/features/support/matchers.rb +120 -0
- data/features/support/redefinitions.rb +42 -0
- data/features/tests/checkout/agency.feature +33 -0
- data/features/tests/checkout/button_cac.feature +52 -0
- data/features/tests/checkout/chat.feature +20 -0
- data/features/tests/checkout/cupones.feature +54 -0
- data/features/tests/checkout/error_messages.feature +64 -0
- data/features/tests/checkout/integration.feature +215 -0
- data/features/tests/checkout/low_cost.feature +55 -0
- data/features/tests/checkout/seguros.feature +37 -0
- data/features/tests/contents/costs.feature +29 -0
- data/features/tests/contents/rules.feature +58 -0
- data/features/tests/contents/webcheckin.feature +26 -0
- data/features/tests/desambiguation/airports.feature +89 -0
- data/features/tests/desambiguation/city.feature +86 -0
- data/features/tests/filters/filters.feature +160 -0
- data/features/tests/fixes/advancedgui.feature +171 -0
- data/features/tests/fixes/advancednogui.feature +60 -0
- data/features/tests/fixes/book_no_gui.feature +21 -0
- data/features/tests/fixes/cross_sell_row_hoteles.feature +70 -0
- data/features/tests/fixes/facebook.feature +31 -0
- data/features/tests/fixes/landing_home_alerts.feature +82 -0
- data/features/tests/fixes/matrix_stops.feature +104 -0
- data/features/tests/fixes/one_day_search.feature +63 -0
- data/features/tests/fixes/print.feature +87 -0
- data/features/tests/fixes/searches_no_gui.feature +85 -0
- data/features/tests/landing/landing_alerts.feature +93 -0
- data/features/tests/landing/landing_checkout.feature +286 -0
- data/features/tests/landing/landing_filters.feature +176 -0
- data/features/tests/landing/landing_home.feature +68 -0
- data/features/tests/landing/landing_integration.feature +153 -0
- data/features/tests/landing/landing_long_tail.feature +162 -0
- data/features/tests/landing/landing_matrix.feature +156 -0
- data/features/tests/landing/landing_negative.feature +157 -0
- data/features/tests/landing/landing_orders.feature +107 -0
- data/features/tests/landing/landing_pagination.feature +142 -0
- data/features/tests/landing/landing_passenger_review.feature +139 -0
- data/features/tests/landing/landing_positive.feature +155 -0
- data/features/tests/landing/landing_reviews.feature +139 -0
- data/features/tests/landing/landing_tags.feature +148 -0
- data/features/tests/matrix/matrix_airlines.feature +104 -0
- data/features/tests/matrix/matrix_fare_chart.feature +24 -0
- data/features/tests/matrix/matrix_price.feature +35 -0
- data/features/tests/others/alerts.feature +89 -0
- data/features/tests/others/anticipatedsearch.feature +82 -0
- data/features/tests/others/flights_tracker.feature +94 -0
- data/features/tests/others/newsletter.feature +131 -0
- data/features/tests/others/querystringparameters.feature +82 -0
- data/features/tests/others/recommendation.feature +170 -0
- data/features/tests/others/semaphore.feature +206 -0
- data/features/tests/others/upgrade_bussines.feature +100 -0
- data/features/tests/search/basefare.feature +88 -0
- data/features/tests/search/itineraries.feature +85 -0
- data/features/tests/search/orders.feature +100 -0
- data/features/tests/search/pagination.feature +70 -0
- data/features/tests/search/reviews.feature +84 -0
- data/features/tests/search/searches.feature +197 -0
- data/features/tests/search/wish_list.feature +102 -0
- data/flights_gui_henry_tests.gemspec +32 -0
- data/henry-context.yml +14733 -0
- 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
|