flights_gui_henry_tests 1.9.1 → 1.9.2
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
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YTJhNmU4YWY2ZTVhOGY0YTI5NTU4YTFhNTFhZTEzNzU1OTk1ZjM5YQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
N2NjOWE1ODk5OWMwNDczNTUwZjEyNTMwNWU3NWM0OTE2ZTY2MGVhNA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YmU3MWFhNjA2MzM5NzQ0OTU3NWU5ZDM0MzRkMTMyNTFiNGMzNmM5NzRlM2E4
|
|
10
|
+
ODM0NDc3MDI0ZjZiYWNjNGViNDk5NDk3ZjNiOGYxZmIwMzY1MTgzMzZkZTk1
|
|
11
|
+
ODcwYTViOTFhZTUzYjBiNjQwMmJhNTE4NDQ3ODQwMTYxNmRmZTE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NzY3ZmIzODdhYTMwYTE4ZDc1ZGRhNzdkNDlmY2ZiNDk2ZjBkY2U3OWM1ZGIy
|
|
14
|
+
MjY3MDA2ZTdmYmU5NGM2ZjVmYzAwN2VmZTJmNjZiYTk2MGJlZWRjZDgwMjMw
|
|
15
|
+
NTY3ZjFkMmE4NzQwMjIzYTNmNGY0NGQwY2UzMTk5ZDVkNzZjNmI=
|
|
@@ -45,7 +45,7 @@ Then /^Verifico que no encuentre resultados de trackeo$/ do
|
|
|
45
45
|
BROWSER.div(:id,'results-error').should visible("no se encontraron resultados")
|
|
46
46
|
end
|
|
47
47
|
Then /^Verifico que encuentre resultados de trackeo$/ do
|
|
48
|
-
BROWSER.div(:id,'results-error').should_not visible("
|
|
48
|
+
BROWSER.div(:id,'results-error').should_not visible("se encontraron resultados")
|
|
49
49
|
BROWSER.div(:id,'flight-info').should visible("informacion del vuelo")
|
|
50
50
|
end
|
|
51
51
|
Then /^Verifico que los datos de trackeo sean correctos$/ do
|
|
@@ -6,7 +6,7 @@ end
|
|
|
6
6
|
When /^Hago click en el icono de enviar recomendacion$/ do
|
|
7
7
|
BROWSER.div(:class,'actions').div(:class,'icons').span(:class,'main-sprite icon-mail icon').click
|
|
8
8
|
sleep(1)
|
|
9
|
-
if BROWSER.li(:class,"item
|
|
9
|
+
if BROWSER.li(:class,"item error-message").present?
|
|
10
10
|
puts "Hay mas de un itinerario. Se selecciona el primero"
|
|
11
11
|
BROWSER.label(:for,"0-outbound-0").li(:class,'radio').click
|
|
12
12
|
if BROWSER.div(:class,"sub-cluster inbound").present?
|
|
@@ -21,7 +21,10 @@ Then /^Verifico que cargue el contenido del popup$/ do
|
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
When /^Hago click en el boton de enviar$/ do
|
|
24
|
-
BROWSER.div(:id,"popup-email").link(:class,'btn-send flights-send-button').click
|
|
24
|
+
#BROWSER.div(:id,"popup-email").link(:class,'btn-send flights-send-button').click
|
|
25
|
+
sleep(1)
|
|
26
|
+
BROWSER.execute_script("javascript:void($('#popup-email .flights-send-button').click());")
|
|
27
|
+
sleep(2)
|
|
25
28
|
end
|
|
26
29
|
|
|
27
30
|
Then /^Verifico que el nombre del remitente sea un campo obligatorio$/ do
|
|
@@ -35,69 +35,10 @@ Característica: others.recommendation
|
|
|
35
35
|
Ejemplos:
|
|
36
36
|
|pais|tipo|cabotage|
|
|
37
37
|
|AR |roundtrip|nil|
|
|
38
|
-
@co
|
|
39
|
-
Ejemplos:
|
|
40
|
-
|pais|tipo|cabotage|
|
|
41
|
-
|CO |roundtrip|nil|
|
|
42
|
-
|CO |oneway|nil|
|
|
43
|
-
|CO |roundtrip|true|
|
|
44
|
-
|CO |oneway|true|
|
|
45
|
-
@cl
|
|
46
|
-
Ejemplos:
|
|
47
|
-
|pais|tipo|cabotage|
|
|
48
|
-
|CL |roundtrip|nil|
|
|
49
|
-
|CL |oneway|nil|
|
|
50
|
-
|CL |roundtrip|true|
|
|
51
|
-
|CL |oneway|true|
|
|
52
|
-
@cr
|
|
53
|
-
Ejemplos:
|
|
54
|
-
|pais|tipo|cabotage|
|
|
55
|
-
|CR |roundtrip|nil|
|
|
56
|
-
|CR |oneway|nil|
|
|
57
|
-
|CR |roundtrip|true|
|
|
58
|
-
|CR |oneway|true|
|
|
59
|
-
@ec
|
|
60
|
-
Ejemplos:
|
|
61
|
-
|pais|tipo|cabotage|
|
|
62
|
-
|EC |roundtrip|nil|
|
|
63
|
-
|EC |oneway|nil|
|
|
64
|
-
|EC |roundtrip|true|
|
|
65
|
-
|EC |oneway|true|
|
|
66
38
|
@mx
|
|
67
39
|
Ejemplos:
|
|
68
40
|
|pais|tipo|cabotage|
|
|
69
|
-
|MX |roundtrip|nil|
|
|
70
41
|
|MX |oneway|nil|
|
|
71
|
-
|MX |roundtrip|true|
|
|
72
|
-
|MX |oneway|true|
|
|
73
|
-
@pa
|
|
74
|
-
Ejemplos:
|
|
75
|
-
|pais|tipo|cabotage|
|
|
76
|
-
|PA |roundtrip|nil|
|
|
77
|
-
|PA |oneway|nil|
|
|
78
|
-
|PA |roundtrip|true|
|
|
79
|
-
|PA |oneway|true|
|
|
80
|
-
@pe
|
|
81
|
-
Ejemplos:
|
|
82
|
-
|pais|tipo|cabotage|
|
|
83
|
-
|PE |roundtrip|nil|
|
|
84
|
-
|PE |oneway|nil|
|
|
85
|
-
|PE |roundtrip|true|
|
|
86
|
-
|PE |oneway|true|
|
|
87
|
-
@uy
|
|
88
|
-
Ejemplos:
|
|
89
|
-
|pais|tipo|cabotage|
|
|
90
|
-
|UY |roundtrip|nil|
|
|
91
|
-
|UY |oneway|nil|
|
|
92
|
-
|UY |roundtrip|true|
|
|
93
|
-
|UY |oneway|true|
|
|
94
|
-
@ve
|
|
95
|
-
Ejemplos:
|
|
96
|
-
|pais|tipo|cabotage|
|
|
97
|
-
|VE |roundtrip|nil|
|
|
98
|
-
|VE |oneway|nil|
|
|
99
|
-
|VE |roundtrip|true|
|
|
100
|
-
|VE |oneway|true|
|
|
101
42
|
|
|
102
43
|
@recommendation
|
|
103
44
|
Esquema del escenario: Abrir el popup de recomendacion por email en Brasil
|
|
@@ -106,8 +47,8 @@ Característica: others.recommendation
|
|
|
106
47
|
Entonces Verifico que traiga resultados
|
|
107
48
|
Cuando Hago click en el icono de enviar recomendacion
|
|
108
49
|
Entonces Verifico que cargue el contenido del popup
|
|
109
|
-
Entonces Verifico que el asunto sea correcto "Recomenda.{1,
|
|
110
|
-
Entonces Verifico que el comentario por default sea correcto "Encontrei este
|
|
50
|
+
Entonces Verifico que el asunto sea correcto "Recomenda.{1,4}es de v.{1,2}o para"
|
|
51
|
+
Entonces Verifico que el comentario por default sea correcto "Encontrei este v.{1,2}o de"
|
|
111
52
|
Cuando Hago click en el boton de enviar
|
|
112
53
|
Entonces Verifico que el nombre del remitente sea un campo obligatorio
|
|
113
54
|
Entonces Verifico que el mail del remitente sea un campo obligatorio
|
|
@@ -130,8 +71,6 @@ Característica: others.recommendation
|
|
|
130
71
|
|pais|tipo|cabotage|
|
|
131
72
|
|BR |oneway|true|
|
|
132
73
|
|BR |roundtrip|true|
|
|
133
|
-
|BR |oneway|nil|
|
|
134
|
-
|BR |roundtrip|nil|
|
|
135
74
|
|
|
136
75
|
@recommendation
|
|
137
76
|
Esquema del escenario: Abrir el popup de recomendacion por email
|
|
@@ -166,5 +105,3 @@ Característica: others.recommendation
|
|
|
166
105
|
|pais|tipo|cabotage|
|
|
167
106
|
|US |roundtrip|nil|
|
|
168
107
|
|US |oneway|nil|
|
|
169
|
-
|US |roundtrip|true|
|
|
170
|
-
|US |oneway|true|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]
|
|
17
17
|
|
|
18
|
-
gem.version = '1.9.
|
|
18
|
+
gem.version = '1.9.2' #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('watir-webdriver')
|