LifeMate — Personal, Family & Learning Companion
test: place parent shell expectation inside widget test suite
davoodmehraban89 committed
Oct 5, 2026 at 09:05 UTC
4ca11eb6081b170126ad8795617d14d942885f6d
1 file changed
+3
-4
apps/lifemate/test/app_test.dart
+3
-4
@@ -148,10 +148,8 @@ void main() {
148
expect(find.text('کارها'), findsOneWidget);
149
expect(find.text('امتحانها'), findsOneWidget);
150
});
151
-}
152
-
151
154
-testWidgets('parent login opens parent-focused family shell', (tester) async {
152
+ testWidgets('parent login opens parent-focused family shell', (tester) async {
153
await tester.pumpWidget(
154
LifeMateApp(
155
api: FakeApi(
@@ -178,4 +176,5 @@ testWidgets('parent login opens parent-focused family shell', (tester) async {
176
expect(find.text('راهنما'), findsOneWidget);
177
expect(find.text('من'), findsOneWidget);
178
expect(find.text('امتحانها'), findsNothing);
181
-});
179
+ });
180
+}