flights_gui_henry_tests 2.6.0 → 2.6.1
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
|
+
NGQzZmU5NjVhMWViY2M2ZTI5M2JlNTFmNTc3YzljODIwYzc2ODA5MA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OGZjYTI2OTg4YjMzOTEyMGMzOTM1NDVlNzI3ZmM3NWMxZGY1MTM5OA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Y2QyMWQyZGI4ZmEzMjA2MWUyZDFmOTk2NWY5NGM3ZTU4NTlhMmM0NzBjODY3
|
10
|
+
MDE2MWVjZmM5YTIyOGQyZjQ1NTQ0YzI0ZTlkNWFlNjM2MDI4MWYzYWM3NDk0
|
11
|
+
NDQ4Y2JjNzRlNDFlNzYxOGY1MTk1OGI0ZTViMDVkYmEyNTdjZjI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjBlZTJlY2JiNzMwNjBkZGM4Y2RjZWYzNjJhMTZjOTYxNTE0NDliOGNmZmEy
|
14
|
+
NTNmNGQyMGI1ZWE5MzA1NzQ3ODUyOWI4YzZlYzQwYjVmMzQ0ODUyMThjZjZm
|
15
|
+
ZWI4YTgxZTNkMTViMTRiYzljZjExNDlkYjEzY2M4YjYxMzEzZWQ=
|
@@ -45,7 +45,7 @@ end
|
|
45
45
|
Then /^Verifico que se muestren en el header el usuario logueado$/ do
|
46
46
|
Watir::Wait.until(timeout=20){BROWSER.div(:id,'nibbler-common-header').div(:class,'fb-description').present?}
|
47
47
|
sleep(1)
|
48
|
-
BROWSER.div(:id,'nibbler-common-header').div(:class,'fb-description').strong(:class,'social-name').text.should equal("testvuelos@despegar.com")
|
48
|
+
BROWSER.div(:id,'nibbler-common-header-user').div(:class,'fb-description').strong(:class,'social-name').text.should equal("testvuelos@despegar.com")
|
49
49
|
end
|
50
50
|
|
51
51
|
Then /^Abro la lista de deseos$/ do
|
@@ -57,7 +57,7 @@ Then /^Verifico textos y que no se muestren opciones en la lista de deseos$/ do
|
|
57
57
|
end
|
58
58
|
|
59
59
|
Then /^Cierro la lista de deseos$/ do
|
60
|
-
BROWSER.
|
60
|
+
BROWSER.execute_script("javascript:void($('.nibbler-common-overlay-close').click())")
|
61
61
|
sleep(1)
|
62
62
|
end
|
63
63
|
|
@@ -77,12 +77,13 @@ end
|
|
77
77
|
|
78
78
|
Then /^Verifico que el itinerario deseado quede en la lista de deseos$/ do
|
79
79
|
sleep(1)
|
80
|
-
|
80
|
+
byebug
|
81
|
+
BROWSER.div(:class,'nibbler-common-overlay nibbler-common-overlay-popover nibbler-common-overlay-bottom-left nibbler-common-header-favorites-popup').ul(:class,'nibbler-common-last-searches-body').should visible("lista de deseos")
|
81
82
|
end
|
82
83
|
|
83
84
|
Then /^Elijo el itinerario de la lista de deseos$/ do
|
84
85
|
@url = BROWSER.url
|
85
|
-
BROWSER.div(:class,'nibbler-
|
86
|
+
BROWSER.div(:class,'nibbler-common-overlay nibbler-common-overlay-popover nibbler-common-overlay-bottom-left nibbler-common-header-favorites-popup').h4(:class,'nibbler-common-last-searches-body-content-title').click
|
86
87
|
end
|
87
88
|
|
88
89
|
Then /^Verifico que dirija correctamente a la pagina de resultados$/ do
|
@@ -108,7 +109,7 @@ Then /^Elimino el itinerario de la lista de deseos$/ do
|
|
108
109
|
end
|
109
110
|
|
110
111
|
Then /^Limpio la lista de deseos$/ do
|
111
|
-
if BROWSER.div(:class,'nibbler-
|
112
|
+
if BROWSER.div(:class,'nibbler-common-overlay nibbler-common-overlay-popover nibbler-common-overlay-bottom-left nibbler-common-header-favorites-popup').div(:class,'nibbler-common-last-searches nibbler-common-with').present?
|
112
113
|
sleep(1)
|
113
114
|
BROWSER.execute_script("javascript:void($('.action-delete').click());")
|
114
115
|
sleep(2)
|
data/features/support/env.rb
CHANGED
@@ -10,6 +10,7 @@ require 'sanitize'
|
|
10
10
|
require 'uri'
|
11
11
|
require 'mock_search'
|
12
12
|
require 'henry/config'
|
13
|
+
#require 'byebug'
|
13
14
|
|
14
15
|
$VERBOSE = nil
|
15
16
|
|
@@ -41,6 +42,7 @@ def add_cookie(type)
|
|
41
42
|
when 'FSM' then "fsm-rest=beta"
|
42
43
|
when 'CHAS' then "chas-flight=beta"
|
43
44
|
when 'DEBASE' then "flights-dbs-new=flights-dbs-new-b"
|
45
|
+
when 'CHAS_CHECKOUT' then "chkf-app=beta|chas-flight=beta"
|
44
46
|
else "landing-f-gui=beta|results-f-gui=beta|chkf-app=beta"
|
45
47
|
end
|
46
48
|
end
|
@@ -22,6 +22,7 @@ Característica: search.wish_list
|
|
22
22
|
Entonces Verifico textos y que no se muestren opciones en la lista de deseos
|
23
23
|
Y Cierro la lista de deseos
|
24
24
|
Cuando Elijo un itinerario como deseado
|
25
|
+
Cuando Abro la lista de deseos
|
25
26
|
Entonces Verifico que el itinerario deseado quede marcado
|
26
27
|
Cuando Abro la lista de deseos
|
27
28
|
Entonces Verifico que el itinerario deseado quede en la lista de deseos
|
@@ -41,27 +42,27 @@ Característica: search.wish_list
|
|
41
42
|
Entonces Verifico que no se muestre en el header el usuario logueado
|
42
43
|
|
43
44
|
@ar
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
45
|
+
Ejemplos:
|
46
|
+
|pais|cabotage|tipo|
|
47
|
+
|AR|nil|roundtrip|
|
48
|
+
|AR|true|oneway|
|
49
|
+
@br
|
50
|
+
Ejemplos:
|
51
|
+
|pais|cabotage|tipo|
|
52
|
+
|BR|nil|roundtrip|
|
53
|
+
|BR|nil|oneway|
|
54
|
+
@mx
|
55
|
+
Ejemplos:
|
56
|
+
|pais|cabotage|tipo|
|
57
|
+
|MX|nil|roundtrip|
|
58
|
+
|MX|nil|oneway|
|
59
|
+
@ve
|
60
|
+
Ejemplos:
|
61
|
+
|pais|cabotage|tipo|
|
62
|
+
|VE|nil|roundtrip|
|
63
|
+
|VE|nil|oneway|
|
64
|
+
@us
|
65
|
+
Ejemplos:
|
66
|
+
|pais|cabotage|tipo|
|
67
|
+
|US|nil|roundtrip|
|
68
|
+
|US|nil|oneway|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]
|
17
17
|
|
18
|
-
gem.version = '2.6.
|
18
|
+
gem.version = '2.6.1' #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.82')
|
21
21
|
gem.add_dependency('watir-webdriver')
|
@@ -26,6 +26,7 @@
|
|
26
26
|
gem.add_dependency('sixarm_ruby_unaccent')
|
27
27
|
gem.add_dependency('sanitize')
|
28
28
|
gem.add_dependency('mock_search')
|
29
|
+
#gem.add_dependency('byebug')
|
29
30
|
|
30
31
|
gem.add_development_dependency('geminabox')
|
31
32
|
|