diff --git a/test/editor/pageobjects/nodes/core/common/21-debug_page.js b/test/editor/pageobjects/nodes/core/common/21-debug_page.js index 52cb60f44..602d4d542 100644 --- a/test/editor/pageobjects/nodes/core/common/21-debug_page.js +++ b/test/editor/pageobjects/nodes/core/common/21-debug_page.js @@ -26,16 +26,13 @@ function debugNode(id) { util.inherits(debugNode, nodePage); -debugNode.prototype.setOutput = function(complete) { +debugNode.prototype.setOutput = function (complete) { // Open a payload type list. browser.clickWithWait('//*[contains(@class, "red-ui-typedInput-container")]/button'); if (complete !== 'true') { // Select the "msg" type. browser.clickWithWait('//div[contains(@class, "red-ui-typedInput-options")][1]/a[1]'); // Input the path in msg. - browser.clickWithWait('//*[contains(@class, "red-ui-typedInput-input")]/input'); - browser.keys(keyPage.selectAll()); - browser.keys(['Delete']); browser.setValue('//*[contains(@class, "red-ui-typedInput-input")]/input', complete); } else { // Select the "complete msg object" type. diff --git a/test/editor/specs/scenario/cookbook_uispec.js b/test/editor/specs/scenario/cookbook_uispec.js index 8619ddb0d..6e16ca8a7 100644 --- a/test/editor/specs/scenario/cookbook_uispec.js +++ b/test/editor/specs/scenario/cookbook_uispec.js @@ -331,7 +331,7 @@ describe('cookbook', function() { httpRequetNode.clickOk(); debugNode.edit(); - debugNode.setOutput("payload.title"); + debugNode.setOutput(".title"); debugNode.clickOk(); injectNode.connect(changeNodeSetPost);