[8.10] [Discover] Unskip field popover flaky tests (#165641) (#165930)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[Discover] Unskip field popover flaky tests
(#165641)](https://github.com/elastic/kibana/pull/165641)

<!--- 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-09-07T07:02:12Z","message":"[Discover]
Unskip field popover flaky tests (#165641)\n\n- Closes
https://github.com/elastic/kibana/issues/165608\r\n\r\n150x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3061","sha":"2b78d6fbad0088e9f6bf71cdddc25a50791f1f20","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:DataDiscovery","backport:prev-minor","v8.11.0"],"number":165641,"url":"https://github.com/elastic/kibana/pull/165641","mergeCommit":{"message":"[Discover]
Unskip field popover flaky tests (#165641)\n\n- Closes
https://github.com/elastic/kibana/issues/165608\r\n\r\n150x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3061","sha":"2b78d6fbad0088e9f6bf71cdddc25a50791f1f20"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165641","number":165641,"mergeCommit":{"message":"[Discover]
Unskip field popover flaky tests (#165641)\n\n- Closes
https://github.com/elastic/kibana/issues/165608\r\n\r\n150x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3061","sha":"2b78d6fbad0088e9f6bf71cdddc25a50791f1f20"}}]}]
BACKPORT-->

Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
This commit is contained in:
Kibana Machine 2023-09-07 03:59:54 -04:00 committed by GitHub
parent cf093058f3
commit 7e04474673
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,6 +95,7 @@ export class UnifiedFieldListPageObject extends FtrService {
}
public async clickFieldListItem(field: string) {
await this.testSubjects.moveMouseTo(`field-${field}`);
await this.testSubjects.click(`field-${field}`);
await this.waitUntilFieldPopoverIsOpen();