-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SIEM][Detection Engine] Fixes export of single rule and the icons
## Summary Fixes export of single rule and the icons. * #62378 * Single export of rules was using the `rule.id` instead of the `rule.rule_id` where now it flips it and works as expected. * This adds data-test-subj for testing * This adds jest unit tests to the menu component Icons Before: <img width="396" alt="Screen Shot 2020-04-02 at 5 12 43 PM" src="https://user-images.githubusercontent.com/1151048/78315482-5b533280-751a-11ea-8378-d5e106ebd36f.png"> Icons After: <img width="407" alt="Screen Shot 2020-04-02 at 7 40 28 PM" src="https://user-images.githubusercontent.com/1151048/78315449-3fe82780-751a-11ea-9d16-2f8c2ea22a78.png"> ### Checklist - [x] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios
- Loading branch information
1 parent
4cbf6d2
commit 85c665a
Showing
3 changed files
with
295 additions
and
13 deletions.
There are no files selected for viewing
13 changes: 10 additions & 3 deletions
13
...detection_engine/rules/components/rule_actions_overflow/__snapshots__/index.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.