pull/3321/head^2
Joseph Izang 2 years ago committed by Aniket
parent fccb420322
commit ebe0efbc24
  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