mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
(cherry picked from commit ec7f2f3d8c
)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
This commit is contained in:
parent
19912b70ac
commit
5b0b35e789
1 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,7 @@ export class TimePickerPageObject extends FtrService {
|
|||
private readonly retry = this.ctx.getService('retry');
|
||||
private readonly testSubjects = this.ctx.getService('testSubjects');
|
||||
private readonly header = this.ctx.getPageObject('header');
|
||||
private readonly common = this.ctx.getPageObject('common');
|
||||
private readonly kibanaServer = this.ctx.getService('kibanaServer');
|
||||
|
||||
private readonly quickSelectTimeMenuToggle = this.ctx.getService('menuToggle').create({
|
||||
|
@ -245,6 +246,9 @@ export class TimePickerPageObject extends FtrService {
|
|||
await this.testSubjects.click('superDatePickerAbsoluteTab');
|
||||
const end = await this.testSubjects.getAttribute('superDatePickerAbsoluteDateInput', 'value');
|
||||
|
||||
// Wait until closing popover again to avoid https://github.com/elastic/eui/issues/5619
|
||||
await this.common.sleep(2000);
|
||||
|
||||
// get from time
|
||||
await this.testSubjects.click('superDatePickerstartDatePopoverButton');
|
||||
await this.waitPanelIsGone(panel);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue