Thanks @noomorph! I think we need to try to dig up a simpler solution for Android specifically because:
It's about changing the setting on the device; The effect on the app is not necessarily inherent, and the gap could potentially add noise that is more attributed to functionality testing rather than the desired visibility+layout testing, as with the case of screenshot-testing (which typically dark-mode switching is for).
Describe your idea
It would be nice to provide some API for toggling between light and dark theme on devices: