From b0891df9d940ea8a03f5172aa303ac9d62b89db4 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Mon, 6 Apr 2020 03:23:20 +0000 Subject: [PATCH] Added folder and file to publish to gist test --- test-browser/tests/gist.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test-browser/tests/gist.js b/test-browser/tests/gist.js index 1cc94bad0b..a91ed02537 100644 --- a/test-browser/tests/gist.js +++ b/test-browser/tests/gist.js @@ -24,6 +24,13 @@ module.exports = { browser .waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000) .clickLaunchIcon('fileExplorers') + .rightClick('[data-path="browser/1_Storage.sol"]') + .click('*[id="menuitemcreate folder"]') + .waitForElementVisible('*[data-id="modalDialogContainer"]') + .setValue('*[data-id="modalDialogCustomPromptText"]', 'Browser_Tests') + .modalFooterOKClick() + .waitForElementVisible('*[data-id="treeViewLibrowser/Browser_Tests"]') + .addFile('File.sol', { content: '' }) .click('*[data-id="fileExplorerNewFilepublishToGist"]') .modalFooterOKClick() .getModalBody((value, done) => {