[8.11] [Obs UX] Fix infra home_page test (#172572) (#172688)

# Backport

This will backport the following commits from `main` to `8.11`:
- [[Obs UX] Fix infra home_page test
(#172572)](https://github.com/elastic/kibana/pull/172572)

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

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

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-06T14:41:30Z","message":"[Obs
UX] Fix infra home_page test (#172572)\n\nfixes
https://github.com/elastic/kibana/issues/172373\r\n\r\n##
Summary\r\n\r\nIncreases the timeout to verify whether the tooltip is
still visible on\r\nthe
page\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4177","sha":"a31ec33bf90211e040c5d959fec283e8c38222cf","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.12.0","Team:obs-ux-infra_services","v8.13.0"],"number":172572,"url":"https://github.com/elastic/kibana/pull/172572","mergeCommit":{"message":"[Obs
UX] Fix infra home_page test (#172572)\n\nfixes
https://github.com/elastic/kibana/issues/172373\r\n\r\n##
Summary\r\n\r\nIncreases the timeout to verify whether the tooltip is
still visible on\r\nthe
page\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4177","sha":"a31ec33bf90211e040c5d959fec283e8c38222cf"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172572","number":172572,"mergeCommit":{"message":"[Obs
UX] Fix infra home_page test (#172572)\n\nfixes
https://github.com/elastic/kibana/issues/172373\r\n\r\n##
Summary\r\n\r\nIncreases the timeout to verify whether the tooltip is
still visible on\r\nthe
page\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4177","sha":"a31ec33bf90211e040c5d959fec283e8c38222cf"}},{"branch":"8.13","label":"v8.13.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2023-12-06 10:44:02 -05:00 committed by GitHub
parent d50c7b4230
commit 8e55919fe7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -369,7 +369,7 @@ export function InfraHomePageProvider({ getService, getPageObjects }: FtrProvide
async dismissDatePickerTooltip() {
const isTooltipOpen = await testSubjects.exists(`waffleDatePickerIntervalTooltip`, {
timeout: 1000,
timeout: 3000,
});
if (isTooltipOpen) {