Use shared contexts in actual_state_calculator_spec
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=420977)
</details>
<!--IssueSummary end-->
The following discussion from !126785 should be addressed:
- [ ] @vtak started a [discussion](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/126785#note_1496452752): (+3 comments)
> **question; non-blocking** - I know this is existing behaviour but do we know why we are not using the shared_contexts here to get this YAML? I can't seem to recollect.
issue