Skip to content

Golden file tests don't work locally #149435

@victorsanni

Description

@victorsanni

Steps to reproduce

Run flutter test in packages/flutter

Expected results

Golden file tests should have some functionality.

Actual results

I get the message:

No expectations provided by Skia Gold for test: cupertino.switch.tap.off.png. This may be a new test. If this is an unexpected result, check https://flutter-gold.skia.org.

Equivalent of #144496.

Code sample

None

Screenshots or Video

None

Logs

flutter test /Users/victorsanni/development/flutter/packages/flutter/test/cupertino/switch_test.dart

Flutter Doctor output

Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel master, 3.22.0-14.0.pre.48, on macOS 14.5 23F79 darwin-arm64, locale en)
    ! Unknown upstream repository.
      Reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.88.1)
[✓] Connected device (4 available)
[✓] Network resources

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

Labels

a: tests"flutter test", flutter_test, or one of our testsdependency: skiaSkia team may need to help usr: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions