ops_manager_ui_drivers 1.25.1 → 1.26.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: 2e77d4e220bde37927f2f5af44f75f5bb8d5b35c
4
- data.tar.gz: 1e2a805eee08385663c3dfc3dd13b0c930ebb92f
3
+ metadata.gz: 3fbf55c7d2b26f99b7758e87f7407a9a5364506e
4
+ data.tar.gz: 57bbec2b0041dc64805b51b900e63071148d8c24
5
5
  SHA512:
6
- metadata.gz: 6bc566922d2818f080fc2f745975cf438eb64a082d85a715377acabbe5edc54197bd6ca0d6ea0ee8a1265f56c242f67373d61f08d76481ad49eba681e044afdc
7
- data.tar.gz: f1c48b4f5bb8c81b3852e5f73d60f847df4a6dec356bd4d2423e1ecde079b1069b5d2eb13e5b0660990bb697f16c2f24fc9533554885de7c2ce16f67cac844f4
6
+ metadata.gz: abaa14b6497af6519629184278480910760fe15b4966675b6bf02a5d099b4f0c9dfdede8af6ab63e3c2ab40005929818287d6f1ae2258d3d7f53cc3d5f3fb6d7
7
+ data.tar.gz: 412234bc420a29cab66bc4060c75c4c880c7c5e8ae406bb56d007c5ebe2d36d183e356fdc0c2dc4d85021c7328fd90a5535471e5c55eb449107d6f87ec8ba795
@@ -1,3 +1,3 @@
1
1
  module OpsManagerUiDrivers
2
- VERSION = '1.25.1'
2
+ VERSION = '1.26.0'
3
3
  end
@@ -123,6 +123,28 @@ module OpsManagerUiDrivers
123
123
  browser.fill_in('experimental_features[trusted_certificates]', with: trusted_certificates)
124
124
  end
125
125
 
126
+ def selected_network_name(iaas_type)
127
+ case iaas_type
128
+ when OpsManagerUiDrivers::VCLOUD_IAAS_TYPE
129
+ browser.click_on 'Assign Networks'
130
+ else
131
+ browser.click_on 'Assign AZs and Networks'
132
+ end
133
+ selected_options = browser.find_field('Network').all('option[selected]')
134
+ selected_options.first.text unless selected_options.empty?
135
+ end
136
+
137
+ def selected_singleton_az_name(iaas_type)
138
+ case iaas_type
139
+ when OpsManagerUiDrivers::VCLOUD_IAAS_TYPE
140
+ browser.click_on 'Assign Networks'
141
+ else
142
+ browser.click_on 'Assign AZs and Networks'
143
+ end
144
+ selected_options = browser.find_field('bosh_product[singleton_availability_zone_reference]').all('option[selected]')
145
+ selected_options.first.text unless selected_options.empty?
146
+ end
147
+
126
148
  private
127
149
 
128
150
  attr_reader :browser, :iaas_configuration
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: 1.25.1
4
+ version: 1.26.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: 2015-12-09 00:00:00.000000000 Z
11
+ date: 2015-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -296,7 +296,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
296
296
  version: '0'
297
297
  requirements: []
298
298
  rubyforge_project:
299
- rubygems_version: 2.4.5
299
+ rubygems_version: 2.4.8
300
300
  signing_key:
301
301
  specification_version: 4
302
302
  summary: Capybara helpers for configuring Pivotal Ops Manager