-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Funnel devicelab tests through utils process methods #122161
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
Conversation
|
|
||
| TaskFunction createHotModeTest({ | ||
| String? deviceIdOverride, | ||
| Map<String, String>? environment, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
environment wasn't passed in anywhere, remove it.
| appDartSource.writeAsStringSync( | ||
| appDartSource.readAsStringSync().replaceFirst( | ||
| "'Flutter Gallery'", "'Updated Flutter Gallery'", | ||
| smallReloadData = await captureReloadData( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part is mostly whitespace changes.
jonahwilliams
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
christopherfujino
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Funnel devicelab tests through utils process methods
Devicelab tests are failing with "lost connection", and it would be helpful to add screenshots when these commands fail (instead of adding a tricky-to-pipe
flutter run --screenshotoption, do it in the test harness).Refactor devicelab tests to use the utils
startFlutteretc. process methods so in my next PR I can add a hook for screenshots.Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.