From 63ce782674783f9900098f9533bd33d44a98851f Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 28 Nov 2017 17:34:45 +0100 Subject: [PATCH] fix test --- test-browser/helpers/contracts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-browser/helpers/contracts.js b/test-browser/helpers/contracts.js index d88a114f55..dacc4b3aa7 100644 --- a/test-browser/helpers/contracts.js +++ b/test-browser/helpers/contracts.js @@ -121,9 +121,9 @@ function useFilter (browser, filter, test, done) { var filterClass = '#editor-container div[class^="search"] input[class^="filter"]' browser.setValue(filterClass, filter, function () { browser.execute(function () { - return document.querySelector('#modal-dialog #prompt_text').innerHTML === test + return document.querySelector('#editor-container div[class^="journal"]').innerHTML === test }, [], function (result) { - browser.setValue(filterClass, '', function () { + browser.clearValue(filterClass).setValue(filterClass, '', function () { if (!result.value) { browser.assert.fail('useFilter on ' + filter + ' ' + test, 'info about error', '') }