Skip to content

Broken Widget in Golden Test Output #18

@ajaxspace

Description

@ajaxspace

Problem:
The golden test for the dark mode variant of the molecules_collection renders a red error widget, indicating a runtime failure during widget build or layout.

📍 File:
flutter_styleguide/test/golden/failures/molecules_collection_dark_testImage.png

🟥 The presence of the red error box (typically with "Error building widget" or similar) means:

  • The widget did not build successfully
  • The test captured a runtime UI failure, not just a visual diff

🔍 Action Needed

  • Run the test locally and inspect the console/log output to determine the actual exception.
  • Common causes:
    • Null or missing data
    • Theme or context issues
    • Broken layout constraints
    • Misconfigured test setup

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions