Skip to content

[SG-34403-1] Improve Percy + accessibilityAudit test coverage on User Profile Settings, User Email Settings, User Password Settings Page

Administrator requested to merge contractors/SG-34403-1 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 Profile Page , Email Page , Password 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/profile.test.ts Test should pass successfully

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading