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 990ed6cd9..3cec19985 100644 --- a/test/editor/pageobjects/nodes/core/common/21-debug_page.js +++ b/test/editor/pageobjects/nodes/core/common/21-debug_page.js @@ -29,11 +29,11 @@ debugNode.prototype.setOutput = function (complete) { 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]'); + browser.clickWithWait('//div[contains(@class, "red-ui-typedInput-options")][2]/a[1]'); // Input the path in msg. browser.clickWithWait('//*[contains(@class, "red-ui-typedInput-input")]/input'); browser.keys(Array('payload'.length).fill('Backspace')); - browser.setValue('//*[contains(@class, "red-ui-typedInput-input")]/input', complete); + browser.setValue('//*[@id="dialog-form"]/div[1]/div/div[1]/input', complete); } else { // Select the "complete msg object" type. browser.clickWithWait('/html/body/div[11]/a[2]'); diff --git a/test/editor/specs/scenario/cookbook_dataformats_uispec.js b/test/editor/specs/scenario/cookbook_dataformats_uispec.js index 052481e91..8321bd924 100644 --- a/test/editor/specs/scenario/cookbook_dataformats_uispec.js +++ b/test/editor/specs/scenario/cookbook_dataformats_uispec.js @@ -267,7 +267,7 @@ describe('cookbook', function () { debugTab.getMessage().should.match(/^"([1-9]?[0-9],){2}[1-9]?[0-9]↵"$/); debugTab.clearMessage(); injectNode2.clickLeftButton(); - debugTab.getMessage().should.match(/^"a,b,c↵(([1-9]?[0-9],){2}[1-9]?[0-9]↵){4}"$/); + debugTab.getMessage().should.match(/^"(([1-9]?[0-9],){2}[1-9]?[0-9]↵){4}"$/); }); it('parse CSV input', function () {