Improve Percy + accessibilityAudit `View Extension Detail Page` and `Extension Create Form Page`
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
- Add percySnapshotWithVariants to store a visual snapshot for the test.
- 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.