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
[SecuritySolution] Enable chartEmbeddablesEnabled feature flag #150531
Conversation
815e639
to
7cfa0ad
Compare
}); | ||
}); | ||
|
||
it('Updates trend histogram whenever alert status is updated in table', () => { | ||
it('Updates count table whenever alert status is updated in table', () => { |
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.
@MadameSheema , I changed the test description based on the content below, but I might have misunderstood, could you please check if I took it right?
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.
That should be checked with the person who wrote this test.
const { data, loading, refetch, inspect, isDeprecated, isModuleEnabled } = useRiskScore({ | ||
filterQuery, | ||
onlyLatest: false, | ||
riskEntity, | ||
skip: (!overTimeToggleStatus && !contributorsToggleStatus) || isChartEmbeddablesEnabled, |
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.
The Top contributor table
is still relying on this result when feature flag is on, so I shouldn't have skipped it here
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
0d8ba9e
to
c4bd205
Compare
@angorayc I am Not sure if these are already being tracked, but here is what I found: Entity analytics page - The donut chart legends have Detection & Response, Entity Analytics - When the donut is clicked, it adds a global filter, but these pages don't have the global search bar Hosts page - Unique IPs add an empty filter when Src or Dest is clicked. Explore pages - When a day is clicked, the global time range is updated, but the pages don't change. |
x-pack/plugins/security_solution/cypress/e2e/detection_alerts/alerts_charts.cy.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/cypress/e2e/detection_alerts/alerts_charts.cy.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/cypress/e2e/detection_alerts/alerts_charts.cy.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/cypress/e2e/detection_alerts/changing_alert_status.cy.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/cypress/e2e/detection_alerts/changing_alert_status.cy.ts
Outdated
Show resolved
Hide resolved
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.
Hey @yctercero , thanks for your review. May I confirm that the scenario happened when the alert index just created? If that’s the case, it’s one of the known issues: #150818 . The chart uses the method from useSourcerer to check if alert index exists but there's an issue that it has to do a page refresh to get the correct result when alert index just created. I find the issue is in progress, so once it's done, this should be fixed accordingly. I'll follow it up. |
x-pack/plugins/security_solution/cypress/e2e/detection_alerts/alerts_charts.cy.ts
Outdated
Show resolved
Hide resolved
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.
security-engineering-productivity changes LGTM
Yea, looks like on refresh, charts appear! |
💚 Build Succeeded
Metrics [docs]Async chunks
Page load bundle
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
…ic#150531) ## Summary **Original Issue** elastic#136409 **Preview** https://kibana-pr-150531.kb.us-west2.gcp.elastic-cloud.com:9243/ https://p.elstc.co/paste/G+PhWdS0#WEyGBtMD9I4r74WPNIQFvgELZPOp-SZCG3yja1LOuwQ **Migrated charts** elastic#149123 **Known issues of the Embeddables after enabling the feature flag:** elastic#136409 (Feature request on Lens’ side & Bugs section) **Charts not supported by Lens Embeddable:** elastic#149592 ### Checklist Delete any items that are not applicable to this PR. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
EPIC: elastic/security-team#5979 Test: `C164772 | Validate that Inspect button works correctly and details display as per the data view selected after the build upgrade` ## Summary * Group all inspect button tests into one file to make the test quicker. * Add entries for missing visualizations and tables Many cypress tests are broken because I enabled the experimental feature. They will be fixed by this PR #150531 - [x] Unkip cypress tests listed [here](#152359) ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
…ic#150531) ## Summary **Original Issue** elastic#136409 **Preview** https://kibana-pr-150531.kb.us-west2.gcp.elastic-cloud.com:9243/ https://p.elstc.co/paste/G+PhWdS0#WEyGBtMD9I4r74WPNIQFvgELZPOp-SZCG3yja1LOuwQ **Migrated charts** elastic#149123 **Known issues of the Embeddables after enabling the feature flag:** elastic#136409 (Feature request on Lens’ side & Bugs section) **Charts not supported by Lens Embeddable:** elastic#149592 ### Checklist Delete any items that are not applicable to this PR. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
EPIC: elastic/security-team#5979 Test: `C164772 | Validate that Inspect button works correctly and details display as per the data view selected after the build upgrade` ## Summary * Group all inspect button tests into one file to make the test quicker. * Add entries for missing visualizations and tables Many cypress tests are broken because I enabled the experimental feature. They will be fixed by this PR elastic#150531 - [x] Unkip cypress tests listed [here](elastic#152359) ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
## Summary **Original Issue** #136409 **Preview** https://kibana-pr-150531.kb.us-west2.gcp.elastic-cloud.com:9243/ https://p.elstc.co/paste/G+PhWdS0#WEyGBtMD9I4r74WPNIQFvgELZPOp-SZCG3yja1LOuwQ **Migrated charts** #149123 **Known issues of the Embeddables after enabling the feature flag:** #136409 (Feature request on Lens’ side & Bugs section) **Charts not supported by Lens Embeddable:** #149592 ### Checklist Delete any items that are not applicable to this PR. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
EPIC: elastic/security-team#5979 Test: `C164772 | Validate that Inspect button works correctly and details display as per the data view selected after the build upgrade` ## Summary * Group all inspect button tests into one file to make the test quicker. * Add entries for missing visualizations and tables Many cypress tests are broken because I enabled the experimental feature. They will be fixed by this PR #150531 - [x] Unkip cypress tests listed [here](#152359) ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
Summary
Original Issue
#136409
Preview
https://kibana-pr-150531.kb.us-west2.gcp.elastic-cloud.com:9243/
https://p.elstc.co/paste/G+PhWdS0#WEyGBtMD9I4r74WPNIQFvgELZPOp-SZCG3yja1LOuwQ
Migrated charts
#149123
Known issues of the Embeddables after enabling the feature flag:
#136409 (Feature request on Lens’ side & Bugs section)
Charts not supported by Lens Embeddable:
#149592
Checklist
Delete any items that are not applicable to this PR.