flights_gui_tests 2.4.54 → 2.4.56
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/load_steps.rb +16 -0
- data/features/step_definitions/results/recommendation_steps.rb +3 -3
- data/features/support/modules/results/recommendation.rb +1 -0
- data/features/support/version.rb +1 -1
- data/features/tests/checkout/seguros.feature +1 -1
- data/features/tests/results/recommendation.feature +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8659a16769a31e50b472b9bcdef0bf29f8a2a22c
|
|
4
|
+
data.tar.gz: a63fc3e48f3f97b817290b12872a0fae572bf078
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b4d2ac4f9703745a80b4ec41bdda79c40caa608b3f55c651eab96d0c9bb694a7f123f11b8eb57a4921360ed9bcbcd9a071521bc24c115fbd6adcbbd9dfc75367
|
|
7
|
+
data.tar.gz: f950972288bad2a2ce16b85de382c72e5eff333829430ca77e0e6497262142fae2e05bd83952c09fec576d88f14c0aa598e490c31b039f58b3e9d6b1a1ace974
|
|
@@ -92,5 +92,21 @@ Entonces(/^pruebo angular$/) do
|
|
|
92
92
|
else
|
|
93
93
|
step "ingreso a resultados con cookie \"useAngular\" al \"61\""
|
|
94
94
|
end
|
|
95
|
+
else
|
|
96
|
+
$HENRY_PARAMS['angular'] = nil
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
Entonces(/^pruebo angular con valor "(.*)"$/) do |val|
|
|
101
|
+
if AllPages.site !~ /BR|AR|MX/
|
|
102
|
+
if val.to_i < 50
|
|
103
|
+
$HENRY_PARAMS['angular'] = true
|
|
104
|
+
step "ingreso a resultados con cookie \"useAngular\" al \"#{val}\""
|
|
105
|
+
else
|
|
106
|
+
$HENRY_PARAMS['angular'] = nil
|
|
107
|
+
step "ingreso a resultados con cookie \"useAngular\" al \"#{val}\""
|
|
108
|
+
end
|
|
109
|
+
else
|
|
110
|
+
$HENRY_PARAMS['angular'] = nil
|
|
95
111
|
end
|
|
96
112
|
end
|
|
@@ -7,8 +7,7 @@ Cuando(/^hago click en el icono de enviar recomendacion$/) do
|
|
|
7
7
|
step "cierro popups"
|
|
8
8
|
@page.cerrar_popup_alerta_element.click if @page.cerrar_popup_alerta_element.present?
|
|
9
9
|
@page.cerrar_popup_cantidad_visitantes_element.click if @page.cerrar_popup_cantidad_visitantes_element.present?
|
|
10
|
-
@page.
|
|
11
|
-
@page.primera_opcion_vuelta_element.click if @page.primera_opcion_vuelta_element.present?
|
|
10
|
+
@page.setear_clusters(0)
|
|
12
11
|
@page.icono_mail_element.click
|
|
13
12
|
end
|
|
14
13
|
|
|
@@ -17,7 +16,8 @@ Entonces(/^(?:verifico|valido) que cargue el contenido del popup$/) do
|
|
|
17
16
|
end
|
|
18
17
|
|
|
19
18
|
Entonces(/^(?:verifico|valido) que el asunto sea correcto "(.*?)"$/) do |arg1|
|
|
20
|
-
|
|
19
|
+
sleep(1)
|
|
20
|
+
@page.browser.text_field(:class,'input subject placeholder').value.strip.should match(arg1)
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
Entonces(/^(?:verifico|valido) que el comentario por default sea correcto "(.*?)"$/) do |arg1|
|
|
@@ -14,6 +14,7 @@ module Results
|
|
|
14
14
|
div(:popup_mail,:id=>"popup-email")
|
|
15
15
|
|
|
16
16
|
text_field(:asunto_recomendacion,:class=>"input subject placeholder")
|
|
17
|
+
text_field(:asunto_recomendacion_angular,:class=>"flights-input ng-pristine ng-valid ng-touched")
|
|
17
18
|
text_field(:error_nombre_recomendacion,:class=>"input sender-name flights-input error")
|
|
18
19
|
text_field(:error_mail_remitente_recomendacion,:class=>"input sender flights-input error")
|
|
19
20
|
text_field(:error_mail_destinatario_recomendacion,:class=>"input receiver flights-input error")
|
data/features/support/version.rb
CHANGED
|
@@ -57,7 +57,7 @@ Característica: checkout.seguros
|
|
|
57
57
|
Entonces verifico que la pagina no rompa
|
|
58
58
|
Y espero que termine de cargar la pagina de checkout
|
|
59
59
|
Y verifico que ingrese al checkout
|
|
60
|
-
Entonces ingreso al checkout con cookie "showTwoButtonsInsurance" al "
|
|
60
|
+
Entonces ingreso al checkout con cookie "showTwoButtonsInsurance" al "1"
|
|
61
61
|
Cuando existe la opcion de cobertura
|
|
62
62
|
Entonces verifico que se muestre correctamente la caja de seguro sin chequear
|
|
63
63
|
Y verifico que el precio del seguro no se muestre en el desglose
|
|
@@ -52,6 +52,7 @@ Característica: results.recommendation
|
|
|
52
52
|
Cuando realizo la busqueda
|
|
53
53
|
Entonces verifico que la pagina no rompa
|
|
54
54
|
Cuando espero que termine de cargar la pagina de resultados
|
|
55
|
+
Cuando pruebo angular
|
|
55
56
|
Entonces verifico que traiga resultados
|
|
56
57
|
Y ingreso una busqueda '<tipo>' del tipo '<cabotage>'
|
|
57
58
|
Y realizo la busqueda
|
|
@@ -94,6 +95,7 @@ Característica: results.recommendation
|
|
|
94
95
|
Cuando realizo la busqueda
|
|
95
96
|
Entonces verifico que la pagina no rompa
|
|
96
97
|
Cuando espero que termine de cargar la pagina de resultados
|
|
98
|
+
Cuando pruebo angular con valor "60"
|
|
97
99
|
Entonces verifico que traiga resultados
|
|
98
100
|
Y cierro popups
|
|
99
101
|
Entonces verifico que exista el icono de enviar recomendacion
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flights_gui_tests
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.4.
|
|
4
|
+
version: 2.4.56
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- lgonzalez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-03-
|
|
11
|
+
date: 2016-03-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: henry-container
|