Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.0] click slower in timepicker (#125264) #125286

Merged
merged 1 commit into from
Feb 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions test/functional/page_objects/time_picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -240,6 +241,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);
Expand Down