[8.12] [Discover] Unskip histogram tests (#173910) (#173924)

# Backport

This will backport the following commits from `main` to `8.12`:
- [[Discover] Unskip histogram tests
(#173910)](https://github.com/elastic/kibana/pull/173910)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Julia
Rechkunova","email":"julia.rechkunova@elastic.co"},"sourceCommit":{"committedDate":"2023-12-22T14:26:43Z","message":"[Discover]
Unskip histogram tests (#173910)\n\n- Closes
https://github.com/elastic/kibana/issues/173586\r\n\r\n150x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4670","sha":"fb68236c6393659395cb9d29f16e87ddb220ad7c","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Discover","release_note:skip","Team:DataDiscovery","backport:prev-minor","v8.13.0"],"number":173910,"url":"https://github.com/elastic/kibana/pull/173910","mergeCommit":{"message":"[Discover]
Unskip histogram tests (#173910)\n\n- Closes
https://github.com/elastic/kibana/issues/173586\r\n\r\n150x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4670","sha":"fb68236c6393659395cb9d29f16e87ddb220ad7c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173910","number":173910,"mergeCommit":{"message":"[Discover]
Unskip histogram tests (#173910)\n\n- Closes
https://github.com/elastic/kibana/issues/173586\r\n\r\n150x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4670","sha":"fb68236c6393659395cb9d29f16e87ddb220ad7c"}}]}]
BACKPORT-->

Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
This commit is contained in:
Kibana Machine 2023-12-22 11:40:45 -05:00 committed by GitHub
parent dc549f7819
commit fe5c2deb59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -294,7 +294,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
// now remove the query
await queryBar.clearQuery();
await queryBar.submitQuery();
await queryBar.clickQuerySubmitButton();
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.discover.waitUntilSearchingHasFinished();
// check no error state
expect(await PageObjects.discover.isChartVisible()).to.be(true);