mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Automatically adjust node deployment
This commit is contained in:
@@ -22,11 +22,10 @@ var helper = require("../../editor_helper");
|
||||
var debugTab = require('../../pageobjects/editor/debugTab_page');
|
||||
var workspace = require('../../pageobjects/editor/workspace_page');
|
||||
|
||||
var nodeWidth = 200;
|
||||
|
||||
describe('Workspace', function() {
|
||||
beforeEach(function() {
|
||||
workspace.deleteAllNodes();
|
||||
workspace.init();
|
||||
});
|
||||
|
||||
before(function() {
|
||||
@@ -43,7 +42,7 @@ describe('Workspace', function() {
|
||||
|
||||
it('should output a timestamp', function() {
|
||||
var injectNode = workspace.addNode("inject");
|
||||
var debugNode = workspace.addNode("debug", nodeWidth);
|
||||
var debugNode = workspace.addNode("debug");
|
||||
injectNode.connect(debugNode);
|
||||
|
||||
workspace.deploy();
|
||||
|
Reference in New Issue
Block a user