Follow-up from "Add runtime warning for group and sub-group scan result policies"

The following discussion from !104174 (merged) should be addressed:

  • @aturinske started a discussion:

    I should update these mock names to be more clear, but that is an issue on its own as they are used throughout this directory. Basically, if the mock has object at the end, it is the policy one would find in the editor. If it has policy a the end, it is the policy one would find in the list.

    The difference is how the type of the policy is listed in the object.

    • the policy list policy has the __typename property because it is retrieved from GraphQL
    • the editor policy (the one we are interested in) has the type property because it is retrieved form HAML

    I will create a follow-up