pull/1754/head
bunsenstraat 3 years ago
parent 070389b8ba
commit cbe1581b6a
  1. 2
      .circleci/config.yml
  2. 16
      apps/remix-ide-e2e/src/tests/plugin_api.ts

@ -179,7 +179,7 @@ jobs:
- COMMIT_AUTHOR: "Circle CI"
- FILES_TO_PACKAGE: "dist/apps/remix-ide/assets dist/apps/remix-ide/index.html dist/apps/remix-ide/main.js dist/apps/remix-ide/polyfills.js dist/apps/remix-ide/runtime.js dist/apps/remix-ide/vendor.js dist/apps/remix-ide/favicon.ico"
working_directory: ~/remix-project
parallelism: 6
parallelism: 7
steps:
- browser-tools/install-chrome
- browser-tools/install-chromedriver

@ -180,30 +180,30 @@ module.exports = {
// FILESYSTEM
'Should get current workspace #group2': async function (browser: NightwatchBrowser) {
'Should get current workspace #group7': async function (browser: NightwatchBrowser) {
await clickAndCheckLog(browser, 'filePanel:getCurrentWorkspace', { name: 'default_workspace', isLocalhost: false, absolutePath: '.workspaces/default_workspace' }, null, null)
},
'Should get current files #group2': async function (browser: NightwatchBrowser) {
'Should get current files #group7': async function (browser: NightwatchBrowser) {
await clickAndCheckLog(browser, 'fileManager:readdir', { contracts: { isDirectory: true }, scripts: { isDirectory: true }, tests: { isDirectory: true }, 'README.txt': { isDirectory: false } }, null, '/')
},
'Should throw error on current file #group2': async function (browser: NightwatchBrowser) {
'Should throw error on current file #group7': async function (browser: NightwatchBrowser) {
await clickAndCheckLog(browser, 'fileManager:getCurrentFile', 'Error from IDE : Error: No such file or directory No file selected', null, null)
},
'Should open readme.txt #group2': async function (browser: NightwatchBrowser) {
'Should open readme.txt #group7': async function (browser: NightwatchBrowser) {
await clickAndCheckLog(browser, 'fileManager:open', null, { event: 'currentFileChanged', args: ['README.txt'] }, 'README.txt')
},
'Should have current file #group2': async function (browser: NightwatchBrowser) {
'Should have current file #group7': async function (browser: NightwatchBrowser) {
await clickAndCheckLog(browser, 'fileManager:getCurrentFile', 'README.txt', null, null)
},
'Should create dir #group2': async function (browser: NightwatchBrowser) {
'Should create dir #group7': async function (browser: NightwatchBrowser) {
await clickAndCheckLog(browser, 'fileManager:mkdir', null, null, 'testdir')
await clickAndCheckLog(browser, 'fileManager:readdir', 'testdir', null, '/')
},
'Should get file #group2': async function (browser: NightwatchBrowser) {
'Should get file #group7': async function (browser: NightwatchBrowser) {
await clickAndCheckLog(browser, 'fileManager:getFile', 'REMIX EXAMPLE PROJECT', null, 'README.txt')
},
'Should close all files #group2': async function (browser: NightwatchBrowser) {
'Should close all files #group7': async function (browser: NightwatchBrowser) {
await clickAndCheckLog(browser, 'fileManager:closeAllFiles', null, { event: 'noFileSelected', args: [] }, null)
},

Loading…
Cancel
Save