Test plan for "Related merge requests in issue design - New elements"
Test Plan
Below you will find the test plan for the feature "Related merge requests in issue design - New elements", that is part of 11.11 milestone.
Introduction
More useful information will be added to the "Related merge requests" widget/component, such as status, path and ID, title (with a link to the merge request), assignees, items left to allow merge, and pipeline status.
This test plan is related to the issue https://gitlab.com/gitlab-org/gitlab-ce/issues/51862
Scope
Intuitive
It should be easy to identify the below items of the related MR in a first glance:
- status
- path and ID
- linkable title
- assignees
- items left to allow merge
- pipeline status
Functional
- It should be possible to see the related MRs in all their possible status
- When hovering over the related MR status, a tooltip should be shown with information such as status text (e.g., opened 1 hour ago), and date and time. https://gitlab-org.gitlab.io/gitlab-design/hosted/pedro/%2383-issue-mr-rows-cards-spec-previews/#artboard0
- When clicking in the linkable title of a related MR, the user should be correctly redirected to the related MR page
- When hovering over the assignee's avatars the information about who they are should be shown
- When clicking the assignee's avatar, the user should be correctly redirected to the user's profile
- When three people are assigned to a related MR, the avatars of all of them should be shown
- When more than three people are assigned to a related MR, the avatars of two of them should be shown, and the third icon should indicate how many more people are assigned (e.g., +2).
- In the case of more than three people assigned to a related MR, when hovering over the icon that indicates that more people are assigned, a tooltip should be shown indicating how many more assignees are (e.g., 2 more assignees). https://gitlab.com/gitlab-org/gitlab-ce/issues/51862#note_157859677
- The count of items left to allow merge should be correctly displayed
- When hovering over the items left to allow merge, and there are items left, a tooltip should be opened, and it should show a text of how many items are left to allow merge (e.g., 7 items left to allow merge); it should show an icon and text about approval required; and it should show an icon and text for the discussions resolved (e.g., 2/8 resolved discussions) https://gitlab.com/gitlab-org/gitlab-ce/issues/51862#note_157862838
- When there are merge conflicts, such information should be shown when hovering over the items left to allow merge. (https://gitlab.com/gitlab-org/gitlab-ce/issues/51862#note_157862838)
- When hovering over the items left to allow merge and all items are resolved, a tooltip should be shown informing that it is good to merge. https://gitlab.com/gitlab-org/gitlab-ce/issues/51862#note_157862838
- When hovering over the items left to allow merge and no items were left to resolve, such information should be shown. https://gitlab.com/gitlab-org/gitlab-ce/issues/51862#note_157862838
- It should be possible to see all the possible pipeline status of a related MR
- When clicking in the pipeline status, it should expand so that the user can see the executed jobs, and the pipeline jobs should be clickable. When clicking the pipeline jobs the user should be correctly redirected to the job pipeline page.
ACC Matrix
Attributes (columns) are adverbs or adjectives that describe (at a high level) the qualities testing is meant to ensure Components have.
Components (rows) are nouns that define major parts of the product being tested.
Capabilities link Attributes and Components. They are what your product needs to do to make sure a Component fulfills an Attribute
For more information see the Google Testing Blog article about the 10 minute test plan and this wiki page from an open-source tool that implements the ACC model.
| Intuitive | Functional | |
|---|---|---|
| Related MRs | 6 | 15 |
Capabilities
- Related MRs
- See scope info above.
Test Plan
When adding new automated tests, please keep testing levels in mind.