-
Notifications
You must be signed in to change notification settings - Fork 6k
Run and record adb shell screenrecord
during Android scenario app
#51832
Conversation
Also /cc @camsim99 for funsies. |
await step('Running instrumented tests...', () async { | ||
final (int exitCode, StringBuffer out) = await pm.runAndCapture(<String>[ | ||
adb.path, | ||
'shell', | ||
'am', | ||
'instrument', | ||
'-w', | ||
'--no-window-animation', | ||
'--no-window-animation', |
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.
intentional?
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.
Nope, that was weird!
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
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 outside of weird spacing @jonahwilliams already pointed out
Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change). If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review. |
…sions) (#146108) Manual roll requested by [email protected] Cannot build log URL because revision "9a513de65251" is invalid: Luci builds of "Linux linux_android_emulator_skia_tests" for 9a513de65251f83a43d979bb0b2d4c8ee2f8c417 was FAILURE 2024-04-01 98614782+auto-submit[bot]@users.noreply.github.com Reverts "[Impeller] Avoid loading redundant Vulkan extensions. (#51818)" (flutter/engine#51835) 2024-04-01 [email protected] Run and record `adb shell screenrecord` during Android scenario app (flutter/engine#51832) 2024-04-01 [email protected] Roll Skia from 0b0ed6ca101b to fe64c32d7f2e (4 revisions) (flutter/engine#51831) 2024-04-01 [email protected] Run the `DrawSolidBlueScreenTest` 5x in a row in bringup builds. (flutter/engine#51829) 2024-04-01 [email protected] Remove tests related to StrictMode that were never running on CI. (flutter/engine#51827) 2024-04-01 [email protected] [Impeller] Ignore warnign about shader stages not consuming outputs. (flutter/engine#51822) 2024-04-01 [email protected] [Skwasm] Forward text height from paragraph height to default text style (flutter/engine#51819) 2024-04-01 [email protected] Remove log statements that did not help. (flutter/engine#51825) 2024-04-01 [email protected] Roll Skia from 40c436a785fa to 0b0ed6ca101b (6 revisions) (flutter/engine#51823) 2024-04-01 [email protected] [Impeller] Add a TextureGLES API for wrapping a framebuffer and use it to implement OpenGL FBO targets in the embedder library (flutter/engine#51269) 2024-04-01 [email protected] Remove `testing/android_background_image` which does not run/exist on CI. (flutter/engine#51815) 2024-04-01 [email protected] [Impeller] Avoid loading redundant Vulkan extensions. (flutter/engine#51818) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Previously our screenshots looked like this (when they ran correctly):  Now, sometimes (only on CI unfortunately) they look like this:  This started happening after #51832, but the change should be future-proof as well even if we disable the screen recording feature. h/t @reidbaker
#51843)" (#51847) Reverts: #51843 Initiated by: matanlurey Reason for reverting: broke tree because the bottom bar now shows up. Original PR Author: matanlurey Reviewed By: {jonahwilliams} This change reverts the following previous change: Previously our screenshots looked like this (when they ran correctly):  Now, sometimes (only on CI unfortunately) they look like this:  This started happening after #51832, but the change should be future-proof as well even if we disable the screen recording feature. h/t @reidbaker
More grasping at straws to solve flutter/flutter#145988.
At some point this could be moved to
--verbose
if it isn't useful.This will automatically be copied into
${FLUTTER_LOGS_DIR}
, yay!Example:
screen.mp4