[test] Fix deprecation warnings related to grid

Merged Kilian Weishaupt requested to merge feature/fix-warnings into master

Merge request reports