gemini-gui
Advanced tools
Comparing version 4.6.0 to 4.6.1
# Changelog | ||
## 4.6.1 - 2017-03-28 | ||
* Add retry button and metaInfo section to error state. | ||
## 4.6.0 - 2017-01-10 | ||
@@ -4,0 +8,0 @@ |
@@ -167,3 +167,8 @@ 'use strict'; | ||
}); | ||
section.setAsError({stack: data.stack}); | ||
data.metaInfo = data.state && data.state.metaInfo | ||
? JSON.stringify(data.state.metaInfo, null, 4) | ||
: 'Meta info is not available'; | ||
section.setAsError(data); | ||
section.expand(); | ||
@@ -170,0 +175,0 @@ _this._sections.markBranchAsFailed(section); |
@@ -142,2 +142,5 @@ 'use strict'; | ||
this._bodyNode.innerHTML = errorTemplate(error); | ||
this._suiteControls = new SuiteControls(this._bodyNode); | ||
this._suiteControls.setAsError(this.retry.bind(this)); | ||
}, | ||
@@ -144,0 +147,0 @@ |
@@ -26,2 +26,8 @@ 'use strict'; | ||
setAsError: function(retryHandler) { | ||
this._setButtonVisible(this._acceptButton, false); | ||
this._enableIfNotRunning(this._retryButton); | ||
this._attachHandlers(retryHandler); | ||
}, | ||
toggleRetry: function(isEnabled) { | ||
@@ -28,0 +34,0 @@ this._setButtonEnabled(this._retryButton, isEnabled); |
@@ -11,3 +11,3 @@ 'use strict'; | ||
function onError(error) { | ||
app.sendClientEvent('err', { | ||
var response = { | ||
suite: error.suite, | ||
@@ -17,3 +17,9 @@ state: error.state, | ||
stack: error.stack || error.message | ||
}); | ||
}; | ||
response.state.metaInfo = response.suite.metaInfo || {}; | ||
response.state.metaInfo.sessionId = error.sessionId; | ||
response.state.metaInfo.file = response.suite.file; | ||
app.sendClientEvent('err', response); | ||
} | ||
@@ -20,0 +26,0 @@ |
{ | ||
"name": "gemini-gui", | ||
"version": "4.6.0", | ||
"version": "4.6.1", | ||
"description": "GUI for gemini testing utility", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
868518
1902
1