With the introduction of Deployment-agnostic tests we want to cover our api tests in both stateful and serverless flavours.
At the moment mos of our tests are only being run in stateful. Most of our APIs behaves the same in stateful or serverless so they are suited to be migrated.
GET /internal/dataset_quality/data_streams/stats also covers some privileges tests, those might need to be left as a normal test because we don't have the same privilege modes in serverless.
📓 Summary
With the introduction of Deployment-agnostic tests we want to cover our api tests in both stateful and serverless flavours. At the moment mos of our tests are only being run in stateful. Most of our APIs behaves the same in stateful or serverless so they are suited to be migrated.
GET /internal/dataset_quality/data_streams/stats
x-pack/test/dataset_quality_api_integration/tests/data_streams/stats.spec.ts
GET /internal/dataset_quality/data_streams/{dataStream}/degraded_fields
x-pack/test/dataset_quality_api_integration/tests/data_streams/degraded_fields.spec.ts
GET /internal/dataset_quality/data_streams/degraded_docs
x-pack/test/dataset_quality_api_integration/tests/data_streams/degraded_docs.spec.ts
GET /internal/dataset_quality/data_streams/{dataStream}/settings
Serverless:
x-pack/test_serverless/api_integration/test_suites/observability/dataset_quality_api_integration/data_stream_details.ts
ESS:/Users/yng/Projects/kibana/x-pack/test/dataset_quality_api_integration/tests/data_streams/data_stream_details.spec.ts
GET /internal/dataset_quality/data_streams/{dataStream}/details
Serverless:
x-pack/test_serverless/api_integration/test_suites/observability/dataset_quality_api_integration/data_stream_settings.ts
ESS:/Users/yng/Projects/kibana/x-pack/test/dataset_quality_api_integration/tests/data_streams/data_stream_settings.spec.ts
GET /internal/dataset_quality/integrations/{integration}/dashboards
x-pack/test/dataset_quality_api_integration/tests/integrations/integration_dashboards.spec.ts
GET /internal/dataset_quality/integrations
x-pack/test/dataset_quality_api_integration/tests/integrations/integrations.spec.ts
GET /internal/dataset_quality/data_streams/{dataStream}/degraded_field/{degradedField}/values
Serverless:
x-pack/test_serverless/api_integration/test_suites/observability/dataset_quality_api_integration/degraded_field_values.ts
ESS:x-pack/test/dataset_quality_api_integration/tests/data_streams/degraded_field_values.spec.ts
❔ Caveats
GET /internal/dataset_quality/data_streams/stats
also covers some privileges tests, those might need to be left as a normal test because we don't have the same privilege modes in serverless.💡 Resources