|
|
@ -79,8 +79,7 @@ module.exports = { |
|
|
|
.assert.elementPresent('*[data-id="treeViewLitreeViewItemtests/storage.test.js"]') |
|
|
|
.assert.elementPresent('*[data-id="treeViewLitreeViewItemtests/storage.test.js"]') |
|
|
|
.click('*[data-id="treeViewLitreeViewItemtests/storage.test.js"]') |
|
|
|
.click('*[data-id="treeViewLitreeViewItemtests/storage.test.js"]') |
|
|
|
.getEditorValue((content) => { |
|
|
|
.getEditorValue((content) => { |
|
|
|
browser.assert.ok(content.indexOf(`const { expect } = require("chai");
|
|
|
|
browser.assert.ok(content.indexOf(`const { expect } = require("chai");`) !== -1, |
|
|
|
const { ethers } = require("hardhat");`) !== -1,
|
|
|
|
|
|
|
|
'Incorrect content') |
|
|
|
'Incorrect content') |
|
|
|
}) |
|
|
|
}) |
|
|
|
.assert.elementPresent('*[data-id="treeViewLitreeViewItemtests/Ballot_test.sol"]') |
|
|
|
.assert.elementPresent('*[data-id="treeViewLitreeViewItemtests/Ballot_test.sol"]') |
|
|
|