From a306c64bf0de5ffbf43ac91574cd5dda799c519f Mon Sep 17 00:00:00 2001 From: ninabreznik Date: Thu, 22 Feb 2018 15:35:22 +0000 Subject: [PATCH] Update contract1.sol --- contracts/folder1/contract1.sol | 2 +- test-browser/tests/sharedFolderExplorer.js | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/contracts/folder1/contract1.sol b/contracts/folder1/contract1.sol index 3c3725d0b6..67ac75a6b9 100644 --- a/contracts/folder1/contract1.sol +++ b/contracts/folder1/contract1.sol @@ -1 +1 @@ -contract test1 { function get () returns (uint) { return 8; }} +contract test1 { function get () returns (uint) { return 10; }} diff --git a/test-browser/tests/sharedFolderExplorer.js b/test-browser/tests/sharedFolderExplorer.js index 711359d59c..8b5aae3771 100644 --- a/test-browser/tests/sharedFolderExplorer.js +++ b/test-browser/tests/sharedFolderExplorer.js @@ -20,6 +20,7 @@ contract gmbh { } } ` + var sources = [ { 'localhost/folder1/contract2.sol': {content: 'contract test2 { function get () returns (uint) { return 11; }}'} @@ -78,25 +79,25 @@ function runTests (browser, testData) { .click('[data-path="localhost/folder1/contract1.sol"]') // open localhost/folder1/contract1.sol .pause(1000) .perform(function (done) { // check the content and replace by another - browser.testEditorValue('contract test1 { function get () returns (uint) { return 10; }}', () => { + browser.testEditorValue('contract test1 { function get () returns (uint) { return 10; }}\n', () => { console.log('testEditorValue') done() }) }) .perform(function (done) { - browser.setEditorValue('contract test1Changed { function get () returns (uint) { return 10; }}', () => { + browser.setEditorValue('contract test1Changed { function get () returns (uint) { return 10; }}\n', () => { console.log('setEditorValue') done() }) }) .perform(function (done) { - browser.testEditorValue('contract test1Changed { function get () returns (uint) { return 10; }}', () => { + browser.testEditorValue('contract test1Changed { function get () returns (uint) { return 10; }}\n', () => { console.log('testEditorValue') done() }) }) .perform(function (done) { - browser.setEditorValue('contract test1 { function get () returns (uint) { return 10; }}', () => { + browser.setEditorValue('contract test1 { function get () returns (uint) { return 10; }}\n', () => { console.log('setEditorValue') done() })