I have an application with a short setup first time you start the application. In this setup you are able to enable or disable Insights with a switch.
This choise can later be changed in a Settings menu, where the switch will have the value originaly set.
However i'm unable to read the value in my UI tests. When I query or use tree to inspect the element, it's identical if it's on or off.
Is there any way to check the value of a switch?