End-to-end test for Related Issues
The test could be something like this:
- The user logs in
- A group, project, and two issues are fabricated via API
- The user visits one of the issues and relates it to the other issue
- Then the assertion happens to check that one issue was related to the other
Another test case could be the following:
- The user logs in
- A group, project, and two issues are fabricated via API, and one issue is related to the other
- The user visits the issue that has a relation and unrelates it
- Then the assertion happens to check that the issue has no relation with the other issue anymore
For more information on the Related Issues feature, please read the following doc: https://docs.gitlab.com/ee/user/project/issues/related_issues.html#related-issues
Edited by Walmyr Lima e Silva Filho