Added end to end test to Suggest a change and apply change for a Merge Request
This Merge Request adds an end-to-end test for the following scenario.
- As a "root" user, create a new "developer-user" user.
- As a "root" user, create a project.
- Add the "developer-user" user to the project.
- As the "developer-user" user, commit a file to the project using SSH in a new branch.
- As the "developer-user" user, create a merge request (MR) and assign it to the "root" user for review.
- As the "root" user, suggest a change using the "Insert suggestion" button.
- As the "developer-user" user, apply the change.
- As the "root" user, merge the MR.
- As the "root" user, ensure that the repository now has the file with the suggested changes.
Remaining work:
- Observing the below error when trying to run the code which commits a file to the project using SSH in a new branch. You are not allowed to push code to this project. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists
Working on resolving the issue.
- Need to refactor the code to use page objects for the code written to automate the steps 5 to 9 mentioned in the scenario.