Fix casper smoke test
parent
3dae1bcbaf
commit
fb92c5a3db
|
@ -1,5 +1,10 @@
|
|||
var util = require('../util/test_util.js');
|
||||
|
||||
casper.options.viewportSize = {width: 1024, height: 768}
|
||||
casper.options.onError = function() {
|
||||
casper.capture("error_screenshot.png");
|
||||
};
|
||||
|
||||
casper.test.begin('Freeboard smoke test', function testFunction(test)
|
||||
{
|
||||
casper.start(util.FREEBOARD_URL, function()
|
||||
|
|
|
@ -25,7 +25,7 @@ var SELECTORS = {
|
|||
autofillDatasource : '#modal_overlay #setting-value-container-value li i.icon-plus',
|
||||
autofillMenu : '#modal_overlay #value-selector',
|
||||
autofillMenuItem : '#modal_overlay #value-selector li:nth-child(%s)',
|
||||
singlePaneTextWidget : '#board-content li section div.text-widget-regular-value',
|
||||
singlePaneTextWidget : '#board-content li section div.tw-value',
|
||||
trashWidget : '#board-content li section i.icon-trash',
|
||||
trashPane : '#board-content li header i.icon-trash',
|
||||
trashDatasource : '#datasources table#datasources-list i.icon-trash'
|
||||
|
|
Loading…
Reference in New Issue