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 +4 -4
- data/features-skeleton/step_definitions/my_first_steps.rb +1 -1
- data/lib/itms_automation/methods/condition_methods.rb +3 -3
- data/lib/itms_automation/methods/input_methods.rb +3 -3
- data/lib/itms_automation/methods/misc_methods.rb +1 -0
- data/lib/itms_automation/methods/store_methods.rb +0 -2
- data/lib/itms_automation/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 754a945d71cd78a122aed2fb3ca6d57ed3a0e96f2d2f2692d44f152ff0cd7e65
|
4
|
+
data.tar.gz: f4dc719c62d3ad21996faa51abdd363779ea401ef89b3e1162891ec32c756751
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57e68ba280c3517a4b12cfaf6e01022ac3384176d1b390e5ea42639e0bc7243de013ec94f59e907fbf7346bf2449c7d75fa6366adcaaeb79afb73995ed0faed1
|
7
|
+
data.tar.gz: d9c95871eb0d5ab8b045b8b3101e935ed280f5327543a276db64da664ac5490c21b54ef980b565f3e8a77fde1e31ba9b74dc73bbdf9a0ff0075629485a21b65b
|
@@ -1,13 +1,13 @@
|
|
1
1
|
require_relative 'required_files'
|
2
2
|
|
3
3
|
def if(condition_script)
|
4
|
-
|
4
|
+
$driver.execute_script(condition_script)
|
5
5
|
end
|
6
6
|
|
7
7
|
def else_if(condition_script)
|
8
|
-
|
8
|
+
$driver.execute_script(condition_script)
|
9
9
|
end
|
10
10
|
|
11
11
|
def while(condition_script)
|
12
|
-
|
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
|
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.
|
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-
|
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.
|
19
|
+
version: 5.3.0
|
20
20
|
- - "~>"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
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.
|
29
|
+
version: 5.3.0
|
30
30
|
- - "~>"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 5.3.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: webdrivers
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|