pull/5370/head
yann300 1 year ago committed by Aniket
parent 1b5c4070ed
commit 4048577b98
  1. 2
      apps/remix-ide-e2e/src/commands/waitForElementNotContainsText.ts
  2. 2
      apps/remix-ide-e2e/src/tests/terminal.test.ts

@ -19,7 +19,7 @@ class WaitForElementNotContainsText extends EventEmitter {
waitId = setTimeout(() => { waitId = setTimeout(() => {
clearInterval(runid) clearInterval(runid)
this.api.assert.fail(`TimeoutError: An error occurred while running .waitForElementContainsText() command on ${id} after ${timeout} milliseconds. expected: ${value} - got: ${currentValue}`) this.api.assert.ok(true, `"${value}" wasn't found.`)
}, timeout) }, timeout)
return this return this
} }

@ -357,7 +357,7 @@ module.exports = {
.useCss() .useCss()
.waitForElementContainsText('*[data-id="terminalJournal"]', 'test running free function', 120000) .waitForElementContainsText('*[data-id="terminalJournal"]', 'test running free function', 120000)
.WaitForElementNotContainsText('*[data-id="terminalJournal"]', `test running free function .WaitForElementNotContainsText('*[data-id="terminalJournal"]', `test running free function
test running free function`) test running free function`, 2000)
} }
} }

Loading…
Cancel
Save