itms_automation 2.7.7 → 2.7.8

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: a9a80eb61adf086ed5ab5c7b65a660fc5d1af18e0d118a6c17e7eb648999adae
4
+ data.tar.gz: b6516a0a679a7578c3dd33890bdf1b0c9dac3aa78a06e0e60c51cecb1e5fa377
5
5
  SHA512:
6
- metadata.gz: 244628234f2b20783afde4fb77e18f375aaad736f7182046fe86252a9c9f689b1ef068f394540a0d4868da68f8d16598c3484196138d1dd1e2831fe619c313c8
7
- data.tar.gz: efdc15d496b32f9a100d0f56a3f303221abced561c2e5fc2aadd824477c8a42d6d446c705dbd3e6a4fc40348e2f4ba7e02a3a3a33450f0079750a888516233fe
6
+ metadata.gz: 3eb6b66722fae75c5aa594c8e218bba0066dd5636199b53e9db3f8db03b10a9b366028dec66aaec5c7ffb4b1a73ee8cc81df0769a3b08d06d1e4e8c8552a272b
7
+ data.tar.gz: e05a4c6723985b02496df8aea09736337a6675948288ff5d8b0cbe479904034857d161c60f8dfbcd3c89f40695cccf8b68f6ed6b4b4544ca439ac12992afd3ad
@@ -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
@@ -1,5 +1,5 @@
1
1
  module ITMS
2
2
  module Automation
3
- VERSION = '2.7.7'
3
+ VERSION = '2.7.8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.7.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - INFOdation