Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gemini-gui

Package Overview
Dependencies
Maintainers
5
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gemini-gui - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

lib/views/partials/meta-info.hbs

8

CHANGELOG.md
# Changelog
## 4.2.0 - 2016-07-28
* Supported displaying of test url and session id in meta-info of HTML reporter.
## 4.1.0 - 2016-07-15
* Supported option `--browser`.
## 4.0.0 - 2016-04.20

@@ -4,0 +12,0 @@

3

lib/cli.js

@@ -17,3 +17,4 @@ 'use strict';

.option('-c, --config <file>', 'Gemini config file', path.resolve)
.option('--grep <pattern>', 'run only suites matching the pattern', RegExp)
.option('-g, --grep <pattern>', 'run only suites matching the pattern', RegExp)
.option('-a, --auto-run', 'auto run immediately')
.parse(process.argv);

@@ -20,0 +21,0 @@

@@ -27,3 +27,3 @@ /*jshint browser:true*/

runState: function(state) {
this._run(state);
this.run(state);
},

@@ -35,7 +35,7 @@

if (failed.length) {
this._run(this._sections.findFailedStates());
this.run(this._sections.findFailedStates());
}
},
_run: function(failed) {
run: function(failed) {
var _this = this;

@@ -72,3 +72,3 @@

this._runButton.addEventListener('click', function() {
_this._run();
_this.run();
});

@@ -111,2 +111,4 @@ this._runFailedButton.addEventListener('click', this._runAllFailed.bind(this));

data.metaInfo = data.state && data.state.metaInfo? JSON.stringify(data.state.metaInfo, null, 4) : 'Meta info is not available';
if (data.equal) {

@@ -113,0 +115,0 @@ section.setAsSuccess(data);

/*jshint browser:true*/
'use strict';
var Controller = require('./controller'),

@@ -11,5 +12,7 @@ forEach = Array.prototype.forEach,

hbruntime.registerPartial('controls', require('../views/partials/controls.hbs'));
hbruntime.registerPartial('meta-info', require('../views/partials/meta-info.hbs'));
function bodyClick(e) {
var target = e.target;
if (target.classList.contains('cswitcher__item')) {

@@ -23,2 +26,6 @@ handleColorSwitch(

}
if (target.classList.contains('meta-info__switcher')) {
toggleMetaInfo(target);
}
}

@@ -50,5 +57,14 @@

function toggleMetaInfo(target) {
target.closest('.meta-info').classList.toggle('meta-info_collapsed');
}
document.addEventListener('DOMContentLoaded', function() {
window.controller = new Controller();
document.body.addEventListener('click', bodyClick);
// Run immediately
if (document.querySelector('.report').dataset.autoRun) {
window.controller.run();
}
});

@@ -43,2 +43,5 @@ 'use strict';

response.state.metaInfo = response.state.metaInfo || {};
response.state.metaInfo.sessionId = data.sessionId;
if (data.equal) {

@@ -45,0 +48,0 @@ app.sendClientEvent('endTest', response);

@@ -16,2 +16,5 @@ 'use strict';

extname: '.hbs',
compilerOptions: {
preventIndent: true
},
partialsDir: path.join(__dirname, 'views', 'partials')

@@ -35,3 +38,4 @@ }));

res.render('main', {
suites: suites
suites: suites,
autoRun: options.autoRun
});

@@ -38,0 +42,0 @@ })

@@ -50,5 +50,7 @@ 'use strict';

browserId: browserId,
metaInfo: state && state.metaInfo? JSON.stringify(state.metaInfo, null, 4) : 'Meta info is not available',
skipped: state.shouldSkip(this._app.getBrowserCapabilites(browserId)),
referenceURL: this._app.refPathToURL(fullPath, browserId)
};
this._index.add(data);

@@ -55,0 +57,0 @@ return data;

{
"name": "gemini-gui",
"version": "4.1.0",
"version": "4.2.0",
"description": "GUI for gemini testing utility",

@@ -22,3 +22,3 @@ "main": "lib/index.js",

"express": "^4.8.6",
"express-handlebars": "^1.0.3",
"express-handlebars": "^2.0.0",
"handlebars": "^1.3.0",

@@ -25,0 +25,0 @@ "inherit": "^2.2.3",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc