ops_manager_ui_drivers 2.6.4 → 2.7.0
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: cf6b30fc5213df8495baa7107c0426857002ec2b
|
4
|
+
data.tar.gz: 438194b5107b237570a9df422ea06459c581661b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df36f9bc58b119da291fa09e419ea687346ce531e39fee96cb4f2d3367e5e476a7c109f4d74d2934e84f781f2b92fbc27f62be7b1360d00f7793c81e6b44963f
|
7
|
+
data.tar.gz: 67caafefa997f429724c2839027d009609dc62ef7e0f142dec6cb1dc85238d43d25e9608bcaba147f69e3d7e629f7a3ba8b9fb554ef7ea49a3a6bbe39fb2c376
|
@@ -2,19 +2,21 @@ module OpsManagerUiDrivers
|
|
2
2
|
module Version17
|
3
3
|
class ProductErrands
|
4
4
|
def initialize(browser:, product_name:)
|
5
|
-
@browser
|
5
|
+
@browser = browser
|
6
6
|
@product_name = product_name
|
7
7
|
end
|
8
8
|
|
9
9
|
def enable_errand(errand_name)
|
10
10
|
open_form
|
11
|
-
|
11
|
+
set_check_box("pre_delete_errands_enabled_names_#{errand_name}", true)
|
12
|
+
set_check_box("post_deploy_errands_enabled_names_#{errand_name}", true)
|
12
13
|
save_form
|
13
14
|
end
|
14
15
|
|
15
16
|
def disable_errand(errand_name)
|
16
17
|
open_form
|
17
|
-
|
18
|
+
set_check_box("pre_delete_errands_enabled_names_#{errand_name}", false)
|
19
|
+
set_check_box("post_deploy_errands_enabled_names_#{errand_name}", false)
|
18
20
|
save_form
|
19
21
|
end
|
20
22
|
|
@@ -37,6 +39,11 @@ module OpsManagerUiDrivers
|
|
37
39
|
private
|
38
40
|
|
39
41
|
attr_reader :browser, :product_name
|
42
|
+
|
43
|
+
def set_check_box(name, value)
|
44
|
+
check_box = browser.first(name)
|
45
|
+
check_box.set(value) if check_box
|
46
|
+
end
|
40
47
|
end
|
41
48
|
end
|
42
49
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ops_manager_ui_drivers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pivotal, Inc.
|
@@ -286,7 +286,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
286
286
|
version: '0'
|
287
287
|
requirements: []
|
288
288
|
rubyforge_project:
|
289
|
-
rubygems_version: 2.5.1
|
289
|
+
rubygems_version: 2.4.5.1
|
290
290
|
signing_key:
|
291
291
|
specification_version: 4
|
292
292
|
summary: Capybara helpers for configuring Pivotal Ops Manager
|