Skip to content

Re-enable flame.test in customer_testing once flame-engine/flame#4125 lands #194883

Closed

Description

@mdebbar

flutter/tests#508 temporarily disabled registry/flame.test to unblock Linux customer_testing on flutter/flutter.

material_ui 1.8.0 (published to pub.dev from flutter/packages#13321, including flutter/packages#13161) enabled route-transition raster snapshotting (allowSnapshotting = true) in FadeForwardsPageTransitionsBuilder on Android, matching ZoomPageTransitionsBuilder.

Because registry/flame.test checks out flame-engine/flame (which has no pubspec.lock and declares material_ui: any) and runs flutter packages get (update=.), every customer_testing run after material_ui 1.8.0 was published resolved 1.8.0 live from pub.dev and failed in game_widget_lifecycle_test.dart:

Expected: ['onGameResize', 'onLoad', 'onMount', 'update', 'render', 'update', 'render', 'update', 'onRemove', 'onDispose']
  Actual: ['onGameResize', 'onLoad', 'onMount', 'update', 'render', 'update', 'update', 'onRemove', 'onDispose']
   Which: at location [6] is 'update' instead of 'render'

In that test, tester.tap(find.text('Play')) pumps a second frame 16ms into the /game route transition; SnapshotWidget now reuses the raster snapshot captured on the first transition frame instead of calling GameRenderBox.paint a second time.

Example CI failures:

To close this issue:

Activity

  1. self-assigned this
    on Oct 20, 2026
  2. github-actions commented on Nov 4, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  3. locked as resolved and limited conversation to collaborators on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions