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