Skip to content

Improve Percy + accessibilityAudit `View Extension Detail Page` and `Extension Create Form Page`

Warren Gifford requested to merge contractors/SG-34403.2 into main

Created by: gitstart-sourcegraph

Description

We currently have visual regression + accessibility audit tests on a series of user journeys within Sourcegraph. A lot of core functionality is still not covered, it reduces our confidence in shipping changes as UI/accessibility bugs can be introduced without our awareness.

Implementation

For view extension detail page and extension create form page

  1. Add percySnapshotWithVariants to store a visual snapshot for the test.
  2. Add accessibilityAudit to run our accessibility tests, and fix any identified problems.

Refs

Sourcegraph Issue Gitstart Ticket

Test plan

Run ENTERPRISE=1 yarn build-web Run ENTERPRISE=1 HEADLESS=true yarn _test-integration client/web/src/integration/extension-registry.test.ts Test should pass successfully

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading