flights_gui_henry_tests 2.8.1 → 2.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/features/support/env.rb +3 -7
- 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: cbbca7e9f56360c0c2e0e37ce7d8fe833d04fabf
|
4
|
+
data.tar.gz: 2c0130c576f16537721b43112c3ea9fc87729a05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c50434e4f9a4fa4e8c29fc29ba03c16cd67550dbf82f715885a5150b8411a24151b19c1829b8fbd172cdf3a93f59f7fdd498bc52fd93e8f1a0376cf2dd7c842d
|
7
|
+
data.tar.gz: 3c29683921c6499baa2ebd320294b379048537ebd041d5d13ab5294a57249148c59eb135f1a8b4057a77745c5f4586b4b3f72676402fbaf0ec213e218b0589c0
|
data/features/support/env.rb
CHANGED
@@ -62,8 +62,7 @@ rescue
|
|
62
62
|
end
|
63
63
|
|
64
64
|
$trees = []
|
65
|
-
reintentos =
|
66
|
-
@hubo_error = nil
|
65
|
+
reintentos = 3
|
67
66
|
|
68
67
|
if browser
|
69
68
|
begin
|
@@ -71,7 +70,7 @@ if browser
|
|
71
70
|
screen_width = BROWSER.execute_script("return screen.width;")
|
72
71
|
screen_height = BROWSER.execute_script("return screen.height;")
|
73
72
|
BROWSER.window.resize_to(screen_width, screen_height)
|
74
|
-
rescue Net::ReadTimeout, Selenium::WebDriver::Error::WebDriverError, ChildProcess::TimeoutError
|
73
|
+
rescue Net::ReadTimeout, Selenium::WebDriver::Error::WebDriverError, ChildProcess::TimeoutError, NameError
|
75
74
|
ProcessManager.kill_all_childs(Process.pid)
|
76
75
|
reintentos -= 1
|
77
76
|
sleep 5
|
@@ -79,9 +78,6 @@ if browser
|
|
79
78
|
puts "Error Net::ReadTimeout - Reintentando abrir el browser..."
|
80
79
|
Henry::Environment.execution.set(:error_apertura_browser, "Net::ReadTimeout")
|
81
80
|
retry
|
82
|
-
|
83
|
-
@hubo_error = true
|
84
|
-
BROWSER = nil
|
85
|
-
end
|
81
|
+
end
|
86
82
|
end
|
87
83
|
end
|
@@ -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.8.
|
17
|
+
gem.version = '2.8.2' #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')
|