From 95c2c2bea6033c2be00313b67fdaa679772269da 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 () {