Add icon for vyper and other smart contracts

pull/906/head
ioedeveloper 4 years ago
parent 21f0f673d2
commit 7dee925e9b
  1. 4
      apps/remix-ide-e2e/src/tests/recorder.test.ts
  2. 3
      apps/remix-ide/src/lib/helper.js

@ -14,7 +14,9 @@ module.exports = {
'Test Recorder': function (browser: NightwatchBrowser) { 'Test Recorder': function (browser: NightwatchBrowser) {
let addressRef let addressRef
browser.addFile('scenario.json', { content: records }) browser
.pause(50000)
.addFile('scenario.json', { content: records })
.pause(5000) .pause(5000)
.clickLaunchIcon('udapp') .clickLaunchIcon('udapp')
.selectAccount('0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c') // this account will be used for this test suite .selectAccount('0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c') // this account will be used for this test suite

@ -76,7 +76,8 @@ module.exports = {
? 'fak fa-solidity-mono' : path.endsWith('.js') ? 'fak fa-solidity-mono' : path.endsWith('.js')
? 'fab fa-js' : path.endsWith('.json') ? 'fab fa-js' : path.endsWith('.json')
? 'fas fa-brackets-curly' : path.endsWith('.vy') ? 'fas fa-brackets-curly' : path.endsWith('.vy')
? 'fab fa-vine' : 'far fa-file' ? 'fak fa-vyper-mono' : path.endsWith('.lex') || path.endsWith('.contract')
? 'fab fa-ethereum' : 'far fa-file'
} }
} }

Loading…
Cancel
Save