Commit c27ad35
✅ #292 - chore: Stable test results for date range picker
Currently, the date range picker storybook tests finish on an empty selected. With this, the current date is selected as default value. When running chromatic the date range picker components are always flagged as "modified" because the selected date is different then before.
By making the date range picker tests finish on a stable predetermined selected date, we ensure that future chromatic tests will result to the same UI and don't trigger false-positive "modified" results.1 parent 6d0b2a9 commit c27ad35
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
139 | 150 | | |
140 | 151 | | |
141 | 152 | | |
| |||
0 commit comments