|
|
|
@ -221,7 +221,7 @@ module.exports = { |
|
|
|
|
await clickAndCheckLog(browser, 'fileManager:readdir', 'testdir', null, '/') |
|
|
|
|
}, |
|
|
|
|
'Should get file #group7': async function (browser: NightwatchBrowser) { |
|
|
|
|
await clickAndCheckLog(browser, 'fileManager:getFile', 'REMIX EXAMPLE PROJECT', null, 'README.txt') |
|
|
|
|
await clickAndCheckLog(browser, 'fileManager:getFile', 'REMIX DEFAULT WORKSPACE', null, 'README.txt') |
|
|
|
|
}, |
|
|
|
|
'Should close all files #group7': async function (browser: NightwatchBrowser) { |
|
|
|
|
await clickAndCheckLog(browser, 'fileManager:closeAllFiles', null, { event: 'noFileSelected', args: [] }, null) |
|
|
|
@ -293,7 +293,7 @@ module.exports = { |
|
|
|
|
await clickAndCheckLog(browser, 'dGitProvider:add', null, null, { |
|
|
|
|
filepath: 'contracts/1_Storage.sol' |
|
|
|
|
}) |
|
|
|
|
await clickAndCheckLog(browser, 'dGitProvider:status', [['README.txt', 0, 2, 0], ['contracts/1_Storage.sol', 0, 2, 2], ['contracts/2_Owner.sol', 0, 2, 0], ['contracts/3_Ballot.sol', 0, 2, 0], ['scripts/deploy_ethers.js', 0, 2, 0], ['scripts/deploy_web3.js', 0, 2, 0], ['tests/4_Ballot_test.sol', 0, 2, 0]], null, null) |
|
|
|
|
await clickAndCheckLog(browser, 'dGitProvider:status', [['README.txt', 0, 2, 0], ['contracts/1_Storage.sol', 0, 2, 2], ['contracts/2_Owner.sol', 0, 2, 0], ['contracts/3_Ballot.sol', 0, 2, 0], ['scripts/deploy_ethers.js', 0, 2, 0], ['scripts/deploy_web3.js', 0, 2, 0], ['scripts/storage.test.js', 0, 2, 0], ['tests/4_Ballot_test.sol', 0, 2, 0]], null, null) |
|
|
|
|
}, |
|
|
|
|
'Should commit changes #group3': async function (browser: NightwatchBrowser) { |
|
|
|
|
await clickAndCheckLog(browser, 'dGitProvider:commit', null, null, { author: { name: 'Remix', email: 'Remix' }, message: 'commit-message' }) |
|
|
|
|