Skip to content

Commit 862b48a

Browse files
committed
(squash) user-status: Update a test on profile page
1 parent cc11ad6 commit 862b48a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/widgets/profile_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import '../stdlib_checks.dart';
2929
import '../test_images.dart';
3030
import '../test_navigation.dart';
3131
import 'checks.dart';
32+
import 'finders.dart';
3233
import 'test_app.dart';
3334

3435
late PerAccountStore store;
@@ -391,7 +392,7 @@ void main() {
391392
check(statusEmojiFinder).findsOne();
392393
check(tester.widget<UserStatusEmoji>(statusEmojiFinder)
393394
.neverAnimate).isFalse();
394-
check(find.text('Busy')).findsOne();
395+
check(findText(includePlaceholders: false, 'Busy')).findsOne();
395396
});
396397
});
397398

0 commit comments

Comments
 (0)