flights_gui_henry_tests 2.7.9 → 2.8.0

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: f3ea5950b7e81f53bd0607ef70680270ec0677ea
4
- data.tar.gz: e07af3e17c786deab568ee720ef08c1bc9d71e16
3
+ metadata.gz: 1a384926bfbbaa5739ddb86396fcfabd3957d643
4
+ data.tar.gz: d0c4c27372ef46126f638e5ce27dba3a60e91fc3
5
5
  SHA512:
6
- metadata.gz: 6043593f8dfbdc602e689b1fabf9fe643adf7a9d71e0edd96da021d743a529083834e153d9072e87b22dc8f97fefd01e9c7add790d16cc38e380b6e4d7b78c6b
7
- data.tar.gz: 0e9fbb2cb99bf45a552e5ea552c497a4255dd9f3e31887db1de1414187fc7efb3fc3e500fa89253cf302c4b65487a1d98cd886d765bb583c601f392a621062c4
6
+ metadata.gz: edf013330dc9f702070ffd3905b50ecd95f28029d334d2fa02705b1779b414c5860e06ce4251f64ec76762b37c5ef02fccb065b302ed3b69a7304f78de0996fb
7
+ data.tar.gz: 85138638d45fc65bcbe307c253b10280f2a44f400d8c4060c3e2534a955ea78f3f9253e8d2704a38d15741ddda5194a0213d6ec6ef563928ea213dae23fcb749
@@ -62,7 +62,7 @@ rescue
62
62
  end
63
63
 
64
64
  $trees = []
65
- reintentos = 3
65
+ reintentos = 4
66
66
  @hubo_error = nil
67
67
 
68
68
  if browser
@@ -71,8 +71,8 @@ if browser
71
71
  screen_width = BROWSER.execute_script("return screen.width;")
72
72
  screen_height = BROWSER.execute_script("return screen.height;")
73
73
  BROWSER.window.resize_to(screen_width, screen_height)
74
- rescue Net::ReadTimeout, Selenium::WebDriver::Error::WebDriverError
75
- $trees.push(ProcessManager.process_tree(Process.pid)[:childs])
74
+ rescue Net::ReadTimeout, Selenium::WebDriver::Error::WebDriverError, ChildProcess::TimeoutError)
75
+ ProcessManager.kill_all_childs(Process.pid)
76
76
  reintentos -= 1
77
77
  sleep 5
78
78
  if reintentos > 0
@@ -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.7.9' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
17
+ gem.version = '2.8.0' #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,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: 2.7.9
4
+ version: 2.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-03 00:00:00.000000000 Z
11
+ date: 2014-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container