Automatically adjust node deployment

This commit is contained in:
nakanishi
2018-10-23 14:01:23 +09:00
committed by Yuma Matsuura
parent 4a081bf125
commit c2aa9a5337
5 changed files with 165 additions and 139 deletions

View File

@@ -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();