Skip to content

Refactor unit test report to use namespaced vuex module

Miranda Fluharty requested to merge 363076-unit-test-report-to-vuex-module into master

What does this MR do and why?

For #363076 (closed)

This MR refactors the vuex store for the unit test report (the Tests tab on the pipeline page) to make it into a namespaced module in preparation for #360794 (closed).

Screenshots or screen recordings

No visual changes are expected, but here's the tab:

Screen_Shot_2022-06-29_at_12.14.13

How to set up and validate locally

  1. git checkout 363076-unit-test-report-to-vuex-module
  2. find/clone a project with unit test reports
  3. run a pipeline in the project to generate a test report for the tab to display
  4. navigate to the pipeline, click on the Tests tab
  5. everything should work exactly the same as it does on master - the test summary should load, you should be able to click on each suite and see its tests, there should be a spinner when the suite is loading, there should be an empty state if there are no tests, etc.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Miranda Fluharty

Merge request reports