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, notifications, tags, tooltips): use transient props + snapshot testing [DO NOT MERGE] #1967

Closed
wants to merge 23 commits into 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
  • tags
  • notifications

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.

@ze-flo ze-flo changed the title refactor(colorpickers, grid, loaders, tooltips): use transient props + snapshot testing [DO NOT MERGE] refactor(colorpickers, grid, loaders, notifications, tags, tooltips): use transient props + snapshot testing [DO NOT MERGE] Nov 5, 2024
@ze-flo ze-flo force-pushed the ze-flo/transient-props-rest-w-stories-specs branch from e94b189 to c7ec75d Compare November 6, 2024 17:39
@ze-flo
Copy link
Contributor Author

ze-flo commented Nov 12, 2024

#1968 merged. Closing.

@ze-flo ze-flo closed this Nov 12, 2024
@ze-flo ze-flo deleted the ze-flo/transient-props-rest-w-stories-specs branch December 12, 2024 20:22
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