flights_gui_tests 1.2.9 → 1.3.0
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/cash_payment_steps.rb +10 -0
- data/features/step_definitions/checkout/upselling_steps.rb +7 -0
- data/features/step_definitions/checkout/verifications_steps.rb +1 -1
- data/features/support/version.rb +1 -1
- data/features/tests/checkout/cash_payment.feature +82 -1
- data/features/tests/checkout/online_payment.feature +82 -1
- 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: 0e1609fbf7fa7640b092d655588cbbc4203a86ec
|
4
|
+
data.tar.gz: ac638ffe680efa2cf040efcb53c56fe1f21516a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 410eec5c3156059699d1006f336787587725e8cf65ad4f3d9e638d69e7fa24d0e24c3459feeaca8af06f4cd60795da6cea4adc1540fe08a01559dca2bcb0c6d5
|
7
|
+
data.tar.gz: 2be1b8da0cb0c7809a1fd8b7736524a22700cb1415c26c56729ef205e98eebe6b8d056f31580f1d8dad6bab7348813c57e012c52baf5f5ef7cd8ba6523050481
|
@@ -64,3 +64,13 @@ Entonces(/^(?:verifico|valido) los pasos para hacer el deposito$/) do
|
|
64
64
|
@page.pasos_deposito_elements[4].text.gsub(/\D+/,'').should match(@monto_total)
|
65
65
|
@page.imprimir_datos_deposito_element.should visible("link de impresion")
|
66
66
|
end
|
67
|
+
|
68
|
+
Entonces(/^(?:verifico|valido) que no se muestre la opcion de pago por deposito$/) do
|
69
|
+
@page.deposito_ar_element.should_not visible("pago por deposito")
|
70
|
+
@page.deposito_pe_element.should_not visible("pago por deposito")
|
71
|
+
end
|
72
|
+
|
73
|
+
Entonces(/^(?:verifico|valido) que no se muestre la opcion de pago online$/) do
|
74
|
+
@page.pago_online_ar_element.should_not visible("pago online")
|
75
|
+
@page.pago_online_pe_element.should_not visible("pago online")
|
76
|
+
end
|
@@ -47,4 +47,11 @@ Entonces(/^(?:verifico|valido) que se muestre correctamente el popup de la cober
|
|
47
47
|
popup.div(:class,'coverage').text.should_not is_empty?
|
48
48
|
@page.cerrar_popup_cobertura_element.click
|
49
49
|
@page.popup_cobertura_element.when_not_visible(timeout=20)
|
50
|
+
end
|
51
|
+
|
52
|
+
Y(/^(?:verifico|valido) que no se muestre la leyenda de seguro gratis en el desglose$/) do
|
53
|
+
if @page.cobertura_element.present?
|
54
|
+
step "elijo \"true\" si quiero cobertura"
|
55
|
+
step "elijo \"false\" si quiero cobertura"
|
56
|
+
end
|
50
57
|
end
|
data/features/support/version.rb
CHANGED
@@ -78,4 +78,85 @@ Característica: checkout.cash_payment
|
|
78
78
|
|pais|tipo|cabotage|
|
79
79
|
|PE |roundtrip|nil|
|
80
80
|
|PE |oneway|nil|
|
81
|
-
|PE |multipledestinations|nil|
|
81
|
+
|PE |multipledestinations|nil|
|
82
|
+
|
83
|
+
@cash_payment
|
84
|
+
Esquema del escenario: Se verifica que no se muestre la opcion de pago por deposito
|
85
|
+
Dado como un usuario de '<pais>'
|
86
|
+
* ingreso una busqueda '<tipo>' del tipo '<cabotage>'
|
87
|
+
Cuando realizo la busqueda
|
88
|
+
Entonces verifico que la pagina no rompa
|
89
|
+
Cuando espero que termine de cargar la pagina de resultados
|
90
|
+
Entonces verifico que traiga resultados
|
91
|
+
Y cierro popups
|
92
|
+
Cuando elijo un itinerario y paso a checkout
|
93
|
+
Entonces verifico que la pagina no rompa
|
94
|
+
Y espero que termine de cargar la pagina de checkout
|
95
|
+
Y verifico que ingrese al checkout
|
96
|
+
Entonces verifico que no se muestre la opcion de pago por deposito
|
97
|
+
|
98
|
+
@br
|
99
|
+
Ejemplos:
|
100
|
+
|pais|tipo|cabotage|
|
101
|
+
|BR |oneway|true|
|
102
|
+
|BR |roundtrip|true|
|
103
|
+
@co
|
104
|
+
Ejemplos:
|
105
|
+
|pais|tipo|cabotage|
|
106
|
+
|CO |roundtrip|true|
|
107
|
+
|CO |oneway|nil|
|
108
|
+
|CO |multipledestinations|nil|
|
109
|
+
@mx
|
110
|
+
Ejemplos:
|
111
|
+
|pais|tipo|cabotage|
|
112
|
+
|MX |roundtrip|true|
|
113
|
+
|MX |oneway|nil|
|
114
|
+
|MX |multipledestinations|nil|
|
115
|
+
@ve
|
116
|
+
Ejemplos:
|
117
|
+
|pais|tipo|cabotage|
|
118
|
+
|VE |roundtrip|true|
|
119
|
+
|VE |oneway|true|
|
120
|
+
|VE |multipledestinations|true|
|
121
|
+
@cl
|
122
|
+
Ejemplos:
|
123
|
+
|pais|tipo|cabotage|
|
124
|
+
|CL |roundtrip|nil|
|
125
|
+
|CL |oneway|nil|
|
126
|
+
|CL |multipledestinations|nil|
|
127
|
+
@cr
|
128
|
+
Ejemplos:
|
129
|
+
|pais|tipo|cabotage|
|
130
|
+
|CR |roundtrip|true|
|
131
|
+
|CR |oneway|true|
|
132
|
+
|CR |multipledestinations|nil|
|
133
|
+
@ec
|
134
|
+
Ejemplos:
|
135
|
+
|pais|tipo|cabotage|
|
136
|
+
|EC |multipledestinations|true|
|
137
|
+
|EC |roundtrip|nil|
|
138
|
+
|EC |oneway|nil|
|
139
|
+
@pa
|
140
|
+
Ejemplos:
|
141
|
+
|pais|tipo|cabotage|
|
142
|
+
|PA |oneway|true|
|
143
|
+
|PA |multipledestinations|true|
|
144
|
+
|PA |roundtrip|nil|
|
145
|
+
@us
|
146
|
+
Ejemplos:
|
147
|
+
|pais|tipo|cabotage|
|
148
|
+
|US |roundtrip|true|
|
149
|
+
|US |oneway|true|
|
150
|
+
|US |multipledestinations|nil|
|
151
|
+
@uy
|
152
|
+
Ejemplos:
|
153
|
+
|pais|tipo|cabotage|
|
154
|
+
|UY |multipledestinations|true|
|
155
|
+
|UY |roundtrip|nil|
|
156
|
+
|UY |oneway|nil|
|
157
|
+
@pr
|
158
|
+
Ejemplos:
|
159
|
+
|pais|tipo|cabotage|
|
160
|
+
|PR |multipledestinations|true|
|
161
|
+
|PR |roundtrip|nil|
|
162
|
+
|PR |oneway|nil|
|
@@ -78,4 +78,85 @@ Característica: checkout.online_payment
|
|
78
78
|
|pais|tipo|cabotage|
|
79
79
|
|PE |roundtrip|nil|
|
80
80
|
|PE |oneway|nil|
|
81
|
-
|PE |multipledestinations|nil|
|
81
|
+
|PE |multipledestinations|nil|
|
82
|
+
|
83
|
+
@online_payment
|
84
|
+
Esquema del escenario: Se verifica que no se muestre la opcion de pago online
|
85
|
+
Dado como un usuario de '<pais>'
|
86
|
+
* ingreso una busqueda '<tipo>' del tipo '<cabotage>'
|
87
|
+
Cuando realizo la busqueda
|
88
|
+
Entonces verifico que la pagina no rompa
|
89
|
+
Cuando espero que termine de cargar la pagina de resultados
|
90
|
+
Entonces verifico que traiga resultados
|
91
|
+
Y cierro popups
|
92
|
+
Cuando elijo un itinerario y paso a checkout
|
93
|
+
Entonces verifico que la pagina no rompa
|
94
|
+
Y espero que termine de cargar la pagina de checkout
|
95
|
+
Y verifico que ingrese al checkout
|
96
|
+
Entonces verifico que no se muestre la opcion de pago online
|
97
|
+
|
98
|
+
@br
|
99
|
+
Ejemplos:
|
100
|
+
|pais|tipo|cabotage|
|
101
|
+
|BR |oneway|true|
|
102
|
+
|BR |roundtrip|true|
|
103
|
+
@co
|
104
|
+
Ejemplos:
|
105
|
+
|pais|tipo|cabotage|
|
106
|
+
|CO |roundtrip|true|
|
107
|
+
|CO |oneway|nil|
|
108
|
+
|CO |multipledestinations|nil|
|
109
|
+
@mx
|
110
|
+
Ejemplos:
|
111
|
+
|pais|tipo|cabotage|
|
112
|
+
|MX |roundtrip|true|
|
113
|
+
|MX |oneway|nil|
|
114
|
+
|MX |multipledestinations|nil|
|
115
|
+
@ve
|
116
|
+
Ejemplos:
|
117
|
+
|pais|tipo|cabotage|
|
118
|
+
|VE |roundtrip|true|
|
119
|
+
|VE |oneway|true|
|
120
|
+
|VE |multipledestinations|true|
|
121
|
+
@cl
|
122
|
+
Ejemplos:
|
123
|
+
|pais|tipo|cabotage|
|
124
|
+
|CL |roundtrip|nil|
|
125
|
+
|CL |oneway|nil|
|
126
|
+
|CL |multipledestinations|nil|
|
127
|
+
@cr
|
128
|
+
Ejemplos:
|
129
|
+
|pais|tipo|cabotage|
|
130
|
+
|CR |roundtrip|true|
|
131
|
+
|CR |oneway|true|
|
132
|
+
|CR |multipledestinations|nil|
|
133
|
+
@ec
|
134
|
+
Ejemplos:
|
135
|
+
|pais|tipo|cabotage|
|
136
|
+
|EC |multipledestinations|true|
|
137
|
+
|EC |roundtrip|nil|
|
138
|
+
|EC |oneway|nil|
|
139
|
+
@pa
|
140
|
+
Ejemplos:
|
141
|
+
|pais|tipo|cabotage|
|
142
|
+
|PA |oneway|true|
|
143
|
+
|PA |multipledestinations|true|
|
144
|
+
|PA |roundtrip|nil|
|
145
|
+
@us
|
146
|
+
Ejemplos:
|
147
|
+
|pais|tipo|cabotage|
|
148
|
+
|US |roundtrip|true|
|
149
|
+
|US |oneway|true|
|
150
|
+
|US |multipledestinations|nil|
|
151
|
+
@uy
|
152
|
+
Ejemplos:
|
153
|
+
|pais|tipo|cabotage|
|
154
|
+
|UY |multipledestinations|true|
|
155
|
+
|UY |roundtrip|nil|
|
156
|
+
|UY |oneway|nil|
|
157
|
+
@pr
|
158
|
+
Ejemplos:
|
159
|
+
|pais|tipo|cabotage|
|
160
|
+
|PR |multipledestinations|true|
|
161
|
+
|PR |roundtrip|nil|
|
162
|
+
|PR |oneway|nil|
|
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: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lgonzalez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: henry-container
|