You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To prevent regression e.g. when updating the MDC libraries, we should have a way to see if anything (e.g. the structure of a component) changed unintentionally.
Description of the proposed solution
Add snapshots tests.
Description of the considered alternatives
An alternative is visual regression testing (a.k.a. screenshot tests). As #683 showed, these seem to be really flaky in our current setup and therefore are not suited for us at the moment.
Additional context
Snapshot testing is already partially implemented by #698 but there is still a problem with components that generate a unique ID to function properly. These ids changes with every render and therefore differ every test run.
The text was updated successfully, but these errors were encountered:
janivo
added
feature
This issue introduces a new feature
discussion
This issue needs to be discussed further
new
This issue has been recently added and has no estimation
labels
Aug 25, 2022
Feature Request
To prevent regression e.g. when updating the MDC libraries, we should have a way to see if anything (e.g. the structure of a component) changed unintentionally.
Description of the proposed solution
Add snapshots tests.
Description of the considered alternatives
An alternative is visual regression testing (a.k.a. screenshot tests). As #683 showed, these seem to be really flaky in our current setup and therefore are not suited for us at the moment.
Additional context
Snapshot testing is already partially implemented by #698 but there is still a problem with components that generate a unique ID to function properly. These ids changes with every render and therefore differ every test run.
The text was updated successfully, but these errors were encountered: