Add missing feature_category metadata to frontend fixture specs
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem Statement / Context
Several frontend fixture spec files in spec/frontend/fixtures/ and ee/spec/frontend/fixtures/ are missing the required feature_category: RSpec metadata. This metadata is essential for:
- Test ownership: Identifying which team owns each test file
- Flaky test triage: Routing test failures to the correct team
- Test coverage analysis: Understanding test coverage per feature area
- CI/CD optimization: Enabling selective test execution based on changed feature areas
Without proper feature categories, test failures cannot be automatically routed to the responsible team, making triage slower and less efficient.
Proposal
Add the missing feature_category: metadata to all 50 frontend fixture spec files that currently lack this required metadata.
Source of Truth for Feature Categories
The feature category assignments are based on:
-
config/feature_categories.yml- Canonical list of all valid feature categories -
config/bounded_contexts.yml- Maps domains to their associated feature categories - GitLab Stages YAML - Defines group ownership
- Handbook Features by Group - Documentation of feature ownership
Proposed Solution
Split the work into smaller MRs grouped by owning team/stage for easier review and validation by domain experts. Each team can validate that the assigned feature categories are correct for their domain.
Affected Files by Team
Analytics Stage - Optimize Group (10 files)
| File | Feature Category |
|---|---|
ee/spec/frontend/fixtures/analytics/devops_reports/devops_adoption/enabled_namespaces.rb |
devops_reports |
ee/spec/frontend/fixtures/analytics/value_streams.rb |
value_stream_management |
ee/spec/frontend/fixtures/analytics/value_streams_code_stage.rb |
value_stream_management |
ee/spec/frontend/fixtures/analytics/value_streams_issue_stage.rb |
value_stream_management |
ee/spec/frontend/fixtures/analytics/value_streams_plan_stage.rb |
value_stream_management |
ee/spec/frontend/fixtures/analytics/value_streams_review_stage.rb |
value_stream_management |
ee/spec/frontend/fixtures/analytics/value_streams_staging_stage.rb |
value_stream_management |
ee/spec/frontend/fixtures/analytics/value_streams_test_stage.rb |
value_stream_management |
ee/spec/frontend/fixtures/dora/metrics.rb |
dora_metrics |
spec/frontend/fixtures/analytics.rb |
value_stream_management |
Create Stage - Source Code Group (6 files)
| File | Feature Category |
|---|---|
spec/frontend/fixtures/blob.rb |
source_code_management |
spec/frontend/fixtures/branches.rb |
source_code_management |
spec/frontend/fixtures/commit.rb |
source_code_management |
spec/frontend/fixtures/raw.rb |
source_code_management |
spec/frontend/fixtures/snippet.rb |
source_code_management |
spec/frontend/fixtures/tags.rb |
source_code_management |
Plan Stage - Project Management Group (5 files)
| File | Feature Category |
|---|---|
ee/spec/frontend/fixtures/analytics/charts.rb |
team_planning |
spec/frontend/fixtures/autocomplete.rb |
team_planning |
spec/frontend/fixtures/autocomplete_sources.rb |
team_planning |
spec/frontend/fixtures/issues.rb |
team_planning |
spec/frontend/fixtures/labels.rb |
team_planning |
Plan Stage - Product Planning Group (1 file)
| File | Feature Category |
|---|---|
ee/spec/frontend/fixtures/epic.rb |
portfolio_management |
Create Stage - Code Review Group (2 files)
| File | Feature Category |
|---|---|
spec/frontend/fixtures/api_merge_requests.rb |
code_review_workflow |
spec/frontend/fixtures/merge_requests_diffs.rb |
code_review_workflow |
Software Supply Chain Security Stage - Authentication Group (3 files)
| File | Feature Category |
|---|---|
ee/spec/frontend/fixtures/saml_providers.rb |
system_access |
spec/frontend/fixtures/sessions.rb |
system_access |
spec/frontend/fixtures/webauthn.rb |
system_access |
Deploy Stage - Environments Group (4 files)
| File | Feature Category |
|---|---|
spec/frontend/fixtures/api_deploy_keys.rb |
continuous_delivery |
spec/frontend/fixtures/deploy_keys.rb |
continuous_delivery |
spec/frontend/fixtures/freeze_period.rb |
continuous_delivery |
spec/frontend/fixtures/releases.rb |
release_orchestration |
Verify Stage - Pipeline Execution Group (3 files)
| File | Feature Category |
|---|---|
spec/frontend/fixtures/jobs.rb |
continuous_integration |
spec/frontend/fixtures/pipeline_schedules.rb |
continuous_integration |
spec/frontend/fixtures/job_artifacts.rb |
job_artifacts |
Verify Stage - Runner Group (2 files)
| File | Feature Category |
|---|---|
ee/spec/frontend/fixtures/deployments.rb |
deployment_management |
spec/frontend/fixtures/clusters.rb |
deployment_management |
Tenant Scale Stage - Organizations Group (2 files)
| File | Feature Category |
|---|---|
spec/frontend/fixtures/api_projects.rb |
groups_and_projects |
spec/frontend/fixtures/projects_json.rb |
groups_and_projects |
Data Stores Stage - Global Search Group (2 files)
| File | Feature Category |
|---|---|
ee/spec/frontend/fixtures/search.rb |
global_search |
spec/frontend/fixtures/search.rb |
global_search |
Application Security Testing Stage - Static Analysis Group (2 files)
| File | Feature Category |
|---|---|
ee/spec/frontend/fixtures/codequality_report.rb |
code_quality |
ee/spec/frontend/fixtures/project_quality_summary.rb |
code_quality |
Application Security Testing Stage - Dynamic Analysis Group (1 file)
| File | Feature Category |
|---|---|
ee/spec/frontend/fixtures/dast_profiles.rb |
dynamic_application_security_testing |
Foundations Stage - Design System Group (2 files)
| File | Feature Category |
|---|---|
spec/frontend/fixtures/listbox.rb |
design_system |
spec/frontend/fixtures/tabs.rb |
design_system |
Other Teams (5 files)
| File | Feature Category | Group |
|---|---|---|
spec/frontend/fixtures/integrations.rb |
integrations |
Import Group |
spec/frontend/fixtures/timezones.rb |
internationalization |
Foundations |
spec/frontend/fixtures/application_settings.rb |
settings |
Acquisition Group |
spec/frontend/fixtures/admin_users.rb |
user_management |
Personal Productivity Group |
ee/spec/frontend/fixtures/oncall_schedule.rb |
on_call_schedule_management |
Respond Group |
Implementation Plan
Split into smaller MRs by team/stage to enable domain expert review:
- Analytics Stage (Optimize) - 10 files => Add feature_category to analytics fixture specs (!217199 - merged)
- Create Stage (Source Code) - 6 files => Add feature_category to source code fixture specs (!217202 - merged)
- Plan Stage (Project Management) - 5 files
- Plan Stage (Product Planning) - 1 file
- Create Stage (Code Review) - 2 files
- Software Supply Chain Security (Authentication) - 3 files
- Deploy Stage (Environments) - 4 files
- Verify Stage (Pipeline Execution) - 3 files
- Verify Stage (Runner) - 2 files
- Tenant Scale (Organizations) - 2 files
- Data Stores (Global Search) - 2 files
- Application Security Testing (Static Analysis) - 2 files
- Application Security Testing (Dynamic Analysis) - 1 file
- Foundations (Design System) - 2 files
- Other Teams - 5 files