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 · 3 comments
Labels
c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter framework flutter/packages/flutter repository. See also f: labels. P3 Issues that are less important to the Flutter project t: flutter driver "flutter driver", flutter_drive, or a driver test team-framework Owned by Framework team triaged-framework Triaged by Framework team

Comments

@supergarotinho
Copy link

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
Copy link
Author

supergarotinho commented Apr 25, 2019

Related issues:
#25141
#12831
#9002

@mmcc007
Copy link

mmcc007 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

@BondarenkoStas BondarenkoStas added c: new feature Nothing broken; request for a new capability t: flutter driver "flutter driver", flutter_drive, or a driver test tool Affects the "flutter" command-line tool. See also t: labels. labels Oct 16, 2019
@ManmeetChadha9
Copy link

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

@jmagman jmagman added this to Awaiting triage in Tools - driver review Jan 10, 2020
@jonahwilliams jonahwilliams removed the tool Affects the "flutter" command-line tool. See also t: labels. label May 23, 2020
@jonahwilliams jonahwilliams removed this from Awaiting triage in Tools - driver review May 23, 2020
@iapicca iapicca added framework flutter/packages/flutter repository. See also f: labels. c: proposal A detailed proposal for a change to Flutter labels Jul 1, 2020
@goderbauer goderbauer added the P6 label Feb 7, 2023
@flutter-triage-bot flutter-triage-bot bot added P3 Issues that are less important to the Flutter project and removed P6 labels Jun 28, 2023
@flutter-triage-bot flutter-triage-bot bot added team-framework Owned by Framework team triaged-framework Triaged by Framework team labels Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter framework flutter/packages/flutter repository. See also f: labels. P3 Issues that are less important to the Flutter project t: flutter driver "flutter driver", flutter_drive, or a driver test team-framework Owned by Framework team triaged-framework Triaged by Framework team
Projects
None yet
Development

No branches or pull requests

7 participants