corrected invalid selector in solidityUnitTests

pull/5370/head
davidzagi93@gmail.com 3 years ago
parent 66846efab8
commit 3973c8960f
  1. 5
      apps/remix-ide-e2e/src/tests/solidityUnittests.spec.ts

@ -158,10 +158,9 @@ module.exports = {
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') .waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]')
// eslint-disable-next-line dot-notation // eslint-disable-next-line dot-notation
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_new' }) .execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_new' })
.waitForElementPresent('*[data-id="workspacesModalDialogModalDialogModalFooter-react"] .modal-ok')
.pause(5000) .pause(5000)
.waitForElementPresent('div*[data-id="workspacesModalDialogModalDialogModalFooter-react"] .modal-ok') .waitForElementPresent('*[data-id="workspacesModalDialogModalDialogModalFooter-react"] .modal-ok')
.click('div*[data-id="workspacesModalDialogModalDialogModalFooter-react"] .modal-ok') .click('*[data-id="workspacesModalDialogModalDialogModalFooter-react"] .modal-ok')
.click('*[data-id="workspacesSelect"] option[value="workspace_new"]') .click('*[data-id="workspacesSelect"] option[value="workspace_new"]')
// end of creating // end of creating
.clickLaunchIcon('solidityUnitTesting') .clickLaunchIcon('solidityUnitTesting')

Loading…
Cancel
Save