Skip to content
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

refactor(colorpickers, grid, loaders, tooltips): use transient props + snapshot testing [DO NOT MERGE] #1967

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

ze-flo
Copy link
Contributor

@ze-flo ze-flo commented Nov 1, 2024

⚠️ DO NOT MERGE! ⚠️

Description

This PR adds snapshot tests from stories from the following packages:

  • buttons
  • forms
  • dropdowns
  • drodowns.legacy
  • draggable
  • modals
  • typography
  • grid
  • loaders
  • colorpickers
  • tooltips

These tests capture the current visual appearance of the stories before making changes to transient props.

This helps ensure that the refactoring work in #1968 doesn't accidentally introduce any visual bugs. Identical snapshots taken before and after the changes should give reviewers more confidence that no regressions were introduced.

@ze-flo
Copy link
Contributor Author

ze-flo commented Nov 1, 2024

Acknowledging these 2 commits. Both introduce welcomed fixes:

Other snapshot mismatches should be flagged as a possible regression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant