flights_gui_tests 2.3.15 → 2.3.16
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/checkout/verifications_steps.rb +11 -7
- data/features/step_definitions/results/load_steps.rb +1 -0
- data/features/support/modules/checkout/new_checkout/tarjeta.rb +1 -1
- data/features/support/version.rb +1 -1
- data/features/tests/checkout/book_ok.feature +2 -7
- data/features/tests/checkout/error_messages.feature +2 -7
- data/features/tests/results/basefare.feature +0 -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: 14247cb05493a3cd583a7f29ffae8cd2f2b0d10f
|
|
4
|
+
data.tar.gz: 8248610518f78d55cd4629ea167bd246d4ea37dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ee80ae07b460afec122576b1f595a1a21f9b60d5de5d0b868ce43da6aac40161b2bf01954282ee0d8c88bb1b7b215764ba7fd15907148abf2c94150a21fa4461
|
|
7
|
+
data.tar.gz: 6d002a9ba47299db2b371e68501e2d159e6f91a78f1c0cb256e340591d1c216855e07417f63a0c644a495fb3ff03890574df8c337ed892358bedce29318d7a1c
|
|
@@ -6,13 +6,17 @@ Entonces(/^(?:verifico|valido) los valores del desglose del checkout$/) do
|
|
|
6
6
|
@itinerario_checkout.tarifas['adt'].valor.should be_within(4).of(@itinerario_checkout.tarifas['tarifa_adulto'].valor * @page.manage_data.adt)
|
|
7
7
|
end
|
|
8
8
|
@itinerario_resultados.tarifas.each_pair do |key,value|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
if key == "total" and !@itinerario_checkout.tarifas["descuento"].value.zero?
|
|
10
|
+
value.value.should be_within(4).of(@itinerario_checkout.tarifas[key].value-@itinerario_checkout.tarifas["descuento"].value)
|
|
11
|
+
else
|
|
12
|
+
if @itinerario_checkout.tarifas[key] and !value.zero? and value.currency == @itinerario_checkout.tarifas[key].currency
|
|
13
|
+
if AllPages.site=="BR"
|
|
14
|
+
value.value.should be_within(14).of(@itinerario_checkout.tarifas[key].value)
|
|
15
|
+
else
|
|
16
|
+
value.value.should be_within(4).of(@itinerario_checkout.tarifas[key].value)
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
16
20
|
end
|
|
17
21
|
end
|
|
18
22
|
|
|
@@ -53,6 +53,7 @@ end
|
|
|
53
53
|
Cuando(/^espero que (?:termine|finalize|acabe) de cargar la pagina de resultados$/) do
|
|
54
54
|
@page.carga_element.when_not_visible(timeout=200)
|
|
55
55
|
@page.actualizar_filtro_element.when_not_visible(timeout=120)
|
|
56
|
+
@page.barra_progreso_element.when_not_visible(timeout=200)
|
|
56
57
|
end
|
|
57
58
|
|
|
58
59
|
Cuando(/^espero que (?:termine|finalize|acabe) de cargar la pagina de streaming de resultados$/) do
|
|
@@ -240,7 +240,7 @@ module NewCheckout
|
|
|
240
240
|
cant_restantes = (doc/"span.all-installments").inner_text.downstrip.gsub(/\./,'').match(/\+ (\d{1,2})/)[1].to_i
|
|
241
241
|
valor_restantes = (doc/"span.all-installments/span.price/span.currency/span.amount").inner_text.gsub(/\.|\,/,'').to_i
|
|
242
242
|
(inicial + (cant_restantes * valor_restantes)).should be_within(2).of(total_2)
|
|
243
|
-
costo_financiero.should equal(total_2 - total_1)
|
|
243
|
+
costo_financiero.should equal(total_2 - total_1)
|
|
244
244
|
end
|
|
245
245
|
end
|
|
246
246
|
end
|
data/features/support/version.rb
CHANGED
|
@@ -246,17 +246,12 @@ Característica: checkout.book_ok
|
|
|
246
246
|
@roundtrip
|
|
247
247
|
Ejemplos:
|
|
248
248
|
|pais|tipo|cabotage|
|
|
249
|
-
|VE |roundtrip|
|
|
249
|
+
|VE |roundtrip|true|
|
|
250
250
|
@ve
|
|
251
251
|
@oneway
|
|
252
252
|
Ejemplos:
|
|
253
253
|
|pais|tipo|cabotage|
|
|
254
|
-
|VE |oneway|
|
|
255
|
-
@ve
|
|
256
|
-
@multipledestinations
|
|
257
|
-
Ejemplos:
|
|
258
|
-
|pais|tipo|cabotage|
|
|
259
|
-
|VE |multipledestinations|nil|
|
|
254
|
+
|VE |oneway|true|
|
|
260
255
|
|
|
261
256
|
@book_ok
|
|
262
257
|
Esquema del escenario: Se verifica que se pueda realizar una compra correctamente, validando que los valores a travez del flujo sean correctos y se mantengan a travez del mismo [REGRESION].
|
|
@@ -59,17 +59,12 @@ Característica: checkout.error_messages
|
|
|
59
59
|
@roundtrip
|
|
60
60
|
Ejemplos:
|
|
61
61
|
|pais|tipo|cabotage|
|
|
62
|
-
|VE |roundtrip|
|
|
62
|
+
|VE |roundtrip|true|
|
|
63
63
|
@ve
|
|
64
64
|
@oneway
|
|
65
65
|
Ejemplos:
|
|
66
66
|
|pais|tipo|cabotage|
|
|
67
|
-
|VE |oneway|
|
|
68
|
-
@ve
|
|
69
|
-
@multipledestinations
|
|
70
|
-
Ejemplos:
|
|
71
|
-
|pais|tipo|cabotage|
|
|
72
|
-
|VE |multipledestinations|nil|
|
|
67
|
+
|VE |oneway|true|
|
|
73
68
|
|
|
74
69
|
@error_messages
|
|
75
70
|
Esquema del escenario: Se ingresa al checkout y se ingresan datos erroneos y en blanco.
|