Skip to content

Commit

Permalink
Add functional test agent filter with whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kertal committed May 12, 2020
1 parent 533b481 commit a3f9b15
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/functional/apps/context/_context_navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) {
Expand Down Expand Up @@ -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');
});
});
}

0 comments on commit a3f9b15

Please sign in to comment.