From 8801ace24721f559ca9e1f0eb608dca55c28432c Mon Sep 17 00:00:00 2001 From: Kazuhito Yokoi Date: Tue, 14 Jan 2020 16:56:39 +0900 Subject: [PATCH] Remain .payload in debug node property --- test/editor/pageobjects/nodes/core/common/21-debug_page.js | 5 +---- test/editor/specs/scenario/cookbook_uispec.js | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) 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);