-
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
[Endpoint] Functional Tests cleanup #68756
[Endpoint] Functional Tests cleanup #68756
Conversation
Pinging @elastic/endpoint-management (Team:Endpoint Management) |
Pinging @elastic/endpoint-app-team (Feature:Endpoint) |
|
||
// loadTestFile(require.resolve('./alerts')); | ||
// loadTestFile(require.resolve('./resolver')); |
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.
I think this is good, because it is now part of siem dashboard?
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.
Yes It is part of the Siem
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.
It is in the SIEM but we can remove for now
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.
But Why you deleting all the test
@igor was working to bring the Resolver tests back to life... not sure if this needs him and you to sync up or not. I think it might be ok to have the tests maintained for now, even if they hit a hidden route to render the alerts. We could certainly break something and want to know right? |
@EricDavisX thanks for the comment. I did follow up with the Endpoint response team yesterday and got the ok to remove them, but will resurface that discussion again prior merging this 😃 |
Why Are we deleting all the test for the alerts and resolver |
@IgorGuz2000 I was deleting them because I did not think they applied anymore. Based on your comment I can bring them back and will create an follow up issue for someone to re-enable them. Sound good? |
I'm working on adding Resolver back into the app. I can take a look at adding tests |
…ble)" This reverts commit c5d07e2
@paul-tavares @IgorGuz2000 I'm unaware of any reasons to keep the alerts functional tests, the page isn't being used and the pieces we do take off to use elsewhere would require us to write new tests anyways. In my opinion, that file is dead code and should be deleted |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* Removed several unnecessary disabled eslint rules * moved common pageobject from endpoint_list to page_utils * Rename functional_endpoint to security_solution_endpoint * Delete `functional_endpoint_ingest_failure` no longer applicable # Conflicts: # .github/CODEOWNERS # x-pack/test/security_solution_endpoint/apps/endpoint/resolver.ts
* master: (38 commits) Support migrating from reserved feature privileges (elastic#68504) add `preference` field to SavedObjectsFindOptions (elastic#68620) [ILM] Add "wait for snapshot" policy field to Delete phase (elastic#68505) Cleanup old license overwrites (elastic#68744) Bump TypeScript to v3.9 (elastic#67666) [APM] Service maps - adds new storybook stories to test out various data sets (elastic#68727) Fix vega specification parsing (elastic#67963) docs: add more api information (elastic#68717) [APM] Don't show annotations on charts with no data (elastic#68829) [Metrics UI] Fix Inventory View sorting by handling null values (elastic#67889) skip flaky suite (elastic#68836) [SIEM][Detections Engine] - Fix reference rule url overflow (elastic#68640) Index pattern public api => common (elastic#68289) [APM] Lazy-load alert triggers (elastic#68806) [DOCS] Fix table formatting in ingest manager settings (elastic#68824) [Endpoint] Functional Tests cleanup (elastic#68756) revert previous commit which was unintentional Use Github token instead for project assignments [SIEM][Exceptions] - ExceptionsViewer cleanup (elastic#68739) move @kbn/storybook to devDeps (elastic#68791) ...
* [Endpoint] Functional Tests cleanup (#68756) * Removed several unnecessary disabled eslint rules * moved common pageobject from endpoint_list to page_utils * Rename functional_endpoint to security_solution_endpoint * Delete `functional_endpoint_ingest_failure` no longer applicable # Conflicts: # .github/CODEOWNERS # x-pack/test/security_solution_endpoint/apps/endpoint/resolver.ts * Sync Endpoint Alerts page objects with master - PR #64704 was never backported, thus this change is needed to ensure build is successful. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Summary
functinoal_ingest_failure
tests (no longer applicable)functional_endpoint
directory tosecurity_solution_endpoint
endpoint_page
to thepage_utils
Checklist