Skip to content

Setup CI pipeline to run Jest tests in vue3 compat

Goal

Run GitLab CI in vue 3 compatibility mode, on a schedule, to provide feedback on the current status of our Jest tests

Benefits

  1. Visualize progress on how many test failures we have remaining
  2. Report any new component that is recently merged that has vue3 violations in them
  3. Report any new test being written that has vue3 violations in them

Proposed Steps

  1. Create a scheduled master pipeline (or a dedicated branch) to run ONLY snapshot tests, ensuring everything passes.
  2. Create a scheduled master pipeline (or a dedicated branch) to run the entire compat test suite on a schedule
  3. Create a manual job in MR pipelines to run tests with compat mode, compare if the pass/fail count is consistent with the pipeline from step 2
Edited by Jennifer Li