flights_gui_tests 0.8.8 → 0.8.9
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 +4 -4
- data/features/step_definitions/results/filters_steps.rb +1 -2
- data/features/step_definitions/results/matrix_steps.rb +1 -0
- data/features/step_definitions/tags_steps.rb +1 -1
- data/features/tests/results/filters.feature +5 -8
- data/flights_gui_tests.gemspec +1 -1
- data/henry-context.yml +2 -49
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0fb18e0baefb9ff05b7de6e40f1ce212957a1fd8
|
|
4
|
+
data.tar.gz: d5ae995ae01b08378806502c36ffe0db76b0072f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 41b5dfadf21871febf9cf4d18ee8504bb8ce4bd72c9ce19a5b3f638147971d8bceefacd455ef8448e6bd49ba868700f4bd0eee25c6cc3e0cf72e8f9e5b096de8
|
|
7
|
+
data.tar.gz: 4bea4d035b74cd020996ae5211a101437f70b86efa97e436650ec89b8702effaff2f9f5c0de6759afc6c2fe736e307f54c6b1ab1db48ad7d69d3f7c59a4e1c1b
|
|
@@ -25,7 +25,6 @@ end
|
|
|
25
25
|
Entonces(/^(?:verifico|valido) que los contadores respecto a las aerolineas sean correctos$/) do
|
|
26
26
|
@page.cantidad_items_aeropuerto_salida_element.text.to_i.should equal(@total)
|
|
27
27
|
@page.cantidad_items_aeropuerto_llegada_element.text.to_i.should equal(@total) if @page.cantidad_items_aeropuerto_llegada_element.present?
|
|
28
|
-
@page.cantidad_items_paradas_element.text.to_i.should equal(@total)
|
|
29
28
|
end
|
|
30
29
|
|
|
31
30
|
Entonces(/^(?:verifico|valido) que la primer pagina muestre correctamente los filtros de aerolineas$/) do
|
|
@@ -236,7 +235,7 @@ end
|
|
|
236
235
|
Entonces(/^limpio el filtro de duracion (outbound|inbound)$/) do |_class|
|
|
237
236
|
unless((_class.downcase=="inbound")and(@page.tipo_de_busqueda.downcase=="oneway"))
|
|
238
237
|
box=@page.browser.div(:class,"flights-filter ux-common-filter-section ux-common-filter-slider ux-flights-filter-hours-slider ux-flights-filter-duration-slider ux-flights-filter-#{_class}duration-slider")
|
|
239
|
-
|
|
238
|
+
box.link(:class,'ux-common-filter-reset').click if box.link(:class,'ux-common-filter-reset').present?
|
|
240
239
|
end
|
|
241
240
|
end
|
|
242
241
|
|
|
@@ -222,6 +222,7 @@ Entonces(/^espero que la matriz de precios termine de cargar$/) do
|
|
|
222
222
|
end
|
|
223
223
|
|
|
224
224
|
Entonces(/^realizo las busquedas para recargar la matriz$/) do
|
|
225
|
+
pending("La busqueda #{@page.manage_data.generate_url_results_search} no mostro la matriz de precios")
|
|
225
226
|
date = @page.manage_data.date_to_1
|
|
226
227
|
[0,1,2,3].each do |x|
|
|
227
228
|
[0,1,2,3].each do |y|
|
|
@@ -64,7 +64,7 @@ end
|
|
|
64
64
|
|
|
65
65
|
Y(/^(?:verifico|valido) el logger en (resultado|home) de (landing|fgui)$/) do |page,product|
|
|
66
66
|
@page.buscar_tag_por_src("logger").should_not is_empty?
|
|
67
|
-
@page.buscar_tag_por_src("logger").first.attributes['src'].strip.no_accents.gsub(/\n\r/,'').should match("(.+)logger.
|
|
67
|
+
@page.buscar_tag_por_src("logger").first.attributes['src'].strip.no_accents.gsub(/\n\r/,'').should match("(.+)logger-ds4j.{1,3}pagina\=\/shop\/flights\/results\/#{@page.tipo_de_busqueda}\/#{@page.manage_data.path}(.+)")
|
|
68
68
|
end
|
|
69
69
|
|
|
70
70
|
Y(/^(?:verifico|valido) el tag de canonical$/) do
|
|
@@ -49,7 +49,6 @@ Característica: results.filters
|
|
|
49
49
|
Entonces filtro por aerolinea
|
|
50
50
|
Cuando espero que termine de cargar la pagina de resultados
|
|
51
51
|
Entonces verifico que la pagina no rompa
|
|
52
|
-
Entonces verifico que los contadores respecto a las aerolineas sean correctos
|
|
53
52
|
Y verifico que la primer pagina muestre correctamente los filtros de aerolineas
|
|
54
53
|
Cuando limpio el filtro de aerolineas
|
|
55
54
|
Cuando espero que termine de cargar la pagina de resultados
|
|
@@ -57,7 +56,6 @@ Característica: results.filters
|
|
|
57
56
|
Entonces filtro por aeropuerto
|
|
58
57
|
Cuando espero que termine de cargar la pagina de resultados
|
|
59
58
|
Entonces verifico que la pagina no rompa
|
|
60
|
-
Entonces verifico que los contadores respecto al aeropuerto sean correctos
|
|
61
59
|
Y verifico que la primer pagina muestre correctamente los filtros de aeropuertos outbound
|
|
62
60
|
Cuando limpio el filtro de aeropuertos de salida
|
|
63
61
|
Cuando espero que termine de cargar la pagina de resultados
|
|
@@ -66,7 +64,6 @@ Característica: results.filters
|
|
|
66
64
|
Entonces filtro por escala
|
|
67
65
|
Cuando espero que termine de cargar la pagina de resultados
|
|
68
66
|
Entonces verifico que la pagina no rompa
|
|
69
|
-
Entonces verifico que los contadores respecto a las escalas sean correctos
|
|
70
67
|
Y verifico que la primer pagina muestre correctamente los filtros de escalas
|
|
71
68
|
Cuando limpio el filtro de escalas
|
|
72
69
|
Cuando espero que termine de cargar la pagina de resultados
|
|
@@ -108,13 +105,13 @@ Característica: results.filters
|
|
|
108
105
|
|MX |oneway|nil|
|
|
109
106
|
|MX |roundtrip|true|
|
|
110
107
|
|MX |oneway|true|
|
|
111
|
-
@
|
|
108
|
+
@co
|
|
112
109
|
Ejemplos:
|
|
113
110
|
|pais|tipo|cabotage|
|
|
114
|
-
|
|
|
115
|
-
|
|
|
116
|
-
|
|
|
117
|
-
|
|
|
111
|
+
|CO |roundtrip|nil|
|
|
112
|
+
|CO |oneway|nil|
|
|
113
|
+
|CO |roundtrip|true|
|
|
114
|
+
|CO |oneway|true|
|
|
118
115
|
@us
|
|
119
116
|
Ejemplos:
|
|
120
117
|
|pais|tipo|cabotage|
|
data/flights_gui_tests.gemspec
CHANGED
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
|
|
|
14
14
|
|
|
15
15
|
gem.require_paths = ["lib"] # Usualmente es solo lib -> ["lib"]
|
|
16
16
|
|
|
17
|
-
gem.version = '0.8.
|
|
17
|
+
gem.version = '0.8.9' # La version se debe incrementar cada vez que se desea publicar una nueva version del test.
|
|
18
18
|
|
|
19
19
|
gem.add_dependency('henry-container', '>= 0.1.39')
|
|
20
20
|
gem.add_dependency('page-object')
|
data/henry-context.yml
CHANGED
|
@@ -3015,13 +3015,13 @@ tasks:
|
|
|
3015
3015
|
recipients:
|
|
3016
3016
|
- estebanldh@gmail.com
|
|
3017
3017
|
- nsimean@despegar.com
|
|
3018
|
-
- name: results.filters.
|
|
3018
|
+
- name: results.filters.co
|
|
3019
3019
|
class_name: Henry::Task::CucumberTask
|
|
3020
3020
|
options:
|
|
3021
3021
|
tags:
|
|
3022
3022
|
- results
|
|
3023
3023
|
- filters
|
|
3024
|
-
-
|
|
3024
|
+
- co
|
|
3025
3025
|
expand: true
|
|
3026
3026
|
no-source: true
|
|
3027
3027
|
reports:
|
|
@@ -7910,53 +7910,6 @@ tasks:
|
|
|
7910
7910
|
recipients:
|
|
7911
7911
|
- estebanldh@gmail.com
|
|
7912
7912
|
- nsimean@despegar.com
|
|
7913
|
-
- name: landing.new_search.ar
|
|
7914
|
-
class_name: Henry::Task::CucumberTask
|
|
7915
|
-
options:
|
|
7916
|
-
tags:
|
|
7917
|
-
- landing
|
|
7918
|
-
- new_search
|
|
7919
|
-
- ar
|
|
7920
|
-
expand: true
|
|
7921
|
-
no-source: true
|
|
7922
|
-
reports:
|
|
7923
|
-
- format: html
|
|
7924
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
7925
|
-
recipients:
|
|
7926
|
-
- estebanldh@gmail.com
|
|
7927
|
-
- nsimean@despegar.com
|
|
7928
|
-
- name: landing.new_search.ar.roundtrip
|
|
7929
|
-
class_name: Henry::Task::CucumberTask
|
|
7930
|
-
options:
|
|
7931
|
-
tags:
|
|
7932
|
-
- landing
|
|
7933
|
-
- new_search
|
|
7934
|
-
- ar
|
|
7935
|
-
- roundtrip
|
|
7936
|
-
expand: true
|
|
7937
|
-
no-source: true
|
|
7938
|
-
reports:
|
|
7939
|
-
- format: html
|
|
7940
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
7941
|
-
recipients:
|
|
7942
|
-
- estebanldh@gmail.com
|
|
7943
|
-
- nsimean@despegar.com
|
|
7944
|
-
- name: landing.new_search.ar.oneway
|
|
7945
|
-
class_name: Henry::Task::CucumberTask
|
|
7946
|
-
options:
|
|
7947
|
-
tags:
|
|
7948
|
-
- landing
|
|
7949
|
-
- new_search
|
|
7950
|
-
- ar
|
|
7951
|
-
- oneway
|
|
7952
|
-
expand: true
|
|
7953
|
-
no-source: true
|
|
7954
|
-
reports:
|
|
7955
|
-
- format: html
|
|
7956
|
-
name: ${DATE}_${TASK_NAME}.html
|
|
7957
|
-
recipients:
|
|
7958
|
-
- estebanldh@gmail.com
|
|
7959
|
-
- nsimean@despegar.com
|
|
7960
7913
|
- name: landing.new_search.co
|
|
7961
7914
|
class_name: Henry::Task::CucumberTask
|
|
7962
7915
|
options:
|