The error occurs when trying to test a widget with an image and infinite animation
The test was completed successfully.
goldenTest(
'Animation with image',
fileName: 'example',
pumpBeforeTest: precacheImages,
pumpWidget: (tester, widget) async {
await tester.pumpWidget(widget);
await tester.pump(Durations.medium4);
},
builder: () {
return GoldenTestGroup(
scenarioConstraints:
const BoxConstraints(maxWidth: 1200, minWidth: 600),
children: [
GoldenTestScenario(
name: 'Animation',
child: const Column(
children: [
CircularProgressIndicator(
color: Colors.red,
),
SizedBox.square(
dimension: 120,
child: Image(image: AssetImage(UiKitImages.cluster)),
),
],
),
),
],
);
},
);
Is there an existing issue for this?
Version
0.10.0
Description
The error occurs when trying to test a widget with an image and infinite animation
Steps to reproduce
Expected behavior
The test was completed successfully.
Screenshots
Additional context and comments
Example