pull/4837/head
bunsenstraat 8 months ago
parent b4ee919b66
commit 201221121a
  1. 2
      apps/remixdesktop/src/plugins/templates.ts
  2. 2
      apps/remixdesktop/test/tests/app/gist.test.ts

@ -54,7 +54,7 @@ class TemplatesPluginClient extends ElectronBasePluginClient {
await fs.mkdir(path.dirname(folder + file), { recursive: true })
if (typeof files[file] !== 'string' && files[file].content) {
await fs.writeFile(folder + files[file].filename, files[file].content, {
await fs.writeFile(folder + file, files[file].content, {
encoding: 'utf8',
})
} else {

@ -22,6 +22,8 @@ module.exports = {
browser.switchWindow(result.value[1])
.waitForElementVisible('*[data-id="treeViewDivtreeViewItemREADME.txt"]')
})
.click('[data-id="treeViewLitreeViewItemcontracts"]')
.openFile('contracts/3_Ballot.sol')
.end()
}
}
Loading…
Cancel
Save