mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Fix race condition caused by Visualize page object's clickNewSearch method. (#10235)
Backports PR #10231 **Commit 1:** Add a sleep to Header page object's clickTimepicker method, to wait for the page to render on Jenkins. * Original sha:4cd550b46c
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-07T17:20:42Z **Commit 2:** Add a sleep to Visualize page object's clickNewSearch method, to wait for the page to render on Jenkins. * Original sha:621131b25c
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-07T17:56:08Z **Commit 3:** Wait for loading indicator to disappear to signify completion of clickNewSearch() in Visualize page object. * Original sha:80801591f5
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-07T18:31:43Z **Commit 4:** Wrapper Header page object's clickTimepicker method in a try block. * Original sha:7987d4c531
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-07T19:57:03Z
This commit is contained in:
parent
5bc910da96
commit
4714359273
1 changed files with 4 additions and 2 deletions
|
@ -42,8 +42,10 @@ export default class HeaderPage {
|
|||
}
|
||||
|
||||
clickTimepicker() {
|
||||
return PageObjects.common.findTestSubject('globalTimepickerButton')
|
||||
.click();
|
||||
return PageObjects.common.try(() => {
|
||||
return PageObjects.common.findTestSubject('globalTimepickerButton')
|
||||
.click();
|
||||
});
|
||||
}
|
||||
|
||||
isTimepickerOpen() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue