[tests][facet] Use constexpr if for gg construction

5 jobs for !2737 with feature/gridgeometry-update-gridview
latest merge request