content fix in e2e

pull/3484/head
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"]') .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"]')

Loading…
Cancel
Save