Send keyboard inputs to ensure onChange event is triggered.

pull/2984/head
David Disu 2 years ago committed by Aniket
parent 5ad2bc7e81
commit 31c0367db8
  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