flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond

Home Page:https://flutter.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

supergarotinho opened this issue · comments

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.

Related issues:
#25141
#12831
#9002

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.

For example:
mmcc007/screenshots@0c3df71

HI... Is there a way to get a resolution for this item any time soon...
This is open since quite some time now...