Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
At the driver test case, i want to know the details about the phone that is being tested such as the chosen locale and screen size #31609
At the driver test case, i want to know few things like which locale where used within the app or the screen size that is being tested (Consider that i run the same set of tests on several combinations of phones and locales).
I can use this informations to test some behaviors that should happen depending on the screen size or locale. Sometimes, you want to be sure that some localized info is being displayed on the screen. Or some behavior should happen depending on the locale.
It is possible to get runtime info about the app by sending a request to the app via the flutter driver extension. Whatever runtime info is available in the app, that can be useful to the test, can then be returned to the test. May not cover all use cases, but should cover many use cases.