siesta-lite
Version:
Stress-free JavaScript unit testing and functional testing tool, works in NodeJS and browsers
36 lines (25 loc) • 749 B
JavaScript
var project = new Siesta.Project.Browser.ExtJS()
project.configure({
title : 'Doc-image-gen',
forceDOMVisible : true,
separateContext : true,
runCore : 'sequential',
testClass : Test.ScreenShots,
pageUrl : '../../../examples/sencha-extjs/index.html',
viewportWidth : 800,
viewportHeight : 600,
recorderConfig : {
uniqueComponentProperty : [ 'action', 'actionName' ]
}
});
project.start(
{
group : 'Screenshots',
items : [
'tests/welcome.png.t.js',
'tests/getting-started.t.js',
'tests/event-recorder.t.js',
'tests/testing-cmd.t.js'
]
}
);