From a3f9b15db3c379950595f0abae2dc9dc42f0c5c7 Mon Sep 17 00:00:00 2001 From: Matthias Wilhelm Date: Tue, 12 May 2020 15:58:16 +0200 Subject: [PATCH] Add functional test agent filter with whitespace --- test/functional/apps/context/_context_navigation.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/functional/apps/context/_context_navigation.js b/test/functional/apps/context/_context_navigation.js index e4066d4159b9e..de7dc40ae28e9 100644 --- a/test/functional/apps/context/_context_navigation.js +++ b/test/functional/apps/context/_context_navigation.js @@ -23,6 +23,10 @@ const TEST_COLUMN_NAMES = ['@message']; const TEST_FILTER_COLUMN_NAMES = [ ['extension', 'jpg'], ['geo.src', 'IN'], + [ + 'agent', + 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.50 Safari/534.24', + ], ]; export default function({ getService, getPageObjects }) { @@ -55,7 +59,7 @@ export default function({ getService, getPageObjects }) { await browser.goBack(); await PageObjects.discover.waitForDocTableLoadingComplete(); const hitCount = await PageObjects.discover.getHitCount(); - expect(hitCount).to.be('1,556'); + expect(hitCount).to.be('522'); }); }); }