content fix in e2e

0xerc20
Aniket-Engg 3 years ago
parent 8eac3af5fd
commit a08321ddf8
  1. 3
      apps/remix-ide-e2e/src/tests/workspace.test.ts

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

Loading…
Cancel
Save