Skip to content

Improve Percy test coverage

Administrator requested to merge contractors/SG-28129.1 into main

Created by: gitstart-sourcegraph

Description

We have some web application pages covered with visual tests via Percy. But a lot of core functionality is not covered, and it reduces our confidence in shipping visual changes.

Refs

Gitstart Task SG Issue

Pages to cover:

  • Home / Search page
  • Search Notebook
  • User Batch Changes

Success Criteria

  1. Important parts of the web application not covered with visual tests are identified. 4h estimate. use https://k8s.sgdev.org/ to explore pages that are not covered. use this Percy report to see which pages are already covered.
  2. Integration tests rendering these parts of the app are identified. 4h estimate. find integration tests here client/web/src/integration/**.test.ts. see documentation on how to run integration tests locally here.
  3. Percy screenshots are added to the integration tests identified in the previous step. 2h estimate. use percySnapshotWithVariants to make a Percy snapshot for a selected page in the integration test

Merge request reports

Loading