ops_manager_ui_drivers 0.14.1 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31df948aa369c9d3df3c2fc08e4d7c5b2a7f28a7
4
- data.tar.gz: dc617daa3a97e4f631fe142350c10308aefc241b
3
+ metadata.gz: b457522fffe6bd100758c552850ed2e93c3117f3
4
+ data.tar.gz: e23e111d7afbaad361ad07cf3826933fefc903d0
5
5
  SHA512:
6
- metadata.gz: bfa2fabd275f2a861d4c6279469eb4c01eb7e9601bdf79cc9794f4555116b2758edba1f2086556e61218676f1f38cf050c132f62bbe1aa39bd471c5ea0794a0d
7
- data.tar.gz: 9e1796812536fc8955eef88f6de6cfdf1c297a5aa5d6a8a8c3666e2506aaaaff0144bc26917b4ccd21d55c07bba09f2dbf5609ca71ea1bb4eb8b704b3a546f7c
6
+ metadata.gz: 6cae3e84f0dd898a881c937e28dc686dedc7d43750500e22a0be8cc5bf7398cd986fcba2cfcad633f3bdb8ebe0cc4eb332df36e4f166f4d8c35721a7ac4f9dc8
7
+ data.tar.gz: 3b065cf53a5d809065b17ad9b9397a584b90e8a40b074059d803b45727e934bed25957d2ffffdae6392fff38ac80e16b27c825eb8e8d4b63834710250c281581
@@ -1,3 +1,3 @@
1
1
  module OpsManagerUiDrivers
2
- VERSION = '0.14.1'
2
+ VERSION = '0.15.0'
3
3
  end
@@ -41,6 +41,11 @@ module OpsManagerUiDrivers
41
41
  browser.click_on "delete-#{product_name}-action"
42
42
  end
43
43
 
44
+ def product_on_dashboard?(product_name)
45
+ open_dashboard
46
+ browser.all("a#show-#{product_name}-configure-action").any?
47
+ end
48
+
44
49
  def import_product_from(full_path)
45
50
  open_dashboard
46
51
  browser.attach_file('component_add[file]', full_path, {visible: false})
@@ -41,6 +41,11 @@ module OpsManagerUiDrivers
41
41
  browser.click_on "delete-#{product_name}-action"
42
42
  end
43
43
 
44
+ def product_on_dashboard?(product_name)
45
+ open_dashboard
46
+ browser.all("a#show-#{product_name}-configure-action").any?
47
+ end
48
+
44
49
  def import_product_from(full_path)
45
50
  open_dashboard
46
51
  browser.attach_file('component_add[file]', full_path, {visible: false})
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: 0.14.1
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pivotal, Inc.
@@ -253,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
253
253
  version: '0'
254
254
  requirements: []
255
255
  rubyforge_project:
256
- rubygems_version: 2.4.7
256
+ rubygems_version: 2.2.2
257
257
  signing_key:
258
258
  specification_version: 4
259
259
  summary: Capybara helpers for configuring Pivotal Ops Manager