Commit 614f1683 authored by yann300's avatar yann300

add e2e tests

parent 996f3edb
...@@ -27,6 +27,11 @@ module.exports = { ...@@ -27,6 +27,11 @@ module.exports = {
.pause(3000) .pause(3000)
.click('*[data-id="verticalIconsKindfileExplorers"]') .click('*[data-id="verticalIconsKindfileExplorers"]')
.openFile('browser/artifacts/Ballot.json') .openFile('browser/artifacts/Ballot.json')
.openFile('browser/artifacts/Ballot_metadata.json')
.getEditorValue((content) => {
const metadata = JSON.parse(content)
browser.assert.equal(metadata.language, 'Solidity')
})
}, },
'Should add new github access token': function (browser: NightwatchBrowser) { 'Should add new github access token': function (browser: NightwatchBrowser) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment