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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6aa53b7e91b6dfcf3c5f3f3a073028f627315c1b
4
- data.tar.gz: f672710c5d8f1e565c0e005d3cadd20084d1177e
3
+ metadata.gz: cbbca7e9f56360c0c2e0e37ce7d8fe833d04fabf
4
+ data.tar.gz: 2c0130c576f16537721b43112c3ea9fc87729a05
5
5
  SHA512:
6
- metadata.gz: da08b13bdc99902a2fe75b9279cb6f375f65e7e943b06afd74deaa0f0600cf36da2585e20f91c47f63567f63e93b5cf9a336b58081eedf261994d1962c1a2365
7
- data.tar.gz: 4a840bab3404b8d371f4509168129c1702d0377e8de8cb31485989667c5a74f4bc1e172b3120a7ede02ea8cbf449774788b5964af463832750af4603b8f2c1f3
6
+ metadata.gz: c50434e4f9a4fa4e8c29fc29ba03c16cd67550dbf82f715885a5150b8411a24151b19c1829b8fbd172cdf3a93f59f7fdd498bc52fd93e8f1a0376cf2dd7c842d
7
+ data.tar.gz: 3c29683921c6499baa2ebd320294b379048537ebd041d5d13ab5294a57249148c59eb135f1a8b4057a77745c5f4586b4b3f72676402fbaf0ec213e218b0589c0
@@ -62,8 +62,7 @@ rescue
62
62
  end
63
63
 
64
64
  $trees = []
65
- reintentos = 4
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
- else
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.1' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
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')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flights_gui_henry_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.1
4
+ version: 2.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez