Skip to content

Commit 25ebec0

Browse files
committed
Update plugin api test
1 parent 11df8e8 commit 25ebec0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/remix-ide-e2e/src/tests/plugin_api.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ module.exports = {
240240
contracts: { isDirectory: true },
241241
scripts: { isDirectory: true },
242242
tests: { isDirectory: true },
243-
'remix.config.json': { isDirectory: false },
244243
'README.txt': { isDirectory: false },
245244
'.prettierrc.json': { isDirectory: false },
245+
'remix.config.json': { isDirectory: false }
246246
}, null, '/')
247247
},
248248
'Should throw error on current file #group7': async function (browser: NightwatchBrowser) {
@@ -331,14 +331,14 @@ module.exports = {
331331
// DGIT
332332
'Should have changes on new workspace #group3': async function (browser: NightwatchBrowser) {
333333
await clickAndCheckLog(browser, 'filePanel-createWorkspace', null, null, 'dgit')
334-
await clickAndCheckLog(browser, 'dgitApi-status', [[".prettierrc.json",0,2,0], ["README.txt",0,2,0],["remix.config.json",0,2,0],["contracts/1_Storage.sol",0,2,0],["contracts/2_Owner.sol",0,2,0],["contracts/3_Ballot.sol",0,2,0],["scripts/deploy_with_ethers.ts",0,2,0],["scripts/deploy_with_web3.ts",0,2,0],["scripts/ethers-lib.ts",0,2,0],["scripts/web3-lib.ts",0,2,0],["tests/Ballot_test.sol",0,2,0],["tests/storage.test.js",0,2,0]], null, null)
334+
await clickAndCheckLog(browser, 'dgitApi-status', [[".prettierrc.json",0,2,0], ["README.txt",0,2,0],["contracts/1_Storage.sol",0,2,0],["contracts/2_Owner.sol",0,2,0],["contracts/3_Ballot.sol",0,2,0],["remix.config.json",0,2,0],["scripts/deploy_with_ethers.ts",0,2,0],["scripts/deploy_with_web3.ts",0,2,0],["scripts/ethers-lib.ts",0,2,0],["scripts/web3-lib.ts",0,2,0],["tests/Ballot_test.sol",0,2,0],["tests/storage.test.js",0,2,0]], null, null)
335335
},
336336

337337
'Should stage contract #group3': async function (browser: NightwatchBrowser) {
338338
await clickAndCheckLog(browser, 'dgitApi-add', null, null, {
339339
filepath: 'contracts/1_Storage.sol'
340340
})
341-
await clickAndCheckLog(browser, 'dgitApi-status', [[".prettierrc.json",0,2,0],["README.txt",0,2,0],["remix.config.json",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_with_ethers.ts",0,2,0],["scripts/deploy_with_web3.ts",0,2,0],["scripts/ethers-lib.ts",0,2,0],["scripts/web3-lib.ts",0,2,0],["tests/Ballot_test.sol",0,2,0],["tests/storage.test.js",0,2,0]], null, null)
341+
await clickAndCheckLog(browser, 'dgitApi-status', [[".prettierrc.json",0,2,0],["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],["remix.config.json",0,2,0],["scripts/deploy_with_ethers.ts",0,2,0],["scripts/deploy_with_web3.ts",0,2,0],["scripts/ethers-lib.ts",0,2,0],["scripts/web3-lib.ts",0,2,0],["tests/Ballot_test.sol",0,2,0],["tests/storage.test.js",0,2,0]], null, null)
342342
},
343343
'Should commit changes #group3': async function (browser: NightwatchBrowser) {
344344
await clickAndCheckLog(browser, 'dgitApi-commit', null, null, { author: { name: 'Remix', email: 'Remix' }, message: 'commit-message' })

0 commit comments

Comments
 (0)