-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[QA][fix failing test] Refactor to ui settings for timepicker #114182
Conversation
Use ui settings instead of setting absolute range for timepicker.
b8a8c08
to
a20a71f
Compare
Use ui settings instead of setting absolute range for timepicker.
74fd8bb
to
fd65ef0
Compare
💚 Build Succeeded
History
Metrics [docs]
To update your PR or re-run it, just comment with: |
I like the general idea of replacing UI interaction via Webdriver with kbnServer, but I think doing it for flaky (potentially buggy) tests is not the right approach. I think we should migrate stable tests to |
Add, that makes a lot of sense man. I'll follow up |
Sadly there is no codeowner for this file, in |
+1 to what @dmlemeshko's recommendation. In general, I think that we should be doing test setup/teardown as much as possible using |
Ok, makes sense. |
Based on the CI logs from when this test failed (the last couple lines repeat for a while until it times out):
It looks like the timepicker was stuck in an open state. So, it's possible that this is a bug with the timepicker itself or the Discover application. I'd start with the @elastic/kibana-data-discovery team to rule out it being a bug with the Discover application before looking at the timepicker as the culprit. |
[skip-ci]
Use
kibanaServer.uiSettings.replace()
instead of
PageObjects.timePicker.setDefaultAbsoluteRange()
Resolves #60559
Helps with: #113998