-
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
[Data Usage] functional tests #203166
[Data Usage] functional tests #203166
Conversation
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7556[✅] x-pack/test_serverless/functional/test_suites/security/common_configs/config.group1.ts: 25/25 tests passed. |
70c97a0
to
3587b10
Compare
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7564[✅] x-pack/test_serverless/functional/test_suites/security/common_configs/config.group1.ts: 25/25 tests passed. |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7567[✅] x-pack/test_serverless/functional/test_suites/security/common_configs/config.group1.ts: 25/25 tests passed. |
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.
x-pack/test_serverless/functional/page_objects/index.ts
changes LGTM. Left a question about interceptRequest
x-pack/test_serverless/functional/test_suites/common/data_usage/intercept_request.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.
LGTM. Thanks for browser
service update, I know other Teams were asking about requests interception.
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Public APIs missing comments
Async chunks
Unknown metric groupsAPI count
History
|
Starting backport for target branches: 8.x |
## Summary Functional tests for data usage UI. - `data_streams` route is intercepted, due to filtering out zero size data streams which will happen because metering api needs time to aggregate data - `autoops_api` is using the mock server as there will be no data for it to return - tests will only run in local serverless and not MKI due to using the autoops mock server that won't return data for created data streams - adds `interceptRequest` functionality to FTR `browser` service ## Tests - data stream filter dropdown renders with created data streams of `data_streams` response and are checked - data stream filter dropdown renders badge with correct number of selected data streams - charts render from `data_streams` route response - chart legends render with correct items - popover renders for legend items - links in popovers correctly navigate and update navigation between different data stream items (cherry picked from commit ba945c9)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.x`: - [[Data Usage] functional tests (#203166)](#203166) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Sandra G","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-12T13:08:08Z","message":"[Data Usage] functional tests (#203166)\n\n## Summary\r\n\r\nFunctional tests for data usage UI.\r\n\r\n- `data_streams` route is intercepted, due to filtering out zero size\r\ndata streams which will happen because metering api needs time to\r\naggregate data\r\n- `autoops_api` is using the mock server as there will be no data for it\r\nto return\r\n- tests will only run in local serverless and not MKI due to using the\r\nautoops mock server that won't return data for created data streams\r\n- adds `interceptRequest` functionality to FTR `browser` service\r\n\r\n## Tests\r\n- data stream filter dropdown renders with created data streams of\r\n`data_streams` response and are checked\r\n- data stream filter dropdown renders badge with correct number of\r\nselected data streams\r\n- charts render from `data_streams` route response\r\n- chart legends render with correct items\r\n- popover renders for legend items\r\n- links in popovers correctly navigate and update navigation between\r\ndifferent data stream items","sha":"ba945c98510dc6de460b297beaa55e980456fc30","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor"],"title":"[Data Usage] functional tests","number":203166,"url":"https://github.com/elastic/kibana/pull/203166","mergeCommit":{"message":"[Data Usage] functional tests (#203166)\n\n## Summary\r\n\r\nFunctional tests for data usage UI.\r\n\r\n- `data_streams` route is intercepted, due to filtering out zero size\r\ndata streams which will happen because metering api needs time to\r\naggregate data\r\n- `autoops_api` is using the mock server as there will be no data for it\r\nto return\r\n- tests will only run in local serverless and not MKI due to using the\r\nautoops mock server that won't return data for created data streams\r\n- adds `interceptRequest` functionality to FTR `browser` service\r\n\r\n## Tests\r\n- data stream filter dropdown renders with created data streams of\r\n`data_streams` response and are checked\r\n- data stream filter dropdown renders badge with correct number of\r\nselected data streams\r\n- charts render from `data_streams` route response\r\n- chart legends render with correct items\r\n- popover renders for legend items\r\n- links in popovers correctly navigate and update navigation between\r\ndifferent data stream items","sha":"ba945c98510dc6de460b297beaa55e980456fc30"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203166","number":203166,"mergeCommit":{"message":"[Data Usage] functional tests (#203166)\n\n## Summary\r\n\r\nFunctional tests for data usage UI.\r\n\r\n- `data_streams` route is intercepted, due to filtering out zero size\r\ndata streams which will happen because metering api needs time to\r\naggregate data\r\n- `autoops_api` is using the mock server as there will be no data for it\r\nto return\r\n- tests will only run in local serverless and not MKI due to using the\r\nautoops mock server that won't return data for created data streams\r\n- adds `interceptRequest` functionality to FTR `browser` service\r\n\r\n## Tests\r\n- data stream filter dropdown renders with created data streams of\r\n`data_streams` response and are checked\r\n- data stream filter dropdown renders badge with correct number of\r\nselected data streams\r\n- charts render from `data_streams` route response\r\n- chart legends render with correct items\r\n- popover renders for legend items\r\n- links in popovers correctly navigate and update navigation between\r\ndifferent data stream items","sha":"ba945c98510dc6de460b297beaa55e980456fc30"}}]}] BACKPORT--> Co-authored-by: Sandra G <[email protected]>
Summary
Functional tests for data usage UI.
data_streams
route is intercepted, due to filtering out zero size data streams which will happen because metering api needs time to aggregate dataautoops_api
is using the mock server as there will be no data for it to returninterceptRequest
functionality to FTRbrowser
serviceTests
data_streams
response and are checkeddata_streams
route response