Add Test Sessions and link with Test Cases
## Problem to Solve By automating the creation of issues, the QA team has been piloting the relationship of [test session reports](https://gitlab.com/gitlab-org/quality/testcase-sessions/-/issues?page=3&state=opened) and [test cases](https://gitlab.com/gitlab-org/quality/testcases/-/issues). While this may solve the problem in the interim, this solution does not scale for others to replicate. ## JTBD When there is a release, release managers and quality engineers want to see what was tested with this change, so that they can collaborate on the release by reviewing the testing performed. ## Proposal **Create a dedicated Test Sessions Page and incorporate linkages** - Reuse the same architecture and base layout functionality of `test cases` for the foundation of `test sessions`. - Add a field to select a `pipeline id` to create a link within a test session - Add the `linked issues` component to associate Test Sessions and Test Cases. |Test Session Report List (Current)|Test Session Report List (Proposed)| |---|---| |![Screenshot_2021-01-11_Issues___GitLab_org_quality_testcase-sessions](/uploads/910e50655f4bc320f9ae4bfdfca348eb/Screenshot_2021-01-11_Issues___GitLab_org_quality_testcase-sessions.png)|![Test_Session_-_List](/uploads/3dc67c4141b10c7cc82e85e733f92d8d/Test_Session_-_List.png)| |Test Session Report (Current)|Test Session Report (Proposed)| |---|---| |![Screen_Shot_2021-01-11_at_17.18.01](/uploads/2aca428ebb9496063d873fd73336e49d/Screen_Shot_2021-01-11_at_17.18.01.png)|![Test_Sessions_-_Edit](/uploads/73926a8cb3c26533f33864ec09e1b0dc/Test_Sessions_-_Edit.png)| |Creating a Test Session|Test Cases with Linked Test Session| |---|---| |![Test_Sessions_-_Edit](/uploads/e6e015d998792175b7f206a937fa5c99/Test_Sessions_-_Edit.png)|![Test_Case_-_Edit](/uploads/cacd27181ee6329735cb5cacecb010d2/Test_Case_-_Edit.png)| ## Out of scope **Test Sessions** - Creation of Test Sessions from a ["Test Plan" or Scenario](https://gitlab.com/gitlab-org/gitlab/-/issues/233520#note_471063341) - Duplication of Test Sessions to reduce copy/pasting effort **Test Cases** - Showing [how test results are displayed](https://gitlab.com/gitlab-org/gitlab/-/issues/233520#note_453157051), because each test case will have multiple test results. - Incorporate the [test report feature](https://docs.gitlab.com/ee/ci/unit_test_reports.html#viewing-unit-test-reports-on-gitlab) which includes [screenshots and errors](https://gitlab.com/groups/gitlab-org/-/epics/3197). ## Resources [See Figma →](https://www.figma.com/file/4ScW5cvx21mQwlHVVa0QKc/Quality-Management?node-id=320%3A0)
epic