Skip to content

Commit

Permalink
Add a todo in the request_count FT
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula committed Aug 30, 2023
1 parent d8565bc commit 7527020
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/functional/apps/discover/group3/_request_counts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
'Sep 23, 2015 @ 00:00:00.000'
);
await waitForLoadingToFinish();
// TODO: Check why the request happens 4 times in case of opening a saved search
// https://github.com/elastic/kibana/issues/165192
// creating the saved search
await expectSearches(type, savedSearchesRequests ?? 2, async () => {
await PageObjects.discover.saveSearch(savedSearch);
Expand All @@ -162,6 +164,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await waitForLoadingToFinish();
});
// loading the saved search
// TODO: https://github.com/elastic/kibana/issues/165192
await expectSearches(type, savedSearchesRequests ?? 2, async () => {
await PageObjects.discover.loadSavedSearch(savedSearch);
});
Expand Down

0 comments on commit 7527020

Please sign in to comment.