ops_manager_ui_drivers 0.14.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ops_manager_ui_drivers/version.rb +1 -1
- data/lib/ops_manager_ui_drivers/version15/ops_manager_director.rb +0 -2
- data/lib/ops_manager_ui_drivers/version16/available_products.rb +1 -0
- data/lib/ops_manager_ui_drivers/version16/ops_manager_director.rb +1 -1
- data/lib/ops_manager_ui_drivers/version16/product_dashboard.rb +26 -11
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31df948aa369c9d3df3c2fc08e4d7c5b2a7f28a7
|
4
|
+
data.tar.gz: dc617daa3a97e4f631fe142350c10308aefc241b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfa2fabd275f2a861d4c6279469eb4c01eb7e9601bdf79cc9794f4555116b2758edba1f2086556e61218676f1f38cf050c132f62bbe1aa39bd471c5ea0794a0d
|
7
|
+
data.tar.gz: 9e1796812536fc8955eef88f6de6cfdf1c297a5aa5d6a8a8c3666e2506aaaaff0144bc26917b4ccd21d55c07bba09f2dbf5609ca71ea1bb4eb8b704b3a546f7c
|
@@ -51,6 +51,11 @@ module OpsManagerUiDrivers
|
|
51
51
|
browser.all("li.#{product_name} input#component_version[value='#{product_version}']", {visible: false}).any?
|
52
52
|
end
|
53
53
|
|
54
|
+
def product_complete?(product_name)
|
55
|
+
open_dashboard
|
56
|
+
browser.all("a#show-#{product_name}-configure-action[data-progress='100']").any?
|
57
|
+
end
|
58
|
+
|
54
59
|
def upgrade_product(product_name)
|
55
60
|
open_dashboard
|
56
61
|
browser.find(".product.#{product_name} p").trigger(:mouseover)
|
@@ -100,6 +105,27 @@ module OpsManagerUiDrivers
|
|
100
105
|
end
|
101
106
|
end
|
102
107
|
|
108
|
+
def most_recent_install_log
|
109
|
+
open_dashboard
|
110
|
+
if browser.all('#installation-logs li a', visible: false).any?
|
111
|
+
base_url = browser.first('#installation-logs li a', visible: false)[:href]
|
112
|
+
browser.visit "#{base_url}.text"
|
113
|
+
browser.source
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
def revert_pending_changes
|
118
|
+
open_dashboard
|
119
|
+
browser.click_on 'open-revert-installation-modal-action'
|
120
|
+
wait_for_modal_css_transition_to_complete
|
121
|
+
browser.click_on 'revert-installation-action'
|
122
|
+
end
|
123
|
+
|
124
|
+
def revert_available?
|
125
|
+
open_dashboard
|
126
|
+
browser.all('#open-revert-installation-modal-action').any?
|
127
|
+
end
|
128
|
+
|
103
129
|
private
|
104
130
|
|
105
131
|
attr_reader :browser
|
@@ -161,17 +187,6 @@ module OpsManagerUiDrivers
|
|
161
187
|
def open_dashboard
|
162
188
|
browser.visit '/'
|
163
189
|
end
|
164
|
-
|
165
|
-
def revert_pending_changes
|
166
|
-
open_dashboard
|
167
|
-
browser.click_on 'open-revert-installation-modal-action'
|
168
|
-
wait_for_modal_css_transition_to_complete
|
169
|
-
browser.click_on 'revert-installation-action'
|
170
|
-
end
|
171
|
-
|
172
|
-
def revert_available?
|
173
|
-
browser.all('#open-revert-installation-modal-action').any?
|
174
|
-
end
|
175
190
|
end
|
176
191
|
end
|
177
192
|
end
|