From 487b87fceedd6a13b50d344dcf96b3d04468d8ca Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Thu, 14 Jan 2021 11:15:19 +0100 Subject: [PATCH] open dynamic path --- apps/remix-ide-e2e/src/commands/addFile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide-e2e/src/commands/addFile.ts b/apps/remix-ide-e2e/src/commands/addFile.ts index 597f106a31..e3d8821a3c 100644 --- a/apps/remix-ide-e2e/src/commands/addFile.ts +++ b/apps/remix-ide-e2e/src/commands/addFile.ts @@ -18,7 +18,7 @@ function addFile (browser: NightwatchBrowser, name: string, content: NightwatchC .pause(2000) .keys(name) .keys(browser.Keys.ENTER) - .openFile('browser/Greet.sol') + .openFile('browser/' + name) .setEditorValue(content.content) .pause(1000) .perform(function () {