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 () {