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
This is a very uncommon case, but one can use Previews to preview Custom XML-Views.
I've observed that if using the plugin option from Roborazzi to autogenerate screenshot tests out of previews, locale, uiMode and fontscale are not applied properly.
if one applies it at the very beginning, it works as expected. The branch to reproduce it would be here: Here it works as expected, as previewDevice is set at the very beginning:
However, if you change the order as in Roborazzi in this class
not all previewInfos are applied.
Although this seems straightforward to solve, there are 2 open questions:
Do we want to write a screenshot test to cover this case?
Since the order seems to be relevant (although only in this case), do we want to "warn" the user if previewDevice is used and it is not first?
The text was updated successfully, but these errors were encountered:
This is a very uncommon case, but one can use Previews to preview Custom XML-Views.
I've observed that if using the plugin option from Roborazzi to autogenerate screenshot tests out of previews, locale, uiMode and fontscale are not applied properly.
it seems that is because the RoborazziComposeOption previewDevice is applied in the middle.
if one applies it at the very beginning, it works as expected. The branch to reproduce it would be here:
Here it works as expected, as previewDevice is set at the very beginning:
However, if you change the order as in Roborazzi in this class
not all previewInfos are applied.
Although this seems straightforward to solve, there are 2 open questions:
The text was updated successfully, but these errors were encountered: