flights_gui_henry_tests 2.9.5 → 2.9.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40c20570f9a8bff10c12250fa29a94546f5c1821
|
4
|
+
data.tar.gz: 768708c58e7c2a1a549a698c1a895551c4649db3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff4b0ec0dfc27ee7f325ff6de00282a61b055e1f3f1548962b4fadd39085b7ff9d74871a6102ec48a29764a4fa793837e298fad68e4e0eaa3f7f3b4f6f9f649f
|
7
|
+
data.tar.gz: 2408f81d3055849f5c72796404ebe27283ef893f3263ccb1ca653a6891fca42424f3bac26514425cc942ca696a329794c31e3739f488164ff000084dc1ef76e3
|
@@ -228,7 +228,6 @@ end
|
|
228
228
|
|
229
229
|
Then /^Verifico que dirija a la pagina de gracias$/ do
|
230
230
|
step "Verifico que la pagina no rompa"
|
231
|
-
byebug
|
232
231
|
begin
|
233
232
|
Watir::Wait.until(timeout = 350){BROWSER.div(:id,'popup-price-difference-template').present? or 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, 'ux-common-message ux-common-message-warning ').present? or BROWSER.div(:class, 'ux-common-message ux-common-message-error ').present? or BROWSER.div(:class, 'ux-common-error').present?}
|
234
233
|
rescue Timeout::Error
|
@@ -13,8 +13,9 @@ def set_cookies(browser)
|
|
13
13
|
end
|
14
14
|
|
15
15
|
begin
|
16
|
-
|
17
|
-
|
16
|
+
puts "UOW=ROBOTFGUI-#{Socket.gethostname}-#{rand(1000)}"
|
17
|
+
browser.execute_script("javascript:void(document.cookie = 'X-UOW-CUSTOM=ROBOTFGUI-#{Socket.gethostname}-#{rand(1000)}; Path=/')")
|
18
|
+
#add_cookie("X-UOW-CUSTOM","ROBOTFGUI-#{Socket.gethostname}-#{rand(1000)}",{:path=>"/"})
|
18
19
|
if $ENV.upcase=="BETA" #or PROVIDER
|
19
20
|
#add_cookie("X-Version-Override",COOKIE,{:path=>"/"})
|
20
21
|
# if PROVIDER
|
@@ -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.9.
|
17
|
+
gem.version = '2.9.6' #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')
|