flights_gui_tests 0.0.20 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/features/step_definitions/results/filters_steps.rb +2 -2
- data/features/step_definitions/results/recommendation_steps.rb +2 -0
- data/features/step_definitions/results/reviews_steps.rb +0 -1
- data/features/tests/results/matrix/matrix_fare_chart.feature +1 -0
- data/flights_gui_tests.gemspec +1 -1
- 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: 3c76a7ae4ac8ee8674c5d617004bb4cb6d206f00
|
4
|
+
data.tar.gz: 2c4001660aa8e993a60fe16b3d86cb9bb44d2423
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff49d4e4e5f34577a28308745d35868078445a23e6f93cf0631866dfc2f7dcbd554f45396abf75d1df51baabee1d388a618c3c0fd95245b3e2401693f9165d2f
|
7
|
+
data.tar.gz: 28f569665bee217d5f99a5962f54a940c0138447af842c903bc1c42d6db68a62deefcb7566c0d4b2196cd833f3e691e0232c689d5eccf6988c5ace936844c64a
|
@@ -278,10 +278,10 @@ Entonces(/^verifico que la primer pagina muestre correctamente los filtros de pr
|
|
278
278
|
@page.datos_de_itinerarios.each do |itinerario|
|
279
279
|
if AllPages.site.match("MX|UY|PE|BR|CR|PA")
|
280
280
|
(itinerario.tarifas['tarifa_adulto'].value >= @price_down).should be_true
|
281
|
-
(itinerario.tarifas['tarifa_adulto'].value <= @price_up).should be_true
|
281
|
+
(itinerario.tarifas['tarifa_adulto'].value <= @price_up+1).should be_true
|
282
282
|
else
|
283
283
|
(itinerario.tarifas['total'].value >= @price_down).should be_true
|
284
|
-
(itinerario.tarifas['total'].value <= @price_up).should be_true
|
284
|
+
(itinerario.tarifas['total'].value <= @price_up+1).should be_true
|
285
285
|
end
|
286
286
|
end
|
287
287
|
end
|
@@ -4,6 +4,8 @@ Entonces(/^verifico que exista el icono de enviar recomendacion$/) do
|
|
4
4
|
end
|
5
5
|
|
6
6
|
Cuando(/^hago click en el icono de enviar recomendacion$/) do
|
7
|
+
@page.cerrar_popup_alerta_element.click if @page.cerrar_popup_alerta_element.present?
|
8
|
+
@page.cerrar_popup_cantidad_visitantes_element.click if @page.cerrar_popup_cantidad_visitantes_element.present?
|
7
9
|
@page.primera_opcion_ida_element.click if @page.primera_opcion_ida_element.present?
|
8
10
|
@page.primera_opcion_vuelta_element.click if @page.primera_opcion_vuelta_element.present?
|
9
11
|
@page.icono_mail_element.click
|
@@ -10,7 +10,6 @@ Cuando(/^(?:verifico|valido) las reviews de aerolineas$/) do
|
|
10
10
|
@page.logo_aerolinea_en_matriz(index).should match((doc/"span.logo/img").first.attributes['src'].strip.downcase)
|
11
11
|
@page.nombre_aerolinea_en_matriz(index).should equal((doc/"h4.name").inner_text.strip.downcase)
|
12
12
|
aerolinea.text.should match((doc/"span.popup-reviews-summary-points-container span").first.inner_text)
|
13
|
-
byebug
|
14
13
|
@page.close_popup_reviews_aerolineas_element.click
|
15
14
|
@page.popup_reviews_aerolineas_element.when_not_visible(timeout=10)
|
16
15
|
end
|
@@ -11,6 +11,7 @@ Característica: results.matrix_fare_chart
|
|
11
11
|
Entonces verifico que traiga resultados
|
12
12
|
Cuando fuerzo el abztesting de "showFareChart" al "45"
|
13
13
|
Y refresco la pagina
|
14
|
+
Entonces verifico que la pagina no rompa
|
14
15
|
Cuando espero que termine de cargar la pagina de resultados
|
15
16
|
Y ingreso a la matriz de tendencia de precios
|
16
17
|
Y verifico el mensaje de aclaracion de precio de matriz de tendencia de precios
|
data/flights_gui_tests.gemspec
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]
|
17
17
|
|
18
|
-
gem.version = '0.0.
|
18
|
+
gem.version = '0.0.21' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
|
19
19
|
|
20
20
|
gem.add_dependency('henry-container', '>= 0.1.39')
|
21
21
|
gem.add_dependency('page-object')
|