Send keyboard inputs to ensure onChange event is triggered.

pull/5370/head
David Disu 2 years ago committed by Aniket
parent 1b7cf41505
commit 40e6a745a8
  1. 4
      apps/remix-ide-e2e/src/tests/workspace_git.test.ts

@ -195,8 +195,8 @@ module.exports = {
browser
.waitForElementVisible('[data-id="custom-dropdown-menu"]')
.waitForElementPresent('[data-id="workspaceGitInput"]')
.doubleClick('[data-id="workspaceGitInput"]')
.sendKeys('[data-id="workspaceGitInput"]', browser.Keys.BACK_SPACE)
.clearValue('[data-id="workspaceGitInput"]')
.sendKeys('[data-id="workspaceGitInput"]', [browser.Keys.SPACE, browser.Keys.BACK_SPACE])
.waitForElementPresent('[data-id="workspaceGit-main"]')
.click('[data-id="workspaceGit-main"]')
.pause(2000)

Loading…
Cancel
Save