ops_manager_ui_drivers 0.11.0 → 0.12.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: 9c8f24943595d1a6ab437393b9d94489efcbf59a
4
- data.tar.gz: cc61b34203c2143201c0893135282d6e110b38ea
3
+ metadata.gz: 3194365d8ce9f63d14fe1737161c6497e918f18a
4
+ data.tar.gz: 4e0e549e78ac61c0172162b30ffc9f25e1a42a09
5
5
  SHA512:
6
- metadata.gz: 18a1409d8f56d2cf1a9478e64f0cafd37e600f166bf8a6d11faa00bb3a4cd306c5490806b3b7d75f03a1d6670408f08f81e72e75ce8d6e868c73d052b098badd
7
- data.tar.gz: 615b8df6a4a271d3af5b3d8837d656bb5b15093ed62e00d53175e049ba0eb86ea01b53aacc2d61be44e7204858fd9bb904dbba952bca87ecd3a4f3d37448ff41
6
+ metadata.gz: e8b87c3813998ac6c799696cbdaa32c3dd422f4eda629a68720ea3ee72607436b1787137f4f923bb77c77024ce43fa7ebf7220e67fe90b08d10a2aa2cf1c6d0a
7
+ data.tar.gz: a60158a9aae628c288934d81b62763dd9eb2aacc7ca99927f8b2051660a8dd1f8237034b9f52ef6e0b9aa7abcbe5631425185e9d5e5d63bfe061e83f3bd65fd5
@@ -1,3 +1,3 @@
1
1
  module OpsManagerUiDrivers
2
- VERSION = '0.11.0'
2
+ VERSION = '0.12.0'
3
3
  end
@@ -8,6 +8,7 @@ module OpsManagerUiDrivers
8
8
  def add_product_to_install(product_name)
9
9
  browser.visit '/'
10
10
  browser.click_on "add-#{product_name}"
11
+ browser.find("#show-#{product_name}-configure-action")
11
12
  end
12
13
 
13
14
  def product_added?(product_name)
@@ -84,6 +84,17 @@ module OpsManagerUiDrivers
84
84
  delete_whole_installation if delete_installation_available?
85
85
  end
86
86
 
87
+ def revert_pending_changes
88
+ open_dashboard
89
+ browser.click_on 'open-revert-installation-modal-action'
90
+ wait_for_modal_css_transition_to_complete
91
+ browser.click_on 'revert-installation-action'
92
+ end
93
+
94
+ def revert_available?
95
+ browser.all('#open-revert-installation-modal-action').any?
96
+ end
97
+
87
98
  private
88
99
 
89
100
  attr_reader :browser
@@ -141,17 +152,6 @@ module OpsManagerUiDrivers
141
152
  def open_dashboard
142
153
  browser.visit '/'
143
154
  end
144
-
145
- def revert_pending_changes
146
- open_dashboard
147
- browser.click_on 'open-revert-installation-modal-action'
148
- wait_for_modal_css_transition_to_complete
149
- browser.click_on 'revert-installation-action'
150
- end
151
-
152
- def revert_available?
153
- browser.all('#open-revert-installation-modal-action').any?
154
- end
155
155
  end
156
156
  end
157
157
  end
@@ -8,6 +8,7 @@ module OpsManagerUiDrivers
8
8
  def add_product_to_install(product_name)
9
9
  browser.visit '/'
10
10
  browser.click_on "add-#{product_name}"
11
+ browser.find("#show-#{product_name}-configure-action")
11
12
  end
12
13
 
13
14
  def product_added?(product_name)
@@ -98,6 +98,17 @@ module OpsManagerUiDrivers
98
98
  end
99
99
  end
100
100
 
101
+ def revert_pending_changes
102
+ open_dashboard
103
+ browser.click_on 'open-revert-installation-modal-action'
104
+ wait_for_modal_css_transition_to_complete
105
+ browser.click_on 'revert-installation-action'
106
+ end
107
+
108
+ def revert_available?
109
+ browser.all('#open-revert-installation-modal-action').any?
110
+ end
111
+
101
112
  private
102
113
 
103
114
  attr_reader :browser
@@ -159,17 +170,6 @@ module OpsManagerUiDrivers
159
170
  def open_dashboard
160
171
  browser.visit '/'
161
172
  end
162
-
163
- def revert_pending_changes
164
- open_dashboard
165
- browser.click_on 'open-revert-installation-modal-action'
166
- wait_for_modal_css_transition_to_complete
167
- browser.click_on 'revert-installation-action'
168
- end
169
-
170
- def revert_available?
171
- browser.all('#open-revert-installation-modal-action').any?
172
- end
173
173
  end
174
174
  end
175
175
  end
@@ -8,6 +8,7 @@ module OpsManagerUiDrivers
8
8
  def add_product_to_install(product_name)
9
9
  browser.visit '/'
10
10
  browser.click_on "add-#{product_name}"
11
+ browser.find("#show-#{product_name}-configure-action")
11
12
  end
12
13
 
13
14
  def product_added?(product_name)
@@ -114,6 +114,18 @@ module OpsManagerUiDrivers
114
114
  end
115
115
  end
116
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
+
117
129
  private
118
130
 
119
131
  attr_reader :browser
@@ -175,17 +187,6 @@ module OpsManagerUiDrivers
175
187
  def open_dashboard
176
188
  browser.visit '/'
177
189
  end
178
-
179
- def revert_pending_changes
180
- open_dashboard
181
- browser.click_on 'open-revert-installation-modal-action'
182
- wait_for_modal_css_transition_to_complete
183
- browser.click_on 'revert-installation-action'
184
- end
185
-
186
- def revert_available?
187
- browser.all('#open-revert-installation-modal-action').any?
188
- end
189
190
  end
190
191
  end
191
192
  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.11.0
4
+ version: 0.12.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-07-22 00:00:00.000000000 Z
11
+ date: 2015-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara