New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Percy + accessibilityAudit test coverage on commits Page
#34960
Conversation
dec91be
to
4e30310
Compare
commits Page
commits Page
@@ -154,6 +154,7 @@ export const RepositoryCommitsPage: React.FunctionComponent<React.PropsWithChild | |||
history={props.history} | |||
hideSearch={true} | |||
location={props.location} | |||
listComponent="div" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
listComponent="div" |
What is the failure here? is it because there is no
I think we still ideally want this to be a list, as it definitely helps understand each item (e.g. commit 10 out of 20)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Visual diff looks good, left some small accessibility comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great - thank you!
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 this Commits Page
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/repository.test.ts
Test should pass successfully
App preview:
Check out the client app preview documentation to learn more.