[Integration tests]: Add integration tests for Optional control of variables

Why are we doing this work

After feature is stable and and feature flag is cleaned out.

This feature should be covered with integration tests in ee/spec/frontend_integration/security_orchestration

Relevant links

Non-functional requirements

  • Documentation:
  • Feature flag:
  • Performance:
  • Testing:

Implementation plan

Verification steps

Edited by 🤖 GitLab Bot 🤖