-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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][refactor] Use ui settings - discover histogram #114997
Conversation
682b64b
to
3f73477
Compare
3f73477
to
35fa1b5
Compare
Runs fine on my local, so running on the flaky runner 40x: |
I noticed the following while debugging this test on my local:
There are 5 it blocks in this test, and they all have this warning. This makes sense, because before this pr, the ui was used to set the time. Without a time format, and in strict mode, the time strings are not valid: With a time format, and in strict mode, they are valid: I got the correct format from the documentation of setAbsoluteRange in the time_picker page object. |
Looks like the parse fn is here: https://github.com/elastic/kibana/blob/master/packages/elastic-datemath/src/index.ts#L57 |
Seems best to:
|
35fa1b5
to
5542bd5
Compare
a6f3d42
to
470199e
Compare
470199e
to
fdab38a
Compare
Hrmm, had one failure |
Use ui settings instead of setting absolute range for timepicker. Stacked on top of: #114530
6a058d0
to
76745be
Compare
40x again: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/217 @LeeDr update: no failures on that run ^ |
💛 Build succeeded, but was flaky
Test FailuresMetrics [docs]
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refactoring LGTM, didn't test
Not having to do with this PR, but I'm really disappointed in the names of the first 3 tests vs what they are actually verifying. The make changed to the timepicker and then only verify that the chart exists. They don't verify the chart is showing the correct data or any data at all. |
* [QA][refactor] Use ui settings - discover histogram Use ui settings instead of setting absolute range for timepicker. Stacked on top of: elastic#114530 * Use TimeStrings interface.
* [QA][refactor] Use ui settings - discover histogram Use ui settings instead of setting absolute range for timepicker. Stacked on top of: elastic#114530 * Use TimeStrings interface.
* [QA][refactor] Use ui settings - discover histogram Use ui settings instead of setting absolute range for timepicker. Stacked on top of: #114530 * Use TimeStrings interface. Co-authored-by: Tre <[email protected]>
* [QA][refactor] Use ui settings - discover histogram Use ui settings instead of setting absolute range for timepicker. Stacked on top of: #114530 * Use TimeStrings interface. Co-authored-by: Tre <[email protected]>
* [QA][refactor] Use ui settings - discover histogram Use ui settings instead of setting absolute range for timepicker. Stacked on top of: #114530 * Use TimeStrings interface.
[skip-ci]
Use ui settings instead of setting absolute range
for timepicker.
Helps with: [meta] [refactor] use ui settings instead of timepicker ui