Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
supergarotinho opened this issue Apr 25, 2019 · 2 comments

Comments

@supergarotinho
Copy link

commented Apr 25, 2019

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.

@supergarotinho

This comment has been minimized.

Copy link
Author

commented Apr 25, 2019

Related issues:
#25141
#12831
#9002

@mmcc007

This comment has been minimized.

Copy link

commented Jul 23, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.