flights_gui_henry_tests 1.8.8 → 1.8.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTkzYmFjMTJhYWFjMjdhM2JiMzJkYzdkMzI3OTIwMGY4MzkwM2ExOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDU1NzliZDFhMGE5MTAwOWVlZDg0ZGU3MDU0Y2I1MWY4MDkyYjdkMw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
N2I0NDE2ZmUwOTZhNzUzOTczYjcyM2RhMDUxN2EzMDdmODE1ZWRmM2YwOGMx
|
10
|
+
ZGJkNGJmMDQwMDEwNThiYWY2OWFlYjcxYTE5ZjU3MDU4ZGJjYTQxYjA0NDg3
|
11
|
+
YmVlYTMxZGFkNDY1ZTNhMWZkNTk2YTRmZWVmZDMzZTU3M2Y4MWM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGE5NjZmMmI2MTM5YWVhZjZiZjgzOTJjZGViNDE1YzkyMzQ1NDgzNWQ4OTI4
|
14
|
+
ZjQyMGE2NDQwZWZjZDFkYjg2ODRiMTZjZTAwNzQ1NzA4MjUyZTVjOWJiMWIw
|
15
|
+
M2NjZmE5ODA1NzViNjMxMGU3NDUzNzVmNWY1Njg0MmY5OGY5ZjU=
|
@@ -254,7 +254,11 @@ When /^Elijo un ticket e ingreso a la pagina de resultados$/ do
|
|
254
254
|
["3","4"].each_with_index do | age, j |
|
255
255
|
BROWSER.div(:id,'searchPopup').select_list(:class=>'selectAge flights-select',:index=>j).select_value(age) #@users_ninos[num_ninos].nil? ? rand(11).to_s : @users_ninos[num_ninos].age.to_s)
|
256
256
|
end
|
257
|
-
|
257
|
+
begin
|
258
|
+
BROWSER.div(:id,'searchPopup').link(:class,'flights-search-button').click
|
259
|
+
rescue Watir::Wait::TimeoutError, Timeout::Error
|
260
|
+
stop_browser(BROWSER)
|
261
|
+
end
|
258
262
|
|
259
263
|
end
|
260
264
|
|
@@ -190,7 +190,7 @@ end
|
|
190
190
|
Then /^Verifico que dirija a la pagina de gracias$/ do
|
191
191
|
step "Verifico que la pagina no rompa"
|
192
192
|
begin
|
193
|
-
Watir::Wait.until(timeout =
|
193
|
+
Watir::Wait.until(timeout = 350){BROWSER.div(:class,'notification-box error-box').present? or BROWSER.span(:class =>'checkout-id').present? or BROWSER.em(:class =>'checkout-id').present? or BROWSER.div(:id =>'popup-new-flight').exist? or BROWSER.span(:class,/error-message/).present? or BROWSER.div(:class, 'notification-box warn-box').present? or BROWSER.div(:class, 'ux-common-warning ux-common-error').present?}
|
194
194
|
rescue Timeout::Error
|
195
195
|
pending("Timeout de 400 segundos al ingresar a la pagina de gracias")
|
196
196
|
end
|
@@ -1,9 +1,9 @@
|
|
1
1
|
#language: es
|
2
|
-
|
2
|
+
@others
|
3
3
|
Característica: others.no_gui
|
4
4
|
Se verifica la correcta carga y funcionamiento de la pagina de resultados
|
5
5
|
|
6
|
-
|
6
|
+
@no_gui
|
7
7
|
Esquema del escenario: Ingresar a la pagina de resultados
|
8
8
|
Cuando Ingreso a la pagina de resultados en "<pais>" para una busqueda "<tipo>" del tipo "<cabotage>" sin gui
|
9
9
|
Entonces Verifico que el pedido responda "200"
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]
|
17
17
|
|
18
|
-
gem.version = '1.8.
|
18
|
+
gem.version = '1.8.9' #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')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flights_gui_henry_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lgonzalez,lsimean
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: henry-container
|