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: bbc46b3bcf7cec0430630e51586b173a08dfa13e
4
- data.tar.gz: 7baf50da99d1583e86a71d965347e38105cecf2e
3
+ metadata.gz: 1ab784b0342da420c8cb16deb15ac4dfd308e8fd
4
+ data.tar.gz: c06a80ca8a7a62ac7aa0cf62f2abe9bc138f727c
5
5
  SHA512:
6
- metadata.gz: 7f8f21ecd60001296ebb8af2b9a6b99fdc45b43c34096caa4b4037fafd74e83192452842623573a51acdada91630ad0f77d075c2b0e55808376fbe02b19f5d6f
7
- data.tar.gz: bb52e53e01b7ce9f6be194b39a843e2c98966e398152dceb8efe8d357febce954b881b1c62e412a23c09d6fa9ead94cd5f3abbccf8b6e35743b554e246201aeb
6
+ metadata.gz: 304dc7d73372bda676c443ddd8dd43e85d72252e39c54365398cc8a7762b70990d68404da08d66becb3b71c60dacb1381fb7db4ea72c3578bc4eeeae5b251956
7
+ data.tar.gz: ce4b6d4301269b806bef9f4d2143ffc71483c03e9124ad75f27af8a8e2da7a7fad32f4993d76405b8d59f16c49a705333fd47c376565f6d70dac944878a66d16
@@ -1,3 +1,3 @@
1
1
  module OpsManagerUiDrivers
2
- VERSION = '0.9.7'
2
+ VERSION = '0.9.8'
3
3
  end
@@ -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.7
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-07 00:00:00.000000000 Z
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.4.7
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