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
objectat the end, it is thepolicyone would find in the editor. If it haspolicya the end, it is thepolicyone would find in the list.The difference is how the
typeof the policy is listed in the object.- the policy list policy has the
__typenameproperty because it is retrieved from GraphQL - the editor policy (the one we are interested in) has the
typeproperty because it is retrieved form HAML
I will create a follow-up
- the policy list policy has the