As an iOS developer, I want to implement UI regression tests to check the impact of changes to the unit values of new tokens on components.
Details
When modifying the unit values of tokens in our design system, it's possible that some UI components could be unexpectedly affected. To ensure the visual and functional stability of our application, we need to implement UI regression tests. These tests will help verify that key components are not altered by these changes and that the appearance and behavior of UI elements remain consistent with expectations.
Acceptance Criteria:
A set of automated UI regression tests is created for the most critical components impacted by the tokens (e.g., buttons, cards, modals, etc.).
The tests compare screenshots before and after the token modifications to detect any visual differences.
The tests cover the different resolutions and screen sizes supported by the application.
The tests are automatically executed in the CI/CD pipelines after each token modification.
An alert is triggered if any significant visual differences are detected, with detailed reports provided to facilitate debugging.
Description
As an iOS developer, I want to implement UI regression tests to check the impact of changes to the unit values of new tokens on components.
Details
When modifying the unit values of tokens in our design system, it's possible that some UI components could be unexpectedly affected. To ensure the visual and functional stability of our application, we need to implement UI regression tests. These tests will help verify that key components are not altered by these changes and that the appearance and behavior of UI elements remain consistent with expectations.
Acceptance Criteria:
Notes
SnapshotTesting can be an interesting testing solution.
ℹ️ This GitHub issue echoes our internal Jira issue OUDS-225.