Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit 4f5c77f

Browse files
committed
Recent Activity -> Recent Activations
Fixes #854
1 parent 02fcf3b commit 4f5c77f

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

app/plugins/modules/activation-visualizations/lib/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ exports.rightArrowHeadEmpty = '\u25b7'
3737
exports.isUUIDPattern = /.*[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i
3838

3939
/** title to use when viewing general activity, i.e. without a name filter */
40-
exports.titleWhenNothingSelected = 'Recent Activity'
40+
exports.titleWhenNothingSelected = 'Recent Activations'
4141

4242
/**
4343
* Flatten an array of arrays

tests/lib/openwhisk.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ exports.cleanAll = auth => {
2121
const ow = require('openwhisk')({
2222
apihost: process.env.__OW_API_HOST || process.env.API_HOST || process.env.APIHOST || localWskProps().APIHOST || 'openwhisk.ng.bluemix.net',
2323
api_key: auth || process.env.__OW_API_KEY || process.env.AUTH || localWskProps().AUTH,
24-
ignore_certs: process.env.IGNORE_CERTS || process.env.INSECURE_SSL || localWskProps().INSECURE_SSL
24+
ignore_certs: process.env.IGNORE_CERTS || process.env.INSECURE_SSL || localWskProps().INSECURE_SSL || localWskProps().APIHOST.indexOf('localhost') >= 0 || localWskProps().APIHOST.startsWith('192.') || localWskProps().APIHOST.startsWith('172.') || localWskProps().APIHOST.startsWith('https://192.') || localWskProps().APIHOST.startsWith('https://172.')
2525
})
2626

2727
/** log a message, then call the given function */

tests/lib/ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ exports.cli = {
142142
waitForRepl: (app, prefs={}) => app.client.waitForExist(selectors.CURRENT_PROMPT, timeout)
143143
.then(() => app.client.waitForText(selectors.APIHOST, timeout))
144144
.then(() => app.client.getText(selectors.APIHOST))
145-
.then(apihost => assert.equal(apihost.toLowerCase(), (prefs.API_HOST || constants.API_HOST).toLowerCase()))
145+
.then(apihost => assert.equal(apihost.toLowerCase().replace(/^https:\/\//,''), (prefs.API_HOST || constants.API_HOST).toLowerCase().replace(/^https:\/\//,'')))
146146
.then(() => {
147147
if (!prefs || !prefs.noAuthOk) {
148148
return app.client.waitForText(selectors.NAMESPACE, timeout)

tests/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/tests/passes/04/z-activation-list-drilldowns.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ describe('List activations, then drill down to summary views', function() {
4949
})))
5050
.then(() => this.app)
5151
.then(sidecar.expectOpen)
52-
.then(sidecar.expectShowing('Recent Activity'))
52+
.then(sidecar.expectShowing('Recent Activations'))
5353
.catch(common.oops(this)))
5454
}
5555

tests/tests/passes/07/zzz-bottom-bar-back-button.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ describe('Bottom bar back button functionality', function() {
116116
const once = iter => cli.do('grid', this.app)
117117
.then(cli.expectOK)
118118
.then(sidecar.expectOpen)
119-
.then(sidecar.expectShowing('Recent Activity'))
119+
.then(sidecar.expectShowing('Recent Activations'))
120120

121121
// find cell1, click, then click back
122122
.then(() => this.app.client.getAttribute(cell1, 'data-action-name'))
@@ -125,7 +125,7 @@ describe('Bottom bar back button functionality', function() {
125125
.then(sidecar.expectShowing(actionName)))
126126
.then(() => this.app.client.click(ui.selectors.SIDECAR_BACK_BUTTON))
127127
.then(() => this.app)
128-
.then(sidecar.expectShowing('Recent Activity'))
128+
.then(sidecar.expectShowing('Recent Activations'))
129129

130130
.catch(err => {
131131
console.error(err)
@@ -143,7 +143,7 @@ describe('Bottom bar back button functionality', function() {
143143
const once = iter => cli.do('grid', this.app)
144144
.then(cli.expectOK)
145145
.then(sidecar.expectOpen)
146-
.then(sidecar.expectShowing('Recent Activity'))
146+
.then(sidecar.expectShowing('Recent Activations'))
147147

148148
// find cell1, click, then click back
149149
.then(() => this.app.client.getAttribute(cell1, 'data-action-name'))
@@ -152,7 +152,7 @@ describe('Bottom bar back button functionality', function() {
152152
.then(sidecar.expectShowing(actionName)))
153153
.then(() => this.app.client.click(ui.selectors.SIDECAR_BACK_BUTTON))
154154
.then(() => this.app)
155-
.then(sidecar.expectShowing('Recent Activity'))
155+
.then(sidecar.expectShowing('Recent Activations'))
156156

157157
// find cell2, click, then click back
158158
.then(() => this.app.client.getAttribute(cell2, 'data-action-name'))
@@ -161,7 +161,7 @@ describe('Bottom bar back button functionality', function() {
161161
.then(sidecar.expectShowing(actionName)))
162162
.then(() => this.app.client.click(ui.selectors.SIDECAR_BACK_BUTTON))
163163
.then(() => this.app)
164-
.then(sidecar.expectShowing('Recent Activity'))
164+
.then(sidecar.expectShowing('Recent Activations'))
165165

166166
.catch(err => {
167167
console.error(err)

0 commit comments

Comments
 (0)