LMR QA | Improvement | Refactor Project Page Object
What is currently available
The Page Object for Project/New is currently containing the selector for GitHub and the GitHub import page is stored in its own page object class. The GitLab import is stored in its own components that are then included inside the Project/New page object.
What is proposed
To refactor the page objects and set the GitHub import to be the same as the GitLab and use the same structure. On the way, we can also clean up any leftover methods or selectors that are not used and clean them up as well.
What does this entail
Cleaning up the Project/New page object class and moving the GitHub Import page object class to the components/import folder and refactor it to become a module. Move the selection of import with Github to the selection module in components/import.
Relevant links
- The main KR Issue: gitlab-com/www-gitlab-com#11448 (closed)
- Preparing importing MR: !63527 (merged)
Edited by Tomislav Nikić