Test Plan for "Specify that an MR must be merged after another MR"
Test Plan
Introduction
This is a test plan for https://gitlab.com/gitlab-org/gitlab-ee/issues/9688
In this feature, the goal is to be able to create a link between two MR's where the order to merge can be specified. If a MR is ready to be merged, while the MR that needs to be merged before it is not, the merge is prohibited until the more urgent MR is merged.
Scope
The link between two MR's is being tested
- in the same group
- on usability
ACC Matrix
Secure | Intuitive | |
---|---|---|
MRs | 1 | 5 |
Capabilities
The link should have following capabilities:
- The MR should be
- Secure
- The MR link should only be accessible if user has rights to both MRs
- Intuitive
- It should be easy to find available MRs
- No copy/pasting of links required
- Able to change the link and order after MR creation
- It should be easily visible if the other MR is already merged
- It should not be possible to add a MR that is closed or merged
- Secure
Test Plan
Automated end-to-end tests
Scenario I Linking to a MR with standard use case
- Create two MRs in the same group
- Link the first one to the second
- Try to merge the second before the first
error
- Merge the first MR
success
- Now the second MR can be merged as well
success
Scenario II Deleting the linked MR
- Create two MRs in the same group
- Link the first one to the second
- Delete the first MR
- Merge the second MR
success
Scenario III Changing MRs
- Create three MRs in the same group
- One of them should be closed
- Try to add the closed one to the second MR
error
- Link the first one to the second
- Change order or MRs
- Merge second before first
success
/cc @gl-quality
Edited by Tomislav Nikić