fix checkterminal

pull/5370/head
filip mertens 2 years ago
parent 6971e94b46
commit b6ac0d93d9
  1. 2
      apps/remix-ide-e2e/src/commands/checkTerminalFilter.ts

@ -21,7 +21,7 @@ function checkFilter (browser: NightwatchBrowser, filter: string, test: string,
const filterClass = '[data-id="terminalInputSearch"]'
browser.setValue(filterClass, filter, function () {
browser.execute(function () {
return document.querySelector('[data-id="terminalJournal"]').innerHTML === test
return document.querySelector('[data-id="terminalJournal"]').innerHTML === test || ''
}, [], function (result) {
browser.clearValue(filterClass).setValue(filterClass, '', function () {
if (!result.value) {

Loading…
Cancel
Save