ops_manager_ui_drivers 0.9.7 → 0.9.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ab784b0342da420c8cb16deb15ac4dfd308e8fd
|
4
|
+
data.tar.gz: c06a80ca8a7a62ac7aa0cf62f2abe9bc138f727c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 304dc7d73372bda676c443ddd8dd43e85d72252e39c54365398cc8a7762b70990d68404da08d66becb3b71c60dacb1381fb7db4ea72c3578bc4eeeae5b251956
|
7
|
+
data.tar.gz: ce4b6d4301269b806bef9f4d2143ffc71483c03e9124ad75f27af8a8e2da7a7fad32f4993d76405b8d59f16c49a705333fd47c376565f6d70dac944878a66d16
|
@@ -23,6 +23,20 @@ module OpsManagerUiDrivers
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
+
def fill_in_selector_property(selector_input_reference:, selector_name:, selector_value:, sub_field_answers:)
|
27
|
+
radio = browser.first(%Q(input[type="radio"][name="#{form_name}[#{selector_input_reference}][value]"][value="#{selector_value}"]))
|
28
|
+
radio.click
|
29
|
+
sub_field_answers.each do |label, value|
|
30
|
+
selector_string = "#{form_name}[#{selector_input_reference}][#{selector_name}][#{label}]"
|
31
|
+
|
32
|
+
if value[:attribute_name]
|
33
|
+
selector_string += "[#{value[:attribute_name]}]"
|
34
|
+
end
|
35
|
+
|
36
|
+
browser.find_field(selector_string).set(value[:attribute_value])
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
26
40
|
def save_form(validate: true)
|
27
41
|
browser.click_on 'Save'
|
28
42
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ops_manager_ui_drivers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pivotal, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
219
|
version: '0'
|
220
220
|
requirements: []
|
221
221
|
rubyforge_project:
|
222
|
-
rubygems_version: 2.
|
222
|
+
rubygems_version: 2.2.2
|
223
223
|
signing_key:
|
224
224
|
specification_version: 4
|
225
225
|
summary: Capybara helpers for configuring Pivotal Ops Manager
|