pull/5370/head
Joseph Izang 2 years ago committed by Aniket
parent b8184b86ee
commit ff135480df
  1. 9
      apps/remix-ide-e2e/src/commands/clickLaunchIcon.ts

@ -3,14 +3,9 @@ import EventEmitter from 'events'
class ClickLaunchIcon extends EventEmitter {
command (this: NightwatchBrowser, icon: string): NightwatchBrowser {
console.log(icon)
this.api
.useXpath()
.assert.visible(`//*[@id="verticalIconsKind${icon}"]`)
// .waitForElementVisible('#icon-panel div[plugin="' + icon + '"]')
.click(`//*[@id="verticalIconsKind${icon}"]`)
.useCss()
// .click('#icon-panel div[plugin="' + icon + '"]')
.waitForElementVisible('#icon-panel div[plugin="' + icon + '"]')
.click('#icon-panel div[plugin="' + icon + '"]')
.perform((done) => {
done()
this.emit('complete')

Loading…
Cancel
Save