pull/5260/head
lianahus 1 month ago committed by Aniket
parent 0789166d9f
commit 7c845ce227
  1. 4
      apps/remix-ide-e2e/src/tests/workspace.test.ts

@ -118,10 +118,10 @@ module.exports = {
.scrollAndClick('*[data-id="modalDialogCustomPromptTextCreate"]') .scrollAndClick('*[data-id="modalDialogCustomPromptTextCreate"]')
.setValue('*[data-id="modalDialogCustomPromptTextCreate"]', 'workspace_blank') .setValue('*[data-id="modalDialogCustomPromptTextCreate"]', 'workspace_blank')
// eslint-disable-next-line dot-notation // eslint-disable-next-line dot-notation
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_blank' }) .execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'my_workspace' })
.modalFooterOKClick('TemplatesSelection') .modalFooterOKClick('TemplatesSelection')
.pause(100) .pause(100)
.currentWorkspaceIs('workspace_name') .currentWorkspaceIs('my_workspace')
.waitForElementPresent('*[data-id="treeViewUltreeViewMenu"]') .waitForElementPresent('*[data-id="treeViewUltreeViewMenu"]')
.waitForElementVisible('*[data-id="treeViewLitreeViewItem.prettierrc.json"]') .waitForElementVisible('*[data-id="treeViewLitreeViewItem.prettierrc.json"]')
.execute(function () { .execute(function () {

Loading…
Cancel
Save