pull/4998/head
yann300 5 months ago
parent dfed73e4b6
commit 2481fa33a8
  1. 3
      apps/remix-ide-e2e/src/tests/url.test.ts

@ -342,9 +342,10 @@ module.exports = {
browser browser
.url('http://127.0.0.1:8080/#ghfolder=https://github.com/ethereum/remix-project/tree/master/apps/remix-ide/contracts/hardhat') .url('http://127.0.0.1:8080/#ghfolder=https://github.com/ethereum/remix-project/tree/master/apps/remix-ide/contracts/hardhat')
.refreshPage() .refreshPage()
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts"]', 40000)
.currentWorkspaceIs('code-sample') .currentWorkspaceIs('code-sample')
.openFile('contracts') .openFile('contracts')
.openFile('Lock.sol') .openFile('contracts/Lock.sol')
.getEditorValue((content) => { .getEditorValue((content) => {
browser.assert.ok(content.indexOf('contract Lock {') !== -1, 'content does contain "contract Lock {"') browser.assert.ok(content.indexOf('contract Lock {') !== -1, 'content does contain "contract Lock {"')
}) })

Loading…
Cancel
Save