feat(app): short motion for collapsibles, badges, new runs and the action bar; none under reduced motion
This commit is contained in:
@@ -56,7 +56,10 @@ void main() {
|
||||
expect(badge, findsOneWidget);
|
||||
expect(tester.widget<Badge>(badge).isLabelVisible, isFalse);
|
||||
expect(
|
||||
find.descendant(of: badge, matching: find.byType(Text)),
|
||||
find.descendant(
|
||||
of: badge,
|
||||
matching: find.textContaining(RegExp(r'\d')),
|
||||
),
|
||||
findsNothing,
|
||||
);
|
||||
expect(find.bySemanticsLabel(anyAttention), findsNothing);
|
||||
|
||||
@@ -94,7 +94,7 @@ void main() {
|
||||
expect(
|
||||
find.descendant(
|
||||
of: find.byKey(const ValueKey('shell.badge.chat.unread')),
|
||||
matching: find.byType(Text),
|
||||
matching: find.textContaining(RegExp(r'\d')),
|
||||
),
|
||||
findsNothing,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user