Skip to content

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.

2 participants