Refactor Github importer e2e spec
Description of the test
To better support https://gitlab.com/gitlab-org/gitlab/-/issues/331257, refactor github importer e2e spec by validating imported objects via api. This should allow to reuse the spec to validate large sets of data in semi manual way by leveraging api.
MR does the following:
- Refactors import navigation to use Projects -> Import Project instead of navigating via group
- Implement imported object validation via api instead of UI
- Multiple rubocop todo fixes and some DRY work in Project class
- Significantly decreases runtime due to less UI interaction (From almost 3 minutes to ~50 seconds)
Next iteration
- Add milestone validation
- Add label validation
- Add MR comment validation
Edited by Andrejs Cunskis