From 0fc60013f50c8b64e148ebf560da77642f66e863 Mon Sep 17 00:00:00 2001 From: lianahus Date: Wed, 18 May 2022 13:57:37 +0200 Subject: [PATCH] fixed e2e --- apps/remix-ide-e2e/src/tests/plugin_api.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/plugin_api.ts b/apps/remix-ide-e2e/src/tests/plugin_api.ts index 1e65a93adc..792413d057 100644 --- a/apps/remix-ide-e2e/src/tests/plugin_api.ts +++ b/apps/remix-ide-e2e/src/tests/plugin_api.ts @@ -234,8 +234,8 @@ module.exports = { contracts: { isDirectory: true }, scripts: { isDirectory: true }, tests: { isDirectory: true }, - 'README.txt': { isDirectory: false }, - 'compiler_config.json': { isDirectory: false } + 'compiler_config.json': { isDirectory: false }, + 'README.txt': { isDirectory: false } }, null, '/') }, 'Should throw error on current file #group7': async function (browser: NightwatchBrowser) { @@ -293,7 +293,7 @@ module.exports = { 'Should create workspace #group2': async function (browser: NightwatchBrowser) { await clickAndCheckLog(browser, 'filePanel:createWorkspace', null, null, 'testspace') await clickAndCheckLog(browser, 'filePanel:getCurrentWorkspace', { name: 'testspace', isLocalhost: false, absolutePath: '.workspaces/testspace' }, null, null) - await clickAndCheckLog(browser, 'fileManager:readdir', { contracts: { isDirectory: true }, scripts: { isDirectory: true }, tests: { isDirectory: true }, 'README.txt': { isDirectory: false } }, null, null) + await clickAndCheckLog(browser, 'fileManager:readdir', { contracts: { isDirectory: true }, scripts: { isDirectory: true }, tests: { isDirectory: true }, 'compiler_config.json': { isDirectory: false }, 'README.txt': { isDirectory: false } }, null, null) }, 'Should get all workspaces #group2': async function (browser: NightwatchBrowser) { await clickAndCheckLog(browser, 'filePanel:getWorkspaces', ['default_workspace', 'emptyworkspace', 'testspace'], null, null)