Skip to content

Commit

Permalink
[Logs Explorer] Disable the too-slow url check in functional test (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
weltenwort authored Dec 12, 2023
1 parent 508762e commit 50cc8b8
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions x-pack/test/functional/page_objects/observability_log_explorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,12 @@ export function ObservabilityLogExplorerPageObject({
return await PageObjects.common.navigateToUrlWithBrowserHistory(
'observabilityLogExplorer',
'/',
queryStringParams
queryStringParams,
{
// the check sometimes is too slow for the page so it misses the point
// in time before the app rewrites the URL
ensureCurrentUrl: false,
}
);
},

Expand All @@ -246,7 +251,12 @@ export function ObservabilityLogExplorerPageObject({
return await PageObjects.common.navigateToUrlWithBrowserHistory(
'observabilityLogExplorer',
'/',
queryStringParams
queryStringParams,
{
// the check sometimes is too slow for the page so it misses the point
// in time before the app rewrites the URL
ensureCurrentUrl: false,
}
);
},

Expand Down

0 comments on commit 50cc8b8

Please sign in to comment.