flights_gui_henry_tests 2.6.9 → 2.7.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/checkout_steps.rb +2 -2
- data/features/step_definitions/search/flight_gui_steps.rb +8 -2
- data/features/support/env.rb +1 -0
- data/features/tests/checkout/low_cost.feature +2 -2
- data/features/tests/checkout/providers.feature +30 -30
- data/flights_gui_henry_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: ff94705b879a6eeecdcd5e8387dc23e369df616c
|
|
4
|
+
data.tar.gz: 95a2959dd8d37e3cf19d285b756be8d5ecf576bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d1966b2c0a9c7043af4cac3fdf8142460a31b6c12a7c313e8046b73d99514bf5810c1de91c6e47a557cc8a90844e7f1171fdae48636f6cc0166024e324f4f07
|
|
7
|
+
data.tar.gz: 986f52cdc0200b40e7960ea25ffdd0dc6b59d7038285d4899d05f9686a0ce53d4c36b591712390177c06b5f7c779f14629c0700552123a664bdda15deba7bc04
|
|
@@ -48,8 +48,8 @@ And /^Verifico que se muestren la caja de clientes felices$/ do
|
|
|
48
48
|
happy_clients.div(:class,'ux-common-comment-description').should visible
|
|
49
49
|
happy_clients.div(:class,'ux-common-comment-description').span(:class,'flights-comment-description').should visible
|
|
50
50
|
happy_clients.div(:class,'ux-common-comment-description').span(:class,'flights-comment-description').text.no_accents.should match('[A-Z]|[a-z]')
|
|
51
|
-
happy_clients.div(:class,'ux-common-comment-profile').span(:class,'ux-common-comment-name').should visible
|
|
52
|
-
happy_clients.div(:class,'ux-common-comment-profile').span(:class,'ux-common-comment-name').text.no_accents.should match('[A-Z]|[a-z]')
|
|
51
|
+
#happy_clients.div(:class,'ux-common-comment-profile').span(:class,'ux-common-comment-name').should visible
|
|
52
|
+
#happy_clients.div(:class,'ux-common-comment-profile').span(:class,'ux-common-comment-name').text.no_accents.should match('[A-Z]|[a-z]')
|
|
53
53
|
happy_clients.span(:class,'description').should visible
|
|
54
54
|
happy_clients.span(:class,'description').text.no_accents.should match('Por que \d+ millones de viajeros nos eligen|Why \d+ million travelers choose us|Por que \d+ milhoes de viajantes nos escolhem')
|
|
55
55
|
end
|
|
@@ -156,8 +156,14 @@ And /^Completo el formulario de tarjeta$/ do
|
|
|
156
156
|
data = @search.get_results_search_service
|
|
157
157
|
provider = @item_json ? @item_json["provider"] : data["result"]["data"]["items"][0]["provider"]
|
|
158
158
|
container = BROWSER.fieldset(:id,'payment')
|
|
159
|
-
if $SITE=="AR"
|
|
160
|
-
container.radio(:id,"installment-
|
|
159
|
+
if $SITE=="AR"
|
|
160
|
+
if container.radio(:id,"installment-0").present?
|
|
161
|
+
container.radio(:id,"installment-0").click
|
|
162
|
+
elsif container.radio(:id,"installment-1").present?
|
|
163
|
+
container.radio(:id,"installment-1").click
|
|
164
|
+
else
|
|
165
|
+
container.radio(:id,"installment-2").click
|
|
166
|
+
end
|
|
161
167
|
else
|
|
162
168
|
container.div(:class,"installment-info").text.downcase.no_accents.match(/debito/) ? container.radio(:id,"installment-1").click : container.radio(:id,"installment-0").click
|
|
163
169
|
end
|
data/features/support/env.rb
CHANGED
|
@@ -43,6 +43,7 @@ def add_cookie(type)
|
|
|
43
43
|
when 'CHAS' then "chas-flight=beta"
|
|
44
44
|
when 'DEBASE' then "flights-dbs-new=flights-dbs-new-b"
|
|
45
45
|
when 'CHAS_CHECKOUT' then "chkf-app=beta|chas-flight=beta"
|
|
46
|
+
when 'PRISM' then "prism=beta"
|
|
46
47
|
else "landing-f-gui=beta|results-f-gui=beta|chkf-app=beta"
|
|
47
48
|
end
|
|
48
49
|
end
|
|
@@ -36,8 +36,8 @@ Característica: checkout.low_cost
|
|
|
36
36
|
@br
|
|
37
37
|
Ejemplos:
|
|
38
38
|
|pais|tipo|cabotage|prov|from|to|
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
|BR|roundtrip|true|PSR|SAO|RIO|
|
|
40
|
+
|BR|oneway|true|PSR|SAO|RIO|
|
|
41
41
|
|BR|roundtrip|true|OC6|REC|POA|
|
|
42
42
|
|BR|oneway|true|OC6|SAO|RIO|
|
|
43
43
|
|BR|roundtrip|true|GOL|SAO|RIO|
|
|
@@ -5,8 +5,8 @@ Característica: checkout.providers
|
|
|
5
5
|
|
|
6
6
|
@providers
|
|
7
7
|
Esquema del escenario: Ingresar a la pagina de resultados
|
|
8
|
-
|
|
9
|
-
Cuando Ingreso a la pagina de resultados en "<pais>" para una busqueda "<tipo>" del tipo "<cabotage>"
|
|
8
|
+
Cuando Ingreso a la pagina de resultados en "<pais>" para una busqueda "<tipo>" con origen "<from>" y destino "<to>" de tipo "<cabotage>"
|
|
9
|
+
#Cuando Ingreso a la pagina de resultados en "<pais>" para una busqueda "<tipo>" del tipo "<cabotage>"
|
|
10
10
|
Cuando Espero que termine de cargar
|
|
11
11
|
Entonces Verifico que traiga resultados
|
|
12
12
|
Cuando Seteo el proveedor "<prov>"
|
|
@@ -37,35 +37,35 @@ Característica: checkout.providers
|
|
|
37
37
|
Y Verifico el link de mi despegar
|
|
38
38
|
Y Levanto los datos del vuelo
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
# Ejemplos:
|
|
42
|
-
# |pais|tipo|cabotage|prov|from|to|date_from|date_to|
|
|
43
|
-
# |US|roundtrip|true|VOL|MEX|CUN|2014-06-28|2014-06-17|
|
|
44
|
-
# |US|oneway|true|VOL|LAX|CUN|2014-06-28|2014-07-17|
|
|
45
|
-
# |US|roundtrip|true|VOL|MEX|LAX|2014-06-01|2014-06-15|
|
|
46
|
-
# |US|oneway|true|VOL|MEX|GDL|2014-06-19|2014-06-27|
|
|
47
|
-
# @mx
|
|
48
|
-
# Ejemplos:
|
|
49
|
-
# |pais|tipo|cabotage|prov|from|to|date_from|date_to|
|
|
50
|
-
# |MX|roundtrip|true|VOL|MEX|MTY|2014-02-28|2014-03-17|
|
|
51
|
-
# |MX|oneway|true|VOL|MEX|GDL|2014-03-28|2014-04-17|
|
|
52
|
-
# |MX|roundtrip|true|VOL|MEX|CUN|2014-03-01|2014-03-15|
|
|
53
|
-
# |MX|oneway|true|VOL|MEX|CUN|2014-02-19|2014-02-27|
|
|
54
|
-
@ar
|
|
40
|
+
@us
|
|
55
41
|
Ejemplos:
|
|
56
42
|
|pais|tipo|cabotage|prov|from|to|date_from|date_to|
|
|
57
|
-
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
43
|
+
|US|roundtrip|true|VOL|MEX|CUN|2014-06-28|2014-06-17|
|
|
44
|
+
|US|oneway|true|VOL|LAX|CUN|2014-06-28|2014-07-17|
|
|
45
|
+
|US|roundtrip|true|VOL|MEX|LAX|2014-06-01|2014-06-15|
|
|
46
|
+
|US|oneway|true|VOL|MEX|GDL|2014-06-19|2014-06-27|
|
|
47
|
+
@mx
|
|
61
48
|
Ejemplos:
|
|
62
49
|
|pais|tipo|cabotage|prov|from|to|date_from|date_to|
|
|
63
|
-
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
|
70
|
-
|
|
71
|
-
|
|
50
|
+
|MX|roundtrip|true|VOL|MEX|MTY|2014-02-28|2014-03-17|
|
|
51
|
+
|MX|oneway|true|VOL|MEX|GDL|2014-03-28|2014-04-17|
|
|
52
|
+
|MX|roundtrip|true|VOL|MEX|CUN|2014-03-01|2014-03-15|
|
|
53
|
+
|MX|oneway|true|VOL|MEX|CUN|2014-02-19|2014-02-27|
|
|
54
|
+
# @ar
|
|
55
|
+
# Ejemplos:
|
|
56
|
+
# |pais|tipo|cabotage|prov|from|to|date_from|date_to|
|
|
57
|
+
# |AR|roundtrip|nil|WDS|MEX|MTY|2014-02-28|2014-03-17|
|
|
58
|
+
# |AR|oneway|true|WDS|MEX|GDL|2014-03-28|2014-04-17|
|
|
59
|
+
# |AR|multipledestinations|nil|WDS|MEX|CUN|2014-03-01|2014-03-15|
|
|
60
|
+
# @pe
|
|
61
|
+
# Ejemplos:
|
|
62
|
+
# |pais|tipo|cabotage|prov|from|to|date_from|date_to|
|
|
63
|
+
# |PE|roundtrip|nil|WDS|MEX|MTY|2014-02-28|2014-03-17|
|
|
64
|
+
# |PE|oneway|nil|WDS|MEX|GDL|2014-03-28|2014-04-17|
|
|
65
|
+
# |PE|multipledestinations|nil|WDS|MEX|CUN|2014-03-01|2014-03-15|
|
|
66
|
+
# @co
|
|
67
|
+
# Ejemplos:
|
|
68
|
+
# |pais|tipo|cabotage|prov|from|to|date_from|date_to|
|
|
69
|
+
# |CO|roundtrip|true|WDS|MEX|MTY|2014-02-28|2014-03-17|
|
|
70
|
+
# |CO|oneway|nil|WDS|MEX|GDL|2014-03-28|2014-04-17|
|
|
71
|
+
# |CO|multipledestinations|true|WDS|MEX|CUN|2014-03-01|2014-03-15|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
gem.name = "flights_gui_henry_tests" #Debe ser unico en el Gem Server, tratemos de utilizar nombre que identifiquen de forma inequivoca
|
|
15
15
|
|
|
16
16
|
gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]5
|
|
17
|
-
gem.version = '2.
|
|
17
|
+
gem.version = '2.7.0' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
|
|
18
18
|
|
|
19
19
|
gem.add_dependency('henry-container', '>= 0.1.82')
|
|
20
20
|
gem.add_dependency('watir-webdriver')
|