-
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] Add tests for import / export timelines #75537
Conversation
Pinging @elastic/siem (Team:SIEM) |
|
||
export const TIMELINES_TABLE = '[data-test-subj="timelines-table"]'; | ||
|
||
export const BULK_ACTIONS = '.siemUtilityBar__action button'; |
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 possible to add a data-test-subj
locator so we can use it instead of the class?
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.
Yup! Thanks a lot, I'll change those selectors.
|
||
export const EXPORT_TIMELINE_ACTION = '[data-test-subj="export-timeline-action"]'; | ||
|
||
export const FIRST_TIMELINE = `${TIMELINES_TABLE} tr td input`; |
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.
Same here.
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build SucceededBuild metricsasync chunks size
distributable file count
History
To update your PR or re-run it, just comment with: |
…75537) * add intergration test for install prebuilt timelines * add integration tests * add functional test for export timeline * clean up * asserts the content of the exported timeline * update selector * update selector * reuses the timeline id from the expected exported file Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Gloria Hornero <[email protected]>
…76357) * add intergration test for install prebuilt timelines * add integration tests * add functional test for export timeline * clean up * asserts the content of the exported timeline * update selector * update selector * reuses the timeline id from the expected exported file Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Gloria Hornero <[email protected]> Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Gloria Hornero <[email protected]>
Pinging @elastic/security-solution (Team: SecuritySolution) |
Summary
This PR is to add happy path tests for import timelines and export timelines.
#69972