vis.js is a dynamic, browser-based visualization library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

30 lines
686 B

gemini.suite('timline', function(suite) {
var fs = require('fs');
var path = require('path');
var baseDir = '/test/gemini/tests/dynamic/';
var files = fs.readdirSync('.' + baseDir);
for (var i in files) {
var file = files[i];
if(path.extname(file) === ".test.json") {
var name = file.split('.test.json')[0];
suite.setUrl(baseDir + '/' + name)
.before(function(actions) {
actions.wait(1000);
})
.setCaptureElements('#timeline')
.capture(name);
}
}
/*
suite.setUrl('/test/gemini/tests/dynamic/noOptions')
.before(function(actions) {
actions.wait(1000);
})
.setCaptureElements('#timeline')
.capture('noOptions');
*/
});