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

Refactor toast message by test subj #176889

Merged

Conversation

wayneseymour
Copy link
Member

@wayneseymour wayneseymour commented Feb 14, 2024

Summary

Refactor toastMessageByTestSubj method to two methods, instead of being nested.

Why

We feel that the this method is not ergonomic to our purposes.
So, let's simplify it so that our devs can make use of it, easily.
This is apart of myriad efforts to clean things up and centralize.

Lastly, it's a follow up pr to [FTR] Refactor toasts svc

Note: The flaky runner was run against the only config that uses these two additional methods, successfully.

Resolves #176570

@wayneseymour wayneseymour added release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting FTR labels Feb 14, 2024
@wayneseymour wayneseymour self-assigned this Feb 14, 2024
@wayneseymour
Copy link
Member Author

/ci

@wayneseymour
Copy link
Member Author

Flaky x50 for x-pack/test/cloud_security_posture_functional/config.ts: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5173

@wayneseymour
Copy link
Member Author

@elasticmachine merge upstream

@wayneseymour wayneseymour marked this pull request as ready for review February 15, 2024 13:18
@wayneseymour wayneseymour requested review from a team as code owners February 15, 2024 13:18
Copy link
Contributor

@opauloh opauloh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, the new changes make a lot of sense to me

Copy link
Member

@dmlemeshko dmlemeshko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @wayneseymour

@wayneseymour wayneseymour merged commit 445f4bc into elastic:main Feb 19, 2024
21 checks passed
fkanout pushed a commit to fkanout/kibana that referenced this pull request Mar 4, 2024
## Summary

Refactor `toastMessageByTestSubj` method to two methods, instead of
being nested.


## Why

We feel that the this method is not ergonomic to our purposes.
So, let's simplify it so that our devs can make use of it, easily.
This is apart of myriad efforts to clean things up and centralize.

Lastly, it's a follow up pr to [[FTR] Refactor toasts svc
](elastic#174222)

Note: The flaky runner was [run against the only config that uses these
two additional methods,
successfully](elastic#176889 (comment)).

Resolves elastic#176570

---------

Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Dzmitry Lemechko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting FTR release_note:skip Skip the PR/issue when compiling release notes v8.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[KBN Test Framework] Refactor toastMessageByTestSubj method
5 participants