[animations] Migrate scrim color tests (#360)

diff --git a/packages/animations/test/open_container_test.dart b/packages/animations/test/open_container_test.dart
index 0dd5aaf..3c53c95 100644
--- a/packages/animations/test/open_container_test.dart
+++ b/packages/animations/test/open_container_test.dart
@@ -1827,7 +1827,14 @@
 }
 
 Color _getScrimColor(WidgetTester tester) {
-  return tester.widget<ColoredBox>(find.byType(ColoredBox)).color;
+  return tester
+      .widget<ColoredBox>(
+        find.descendant(
+          of: find.byType(Container),
+          matching: find.byType(ColoredBox),
+        ),
+      )
+      .color;
 }
 
 void _expectMaterialPropertiesHaveAdvanced({