-
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
[FTR] Refactor toasts svc #174222
[FTR] Refactor toasts svc #174222
Conversation
0714a72
to
bf6e2d2
Compare
/ci |
8e63a8b
to
5505cda
Compare
/ci |
My IDE found zero usages of dismissToast(). So, my first thought is to rename it to something more descriptive, like
\cc @pheyos |
/ci |
2 similar comments
/ci |
/ci |
2692f13
to
8b6c4d8
Compare
/ci |
1 similar comment
/ci |
b43d54e
to
4fe72cf
Compare
/ci |
18ce0b0
to
82a0e69
Compare
/ci |
82a0e69
to
6b43c7a
Compare
/ci |
Refactor closeToast method from common page, to this shared package.
@elasticmachine merge upstream |
@elasticmachine merge upstream |
dismiss() method from within getTitleAndDismiss().
flaky 50x again for: x-pack/test/security_functional/login_selector.config.ts |
50x again, after changing |
@elasticmachine merge upstream |
x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/slack.ts
Outdated
Show resolved
Hide resolved
…into refactor-toasts-svc
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Public APIs missing exports
Unknown metric groupsAPI count
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.
LGTM
### Summary Refactoring general ui service (test helpers), to a kbn package. - Optimize methods and drop some code duplication. ### Why - Makes the service easily available from multiple code areas. - This is a preparation to potentially moving tests to plugins / packages, where they would no longer be able to import thing from test or x-pack/test but only from a package. --------- Co-authored-by: kibanamachine <[email protected]>
## 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 ](#174222) Note: The flaky runner was [run against the only config that uses these two additional methods, successfully](#176889 (comment)). Resolves #176570 --------- Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Dzmitry Lemechko <[email protected]>
### Summary Refactoring general ui service (test helpers), to a kbn package. - Optimize methods and drop some code duplication. ### Why - Makes the service easily available from multiple code areas. - This is a preparation to potentially moving tests to plugins / packages, where they would no longer be able to import thing from test or x-pack/test but only from a package. --------- Co-authored-by: kibanamachine <[email protected]>
## 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]>
Summary
Refactoring general ui service (test helpers), to a kbn package.
Why