-
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
Can't set timerange correctly during functional tests #113520
Comments
Pinging @elastic/kibana-qa (Team:QA) |
Test automation on the timepicker has been a pain for quite some time. Many people including me have spent hours and hours trying to get automation on it to work reliably.
|
cc @stratoula I think we had a case of this as well, right? |
@stratoula Seems like it didn't hold: #113496 |
:( Ok I will try to use the solution provided by Lee |
I am not sure if it makes sense trying to fix this now for each test individually. I think we need to come up with a central more safe solution for setting the timepicker, i.e. what Lee mentioned under point 1. I'd for now just disable the test, and add it to the list above, so we can unskip all those tests once we have fixed that globally. |
I believe this is not yet solved via #113597. A lot of the tests that were unskipped in this PR, started immediately again to behave flaky after that PR got merged. It just seems - assuming because we're now properly test for the date being set - that instead of seeing the date not being set, we run into timeouts in all those tests (e.g. see #60559). I know that @pheyos (#113905) and @brianseeders (#104022, #112576) have been working on trying to address the timeout issues too. As far as I understand #113905 should at least enable us getting screenshots now from those timeout failures again? (which will help us seeing if this assumption here is actually true). |
@timroes yes, for the cases where |
It seems recently we're seeing a lot of test failures caused by the time range not being set correctly. I've seen a couple of test failures where the "to" date is correctly set, but the "from" date is not set correctly. Failure screenshots might then look like the following (pay attention to the dates in the timepicker):
This seems to happen across the board in different apps and different tests. I suspect the
PageObjects.timePicker.setAbsoluteRange
might have some problems with potentially some changes we did in EUI?I think this needs some investigation. I mostly linked Discover failures below, but I've seen this failing across other apps (e.g. Dashboard) too.
List of affected test failures:
The text was updated successfully, but these errors were encountered: