forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Serverless][Testing] Improve serverless force logout and enable some…
… related tests (elastic#184202) ## Summary Looks like there are some tests being flaky because redirect after `forceLogout` is not performed correctly on `https://cloud.elastic.co/logout?redirectTo=%2Fprojects%2F`. So far there has been tries to increase timeout to improve flakiness but there are still random fails. This PR tries to improve on this by simply adding a **retry** for the force logout process, therefore the logout page will be reloaded, in order to retrigger the redirect process. There are some other cases when there was an error message in the browser: `Failed to decode downloaded font: https://cloud.elastic.co/449450163f45882ebfc2.woff`. This also looks flakiness, so I'm hoping that the retry/reload mechanism helps with those cases, too. ### For future flakiness In case we still experience flakiness, maybe we can simply don't expect the redirection to finish - i don't think we care about it: when we are on this redirect page, we are already logged out. The redirect is an external dependency from the perspective of these tests - if [cloud.elastic.co](http://cloud.elastic.co/) cannot redirect, it shouldn't really matter. ### Seemingly related tests #### Skipped tests that are enabled in this PR fixes elastic#180401 fixes elastic#184319 #### Failed but not yet skipped tests closes elastic#174975 closes elastic#175159 closes elastic#167818 closes elastic#176413 closes elastic#175612 closes elastic#175785 closes elastic#175606 closes elastic#175599 closes elastic#175083 closes elastic#174439 closes elastic#174346 closes elastic#174566 closes elastic#173192 closes elastic#174111 closes elastic#174116 closes elastic#173950 closes elastic#173074 closes elastic#170899 closes elastic#170890 closes elastic#167597 closes elastic#169818 closes elastic#167585 closes elastic#167792 closes elastic#168751 #### Other This test is related, and could be enabled, but since it's been skipped for months, the business logic has changed, so the test needs to be updated: elastic#168037 > [!Note] > If a test fails, the issue contains its error message. If it fails again in the future with a different error, the same issue will be reopened, although it's not the same error. And, I searched for the error message amongst these issues, therefore: > - I found test fail issues containing the same error message originally, but recently being failed on a different reason: these are of course not included in this list as the recent error reason is something different > - and probably I did not find test fails that originally failed with a different reason, but now with this, which is unfortunate --------- Co-authored-by: Kibana Machine <[email protected]>
- Loading branch information
1 parent
b3a12c1
commit 22c2a67
Showing
4 changed files
with
67 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters