ops_manager_ui_drivers 0.9.5 → 0.9.6
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: 70535323ef0775db3ffc19bef3211452f96d142a
|
4
|
+
data.tar.gz: 8da2a7c7a949ef4e0717887b97e105a1c4c619ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0bd5f8f557e97363e9d07958ee6927740c1363945ebd17a3c9c806dd0a153b257029e9ee7d4d1bb730dcc30d0d0c5ba878a12ea0cb62d4459eac62a47441fd1
|
7
|
+
data.tar.gz: da8544de5207fcdd32f3bf9fa10d437377211b16819fe998ea08991ae3be57b4d6aa06da330eca350e0cbd8d982c1209979da15734a5b5aabd3e3c4962d04b5a
|
@@ -82,7 +82,7 @@ module OpsManagerUiDrivers
|
|
82
82
|
browser.click_on 'show-microbosh-configure-action'
|
83
83
|
browser.click_on 'show-director-availability-zone-assignment-action'
|
84
84
|
|
85
|
-
availability_zone_options =
|
85
|
+
availability_zone_options = find_az_field
|
86
86
|
availability_zone_options.each do |element|
|
87
87
|
if element.text == az_name
|
88
88
|
return element[:value]
|
@@ -99,6 +99,12 @@ module OpsManagerUiDrivers
|
|
99
99
|
job_name = ENV['JOB_NAME'] || `hostname`.chomp.split(/\./).first
|
100
100
|
job_name.gsub(/[^[:alnum:]]+/, '_')
|
101
101
|
end
|
102
|
+
|
103
|
+
def find_az_field
|
104
|
+
browser.find_field('Singleton Availability Zone').all('option')
|
105
|
+
rescue Capybara::ElementNotFound
|
106
|
+
browser.find_field('Singleton Availability Zone', disabled: true).all('option')
|
107
|
+
end
|
102
108
|
end
|
103
109
|
end
|
104
110
|
end
|
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: 0.9.
|
4
|
+
version: 0.9.6
|
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-
|
11
|
+
date: 2015-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|