update sol test

pull/5370/head
filip mertens 2 years ago committed by Aniket
parent f5e5700d0c
commit 4e3bceb1d3
  1. 4
      apps/remix-ide-e2e/src/tests/solidityUnittests.test.ts

@ -178,9 +178,9 @@ module.exports = {
.click('*[data-id="workspaceCreate"]')
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]')
// eslint-disable-next-line dot-notation
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_new' })
.setValue('*[data-id="modalDialogCustomPromptTextCreate"]', 'workspace_new')
.waitForElementVisible('*[data-id="fileSystem-modal-footer-ok-react"]')
.execute(function () { (document.querySelector('[data-id="fileSystem-modal-footer-ok-react"]') as HTMLElement).click() })
.click('*[data-id="fileSystem-modal-footer-ok-react"]')
.currentWorkspaceIs('workspace_new')
.waitForElementVisible('li[data-id="treeViewLitreeViewItem.deps/remix-tests/remix_tests.sol"]')
.waitForElementVisible('li[data-id="treeViewLitreeViewItem.deps/remix-tests/remix_accounts.sol"]')

Loading…
Cancel
Save