[8.12] [Discover] Unskip custom time range test (#176132) (#176435)

# Backport

This will backport the following commits from `main` to `8.12`:
- [[Discover] Unskip custom time range test
(#176132)](https://github.com/elastic/kibana/pull/176132)

<!--- Backport version: 9.4.3 -->

### 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":"2024-02-07T17:57:50Z","message":"[Discover]
Unskip custom time range test (#176132)\n\n- Closes
https://github.com/elastic/kibana/issues/104578\r\n\r\n##
Summary\r\n\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5021\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5062\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5076\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"9999f3674bd03f2cf1b01888ac328020933b2088","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:DataDiscovery","backport:prev-minor","v8.13.0"],"title":"[Discover]
Unskip custom time range
test","number":176132,"url":"https://github.com/elastic/kibana/pull/176132","mergeCommit":{"message":"[Discover]
Unskip custom time range test (#176132)\n\n- Closes
https://github.com/elastic/kibana/issues/104578\r\n\r\n##
Summary\r\n\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5021\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5062\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5076\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"9999f3674bd03f2cf1b01888ac328020933b2088"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176132","number":176132,"mergeCommit":{"message":"[Discover]
Unskip custom time range test (#176132)\n\n- Closes
https://github.com/elastic/kibana/issues/104578\r\n\r\n##
Summary\r\n\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5021\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5062\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5076\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"9999f3674bd03f2cf1b01888ac328020933b2088"}}]}]
BACKPORT-->

Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
This commit is contained in:
Kibana Machine 2024-02-07 15:42:10 -05:00 committed by GitHub
parent 7e6bb7d9e6
commit 7a6ea82147
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,6 +64,10 @@ export function DashboardCustomizePanelProvider({ getService, getPageObject }: F
);
}
});
await retry.waitFor('superDatePickerToggleQuickMenuButton to be present', async () => {
return Boolean(await this.findDatePickerQuickMenuButton());
});
}
public async disableCustomTimeRange() {