ops_manager_ui_drivers 2.12.0 → 2.13.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: 2cf4219bb928bdbb033d27861912d0d45785405e
4
- data.tar.gz: 7aa47e1478dcd4ac49a59562840bfea8bf239861
3
+ metadata.gz: 7a2240a408bae3c45638e2e26f8d7d067dfccc69
4
+ data.tar.gz: 6e94f06839f45210816cac9eee4d9929a6fa70de
5
5
  SHA512:
6
- metadata.gz: ef9538c1df559a40823ff086839eb06096249bb76a868b406e19ebf4368af500b2e508c6c4f5167dab6fe4974d68c0cc889efe52b08a7efaf4be0cbfe47269fc
7
- data.tar.gz: e2976817a724dc337156db56491af006d44fdb5239590a19ccd345ccfc892236b024d7cf51d15b16ce95ed2af6bfeb1773ae0ad52fcfa6d0e8a704020888720d
6
+ metadata.gz: 5b4d20b1a9a0802e1e9e4e80c540542dbddb7d7d1e6485b695339603979b6cf6c0d3164c4800bc2973dc7e7afe157f8a09592a84edc9dc79714bc750905267e2
7
+ data.tar.gz: 3e3ba070720fc3efdce24a23fff5a0716bdd6ac5524221781545b9754419d85b88ee46e1f644019993f56e8c9a3ee4b011bed33da2effd74c6b713e2afd5afaf
@@ -1,3 +1,3 @@
1
1
  module OpsManagerUiDrivers
2
- VERSION = '2.12.0'
2
+ VERSION = '2.13.0'
3
3
  end
@@ -3,9 +3,13 @@ require 'ops_manager_ui_drivers/version17/available_products'
3
3
  module OpsManagerUiDrivers
4
4
  module Version18
5
5
  class AvailableProducts < Version17::AvailableProducts
6
- def add_product_to_install(product_name, product_version)
6
+ def add_product_to_install(product_name, product_version=nil)
7
7
  browser.visit '/'
8
- browser.click_on "add-#{product_name}-#{product_version}"
8
+ if product_version
9
+ browser.click_on "add-#{product_name}-#{product_version}"
10
+ else
11
+ browser.find(:css, "[id^='add-#{product_name}-']").click
12
+ end
9
13
  end
10
14
  end
11
15
  end
@@ -11,8 +11,9 @@ module OpsManagerUiDrivers
11
11
  method_deprecated!
12
12
  end
13
13
 
14
- def upgrade_product(_product_name)
15
- method_deprecated!
14
+ def upgrade_product(product_name)
15
+ STDERR.puts 'OpsManagerUiDrivers product_dashboard.upgrade_product is deprecated, please use available_products#add_product_to_install with a product name and version'
16
+ Version18::AvailableProducts.new(browser: browser).add_product_to_install(product_name, nil)
16
17
  end
17
18
 
18
19
  def delete_unused_products
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.12.0
4
+ version: 2.13.0
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-04-25 00:00:00.000000000 Z
11
+ date: 2016-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -317,3 +317,4 @@ signing_key:
317
317
  specification_version: 4
318
318
  summary: Capybara helpers for configuring Pivotal Ops Manager
319
319
  test_files: []
320
+ has_rdoc: