ops_manager_ui_drivers 2.7.2 → 2.7.3

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: a66cf66cd6f7b21ad58ffda7f2d424d1e8d7bfe1
4
- data.tar.gz: c68d78e058e6d07a8f85c9a947adc7dc55ccae19
3
+ metadata.gz: 76795e568f0ef002c32241c4d23e294ce94e0872
4
+ data.tar.gz: 7d921ca91d76dea1c46c4989f6778a0da13a9e0d
5
5
  SHA512:
6
- metadata.gz: 7cbdb4aa19059f1cb518a61f75dc14eb119eed82a6bb65e852c6e7e94ada157762c83c9ce2d96e85f234ba471b18951e5e9bbf166e200baa0b943b171e7890a0
7
- data.tar.gz: 8ace2d35f68a78c8a10544c028f4d5a69b98c9d6dda6fa9bf2ebac532300facda9fcc3bd14df3eb886d753482fcc1f246852458f48d42ad1607c99d56e6ca7cd
6
+ metadata.gz: 69971961eafacf9f443e7f0126120d3e3aca0dc01a0c99f250c60e1364a9a80e0ecaf7e2fc107fe8b860d531204d8069d0e3f71345d7563290498807fd5d5446
7
+ data.tar.gz: b48a2fb254a5fa4c6b7ec051c2c6119f49db70e43de084f261ced33f2c2c2b0946ef99c11357afcbae0d8d7d2a05cf3a38c4f21d515801c5f7ba6d77543c9734
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # OpsManagerUiDrivers [![Build Status](https://travis-ci.org/pivotal-cf-experimental/ops_manager_ui_drivers.svg?branch=master)](https://travis-ci.org/pivotal-cf-experimental/ops_manager_ui_drivers)
1
+ # OpsManagerUIDrivers [![Build Status](https://travis-ci.org/pivotal-cf-experimental/ops_manager_ui_drivers.svg?branch=master)](https://travis-ci.org/pivotal-cf-experimental/ops_manager_ui_drivers)
2
2
 
3
3
  Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/ops_manager_ui_drivers`. To experiment with that code, run `bin/console` for an interactive prompt.
4
4
 
@@ -1,3 +1,3 @@
1
1
  module OpsManagerUiDrivers
2
- VERSION = '2.7.2'
2
+ VERSION = '2.7.3'
3
3
  end
@@ -47,7 +47,9 @@ module OpsManagerUiDrivers
47
47
  end
48
48
 
49
49
  def last_field(field)
50
- @browser.all(:field, "#{@field_prefix}[#{field}]", minimum: 1).last
50
+ name = "#{@field_prefix}[#{field}]"
51
+ @browser.execute_script "$('a[data-masked-input-name=\"#{name}\"]:contains(\"Change\")').click()"
52
+ @browser.all(:field, name, minimum: 1).last
51
53
  end
52
54
  end
53
55
  end
@@ -70,6 +70,7 @@ module OpsManagerUiDrivers
70
70
  browser.fill_in('director_configuration[s3_blobstore_options][endpoint]', with: s3_blobstore.dig('endpoint'))
71
71
  browser.fill_in('director_configuration[s3_blobstore_options][bucket_name]', with: s3_blobstore.dig('bucket_name'))
72
72
  browser.fill_in('director_configuration[s3_blobstore_options][access_key]', with: s3_blobstore.dig('access_key_id'))
73
+ @browser.execute_script "$('a[data-masked-input-name=\"director_configuration[s3_blobstore_options][secret_key]\"]:contains(\"Change\")').click()"
73
74
  browser.fill_in('director_configuration[s3_blobstore_options][secret_key]', with: s3_blobstore.dig('secret_access_key'))
74
75
  end
75
76
 
@@ -79,6 +80,7 @@ module OpsManagerUiDrivers
79
80
  browser.fill_in('director_configuration[external_database_options][host]', with: mysql.dig('host'))
80
81
  browser.fill_in('director_configuration[external_database_options][port]', with: mysql.dig('port'))
81
82
  browser.fill_in('director_configuration[external_database_options][user]', with: mysql.dig('user'))
83
+ @browser.execute_script "$('a[data-masked-input-name=\"director_configuration[external_database_options][password]\"]:contains(\"Change\")').click()"
82
84
  browser.fill_in('director_configuration[external_database_options][password]', with: mysql.dig('password'))
83
85
  browser.fill_in('director_configuration[external_database_options][database]', with: mysql.dig('dbname'))
84
86
  end
@@ -20,6 +20,13 @@ module OpsManagerUiDrivers
20
20
  save_form
21
21
  end
22
22
 
23
+ def enabled_errands
24
+ open_form
25
+ browser.all("input[type='checkbox'][name='errands_collection[enabled_names][]'][checked]").map do |checkbox|
26
+ checkbox.value
27
+ end
28
+ end
29
+
23
30
  def save_form(validate: true)
24
31
  browser.click_on 'Save'
25
32
 
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: 2.7.2
4
+ version: 2.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pivotal, Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-04 00:00:00.000000000 Z
11
+ date: 2016-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -291,3 +291,4 @@ signing_key:
291
291
  specification_version: 4
292
292
  summary: Capybara helpers for configuring Pivotal Ops Manager
293
293
  test_files: []
294
+ has_rdoc: