pull/4837/head
bunsenstraat 8 months ago
parent ca66f34cf9
commit 9065767723
  1. 14
      apps/remixdesktop/test/tests/app/xterm.test.ts

@ -65,15 +65,21 @@ const tests = {
},
'list files': function (browser: NightwatchBrowser) {
browser
.perform(function () {
const actions = this.actions({async: true})
return actions.sendKeys('ls').sendKeys(this.Keys.ENTER)
})
.pause(2000)
.waitForElementVisible({
selector: "//*[@data-type='remixUIXT' and @data-active='1']",
timeout: 10000,
locateStrategy: 'xpath',
})
.click({
selector: "//*[@data-type='remixUIXT' and @data-active='1']",
timeout: 10000,
locateStrategy: 'xpath',
})
.perform(function () {
const actions = this.actions({async: true})
return actions.sendKeys('ls').sendKeys(this.Keys.ENTER)
})
.getText(
{
selector: "//*[@data-type='remixUIXT' and @data-active='1']",

Loading…
Cancel
Save