ops_manager_ui_drivers 2.6.0 → 2.6.1

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: 9c05ca7a0dcb2b12b5efe6e5fa1fcc3b29b0773e
4
- data.tar.gz: a4109b68633567f709571d711d39192f2a26ba5f
3
+ metadata.gz: 255120bd764e82df1476ef755ee6e61b3da000a9
4
+ data.tar.gz: d8f1a039379d6b4784eb64ddb8eb91a0673d05fb
5
5
  SHA512:
6
- metadata.gz: eeda6c626f52b0fcd1def99e376afb3a717f4b730f2b3ce356f6a4074ba0e0b3f02e707913442e9f41a0790da8a9ea8b78fc9b98d025d3faf71d3cfff61d34c3
7
- data.tar.gz: 75d0097ba475b7cf87f3ec13ead089bb03842fe33984812850d384d120be101792b65dcc647303bd3abaf4a9b64e27653a4f14feaf03770e5b077a24825607f6
6
+ metadata.gz: 8a956fe9470345b6e1e14806f1d8e3159c1e96a63bbbe1b848035b639e63a6fae30625457d16c337ddd016fd5baeb5f918b965ad2fe7d317bcb8fb08a44ec9b8
7
+ data.tar.gz: 9f81018bb2d41e085ae6889c28f4c17ee7e2c529d4314948dbc45522906b1850ce0387a80894255b1dca0f1acb2bca16971a0ca46a7933e6eff8a4d9bf303eaf
@@ -1,3 +1,3 @@
1
1
  module OpsManagerUiDrivers
2
- VERSION = '2.6.0'
2
+ VERSION = '2.6.1'
3
3
  end
@@ -93,12 +93,6 @@ module OpsManagerUiDrivers
93
93
  private
94
94
 
95
95
  attr_reader :browser
96
-
97
- def guid
98
- # jenkins gives us the job name in an environment variable, otherwise use the hostname
99
- job_name = ENV['JOB_NAME'] || `hostname`.chomp.split(/\./).first
100
- job_name.gsub(/[^[:alnum:]]+/, '_')
101
- end
102
96
  end
103
97
  end
104
98
  end
@@ -99,12 +99,6 @@ module OpsManagerUiDrivers
99
99
 
100
100
  attr_reader :browser
101
101
 
102
- def guid
103
- # jenkins gives us the job name in an environment variable, otherwise use the hostname
104
- job_name = ENV['JOB_NAME'] || `hostname`.chomp.split(/\./).first
105
- job_name.gsub(/[^[:alnum:]]+/, '_')
106
- end
107
-
108
102
  def find_az_field
109
103
  browser.find_field('Singleton Availability Zone').all('option')
110
104
  rescue Capybara::ElementNotFound
@@ -99,12 +99,6 @@ module OpsManagerUiDrivers
99
99
 
100
100
  attr_reader :browser
101
101
 
102
- def guid
103
- # jenkins gives us the job name in an environment variable, otherwise use the hostname
104
- job_name = ENV['JOB_NAME'] || `hostname`.chomp.split(/\./).first
105
- job_name.gsub(/[^[:alnum:]]+/, '_')
106
- end
107
-
108
102
  def find_az_field
109
103
  browser.find_field('Singleton Availability Zone').all('option')
110
104
  rescue Capybara::ElementNotFound
@@ -13,22 +13,18 @@ module OpsManagerUiDrivers
13
13
  browser.visit '/'
14
14
  poll_up_to_times 3 do
15
15
  browser.click_on "add-#{product_name}"
16
- browser.find("#show-#{product_name.dasherize}-configure-action")
16
+ browser.find("#show-#{product_name}-configure-action")
17
17
  end
18
18
  end
19
19
 
20
20
  def product_added?(product_name)
21
21
  browser.visit '/'
22
- browser.all("#show-#{product_name.dasherize}-configure-action").any?
22
+ browser.all("#show-#{product_name}-configure-action").any?
23
23
  end
24
24
 
25
25
  private
26
26
 
27
27
  attr_reader :browser
28
-
29
- def dasherized_product_name(product_name)
30
- product_name.to_s.gsub(/[_]/, '-')
31
- end
32
28
  end
33
29
  end
34
30
  end
@@ -60,7 +60,7 @@ module OpsManagerUiDrivers
60
60
 
61
61
  def open_form
62
62
  browser.visit '/'
63
- browser.click_on "show-#{product_name.dasherize}-configure-action"
63
+ browser.click_on "show-#{product_name}-configure-action"
64
64
  browser.click_on "show-#{product_name}-azs-and-network-assignment-action"
65
65
  end
66
66
 
@@ -19,7 +19,7 @@ module OpsManagerUiDrivers
19
19
 
20
20
  def deleted_product?(product_name)
21
21
  open_dashboard
22
- browser.first("#show-#{product_name.dasherize}-information-action").present?
22
+ browser.first("#show-#{product_name}-information-action").present?
23
23
  end
24
24
  end
25
25
  end
@@ -60,7 +60,7 @@ module OpsManagerUiDrivers
60
60
  def open_page
61
61
  browser.visit '/'
62
62
 
63
- browser.click_on "show-#{product_name.dasherize}-configure-action"
63
+ browser.click_on "show-#{product_name}-configure-action"
64
64
  browser.click_on 'show-status-action'
65
65
  end
66
66
 
@@ -102,12 +102,6 @@ module OpsManagerUiDrivers
102
102
 
103
103
  attr_reader :browser
104
104
 
105
- def guid
106
- # jenkins gives us the job name in an environment variable, otherwise use the hostname
107
- job_name = ENV['JOB_NAME'] || `hostname`.chomp.split(/\./).first
108
- job_name.gsub(/[^[:alnum:]]+/, '_')
109
- end
110
-
111
105
  def find_az_field
112
106
  browser.find_field('Singleton Availability Zone').all('option')
113
107
  rescue Capybara::ElementNotFound
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.6.0
4
+ version: 2.6.1
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.4.5.1
289
+ rubygems_version: 2.5.1
290
290
  signing_key:
291
291
  specification_version: 4
292
292
  summary: Capybara helpers for configuring Pivotal Ops Manager