diff --git a/apps/remix-ide-e2e/src/tests/workspace_git.test.ts b/apps/remix-ide-e2e/src/tests/workspace_git.test.ts index 4335c356c0..8840cedd77 100644 --- a/apps/remix-ide-e2e/src/tests/workspace_git.test.ts +++ b/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)