Refactor specs to use new GraphQL shared examples
What does this MR do and why?
This MR refactors some specs to use new GraphQL shared examples introduced in #419768.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #419768