-
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
[Security Solution] Improves detections tests #77295
Merged
MadameSheema
merged 26 commits into
elastic:master
from
MadameSheema:improves-detections
Sep 29, 2020
Merged
Changes from 18 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
ee00b9f
improves 'Creates and activates a new custom rule' test
MadameSheema 5e3f5d5
fixes constant problem
MadameSheema 0b5afe1
improves 'Creates and activates a new custom rule with override optio…
MadameSheema 0c34e9b
improves 'Creates and activates a new threshold rule' test
MadameSheema d97ef1a
Merge branch 'master' into improves-detections
MadameSheema 56c4c92
refactor
MadameSheema 5ac8324
fixes type check issue
MadameSheema 579fb54
Merge branch 'master' into improves-detections
elasticmachine 9486073
improves assertions
MadameSheema f41a9e8
Merge branch 'improves-detections' of github.com:MadameSheema/kibana …
MadameSheema a1948b1
Merge branch 'master' into improves-detections
elasticmachine 5a48b9b
Merge branch 'master' into improves-detections
elasticmachine 578ce01
removes unused code
MadameSheema f9c3555
changes variables for constants
MadameSheema 6fe2d60
improves 'waitForTheRuleToBeExecuted' test
MadameSheema 905ee85
improves readability
MadameSheema c061b7a
Merge branch 'master' into improves-detections
elasticmachine da955b6
Merge branch 'master' into improves-detections
elasticmachine 6a2ec50
Merge branch 'master' into improves-detections
elasticmachine 26e6298
Merge branch 'master' into improves-detections
elasticmachine 492cf98
fixes jenkins error
MadameSheema 2fe6861
Merge branch 'master' into improves-detections
elasticmachine 1e7dde8
refactor
MadameSheema 3b8ca5e
Merge branch 'improves-detections' of github.com:MadameSheema/kibana …
MadameSheema 1dec5b2
refactor
MadameSheema f683221
Merge branch 'master' into improves-detections
elasticmachine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 assume this is the preference for text assertions, now? Is it more robust, or better errors, or both?
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 this is the preference now when possible, is more robust because should clause in Cypress will continue to retry its specified assertions until it times out, and also improves the readability of the tests.