Skip to content

Commit

Permalink
[Discover] Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jughosta committed Nov 13, 2024
1 parent 64119a3 commit 0fa2f28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/functional/apps/discover/group3/_request_counts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
value: 'jpg',
});
});

await expectSearches(type, 2, async () => {
await filterBar.removeFilter('extension');
});
});

it('should send 2 requests (documents + chart) when sorting', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
value: 'jpg',
});
});

await expectSearches(type, 2, async () => {
await filterBar.removeFilter('extension');
});
});

it('should send 2 requests (documents + chart) when sorting', async () => {
Expand Down

0 comments on commit 0fa2f28

Please sign in to comment.