It was a usefull feature since we :
- do name the props "Props" in every react component
- import a css module file in the slice
- import types from "types.generated.ts" file produced by "prismic-ts-codegen" tool (which prevent this bug )
- are using a different name for the data attributes tested by cypress (but OK your data attributes names are better than those we were using)