itms_automation 2.7.7 → 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
  SHA256:
3
- metadata.gz: a7916ef1a1a630922d53d189878ff3edf3b4466c199213842671795f632146da
4
- data.tar.gz: ebca6f2d5493f54b14cb4ef55eff42b3681c85d5f113c2089cf60275cf81b137
3
+ metadata.gz: 754a945d71cd78a122aed2fb3ca6d57ed3a0e96f2d2f2692d44f152ff0cd7e65
4
+ data.tar.gz: f4dc719c62d3ad21996faa51abdd363779ea401ef89b3e1162891ec32c756751
5
5
  SHA512:
6
- metadata.gz: 244628234f2b20783afde4fb77e18f375aaad736f7182046fe86252a9c9f689b1ef068f394540a0d4868da68f8d16598c3484196138d1dd1e2831fe619c313c8
7
- data.tar.gz: efdc15d496b32f9a100d0f56a3f303221abced561c2e5fc2aadd824477c8a42d6d446c705dbd3e6a4fc40348e2f4ba7e02a3a3a33450f0079750a888516233fe
6
+ metadata.gz: 57e68ba280c3517a4b12cfaf6e01022ac3384176d1b390e5ea42639e0bc7243de013ec94f59e907fbf7346bf2449c7d75fa6366adcaaeb79afb73995ed0faed1
7
+ data.tar.gz: d9c95871eb0d5ab8b045b8b3101e935ed280f5327543a276db64da664ac5490c21b54ef980b565f3e8a77fde1e31ba9b74dc73bbdf9a0ff0075629485a21b65b
@@ -11,4 +11,4 @@
11
11
  # Then('the message {string} should be displayed') do |string|
12
12
  # message = $driver.find_element(:css, '#flash').text.delete("\n")
13
13
  # expect(message).to eql(string)
14
- # end
14
+ # end
@@ -1,13 +1,13 @@
1
1
  require_relative 'required_files'
2
2
 
3
3
  def if(condition_script)
4
- return $driver.execute_script(condition_script)
4
+ $driver.execute_script(condition_script)
5
5
  end
6
6
 
7
7
  def else_if(condition_script)
8
- return $driver.execute_script(condition_script)
8
+ $driver.execute_script(condition_script)
9
9
  end
10
10
 
11
11
  def while(condition_script)
12
- return $driver.execute_script(condition_script)
12
+ $driver.execute_script(condition_script)
13
13
  end
@@ -76,17 +76,17 @@ def edit_content(element, text)
76
76
  $driver.execute_script("if (arguments[0].contentEditable === 'true') {arguments[0].innerText = '#{text}'}", found_element)
77
77
  end
78
78
 
79
- def add_selection(label)
79
+ def add_selection(element, label)
80
80
  found_element = find_object(element)
81
81
  found_element.find_element(:xpath, "//option[. = '#{label}']").click
82
82
  end
83
83
 
84
- def remove_selection
84
+ def remove_selection(element, label)
85
85
  found_element = find_object(element)
86
86
  found_element.find_element(:xpath, "//option[. = '#{label}']").click
87
87
  end
88
88
 
89
- def select
89
+ def select(element)
90
90
  found_element = find_object(element)
91
91
  found_element.find_element(:xpath, "//option[. = '#{label}']").click
92
92
  end
@@ -51,6 +51,7 @@ def load_object_repository
51
51
  begin
52
52
  loadYAMLfile("features/step_definitions/repositories/project_object.yml")
53
53
  rescue => exception
54
+ p "exception:::#{exception.message}"
54
55
  print_error_object_repository
55
56
  end
56
57
  end
@@ -1,6 +1,4 @@
1
- require 'net/https'
2
1
  require_relative 'required_files'
3
- require 'rspec'
4
2
 
5
3
  def store(var_name, value)
6
4
  $vars[var_name] = value
@@ -1,5 +1,5 @@
1
1
  module ITMS
2
2
  module Automation
3
- VERSION = '2.7.7'
3
+ VERSION = '2.8.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itms_automation
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.7
4
+ version: 2.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - INFOdation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-13 00:00:00.000000000 Z
11
+ date: 2021-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.1.2
19
+ version: 5.3.0
20
20
  - - "~>"
21
21
  - !ruby/object:Gem::Version
22
- version: 3.1.2
22
+ version: 5.3.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 3.1.2
29
+ version: 5.3.0
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: 3.1.2
32
+ version: 5.3.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: webdrivers
35
35
  requirement: !ruby/object:Gem::Requirement