Fix deprecation error caused by passing kwargs as hash
What does this MR do and why?
E2E tests are periodically failed by deprecation toolkit due to a deprecated way of passing in kwargs - https://gitlab.com/gitlab-org/gitlab/-/jobs/3228135109
- Correctly pass named args
- Fix a few rubocop violations from rubocop_todo
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Andrejs Cunskis