Selected policy dropdown does not populate without an id
The following discussion from !147307 (merged) should be addressed:
-
@arfedoro started a discussion: (+1 comment) question (non-blocking)
❓ If I remove project id in
yamlmode, there is weird border color difference:What do you think about making style consistent? follow-up is also possible
Summary
- when a user removes the id from the yaml, the selected policies dropdown does not populate
How to reproduce
- Upload a GitLab Ultimate license
- Enable the feature flag
echo "Feature.enable(:compliance_pipeline_in_policies)" | rails c. - Navigate to a project => Secure => Policies => New policy => Scan Execution Policy
- Add a new action => Run CI/CD code => Run
Linked existing CI file - Select a project
- Navigate to yaml mode and from the recently added id
- Navigate to rule mode