forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix serverless tests for ingest pipelines and dataset quality (elasti…
…c#178825) ## Summary This PR fixes test failures that came up when the serverless observability functional tests for dataset quality and ingest pipelines were run against the same project. ### Details The problem that we saw: * The dataset quality tests are calling `PageObjects.observabilityLogsExplorer.setupInitialIntegrations()`, which sets up a list of integrations, including many ingest pipelines. However, there was no cleanup of these installed integrations so the test suite left all the integrations and ingest pipelines behind. * The ingest pipelines tests were looking for a newly created pipeline in the list, but only checking the first page of 50 items in the UI, assuming that there are less than 50 pipelines existing. With the many pipelines left behind by the dataset quality tests, this suite failed as it couldn't find the created pipeline. How this PR fixes it: * The ingest pipeline tests have been stabilized so they can deal with more existing pipelines by adding an optional `searchFor` parameter to `getPipelinesList`. If this parameter is provided, the pipeline list will be searched for the provided search term before returning the list items. That way long lists can be filtered down to the items relevant to the test. * The dataset quality tests (stateful and serverless version) have been updated to include `PageObjects.observabilityLogsExplorer.removeInstalledPackages()` in the `after` method of the suite so they don't leave integrations behind. Flaky test runner for the three impacted configurations: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5492 - passed ✔️
- Loading branch information
Showing
9 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters