1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Remain .payload in debug node property

This commit is contained in:
Kazuhito Yokoi 2020-01-14 16:56:39 +09:00
parent faf46e4447
commit 8801ace247
2 changed files with 2 additions and 5 deletions

View File

@ -33,9 +33,6 @@ debugNode.prototype.setOutput = function(complete) {
// Select the "msg" type. // Select the "msg" type.
browser.clickWithWait('//div[contains(@class, "red-ui-typedInput-options")][1]/a[1]'); browser.clickWithWait('//div[contains(@class, "red-ui-typedInput-options")][1]/a[1]');
// Input the path in msg. // 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); browser.setValue('//*[contains(@class, "red-ui-typedInput-input")]/input', complete);
} else { } else {
// Select the "complete msg object" type. // Select the "complete msg object" type.

View File

@ -331,7 +331,7 @@ describe('cookbook', function() {
httpRequetNode.clickOk(); httpRequetNode.clickOk();
debugNode.edit(); debugNode.edit();
debugNode.setOutput("payload.title"); debugNode.setOutput(".title");
debugNode.clickOk(); debugNode.clickOk();
injectNode.connect(changeNodeSetPost); injectNode.connect(changeNodeSetPost);