terminal filter doesn't work on any browser

pull/2729/head
filip mertens 2 years ago committed by Aniket
parent 4d836cc975
commit df44dd7b1d
  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