@@ -70,12 +70,12 @@ void main() {
7070 return const SizedBox .shrink ();
7171 })));
7272 // First, shows a loading page instead of child.
73- check (find.byType (CircularProgressIndicator )).findsOne ();
73+ check (find.byType (BlankLoadingPlaceholder )).findsOne ();
7474 check (globalStore).isNull ();
7575
7676 await tester.pump ();
7777 // Then after loading, mounts child instead, with provided store.
78- check (find.byType (CircularProgressIndicator )).findsNothing ();
78+ check (find.byType (BlankLoadingPlaceholder )).findsNothing ();
7979 check (globalStore).identicalTo (testBinding.globalStore);
8080
8181 await testBinding.globalStore.add (eg.selfAccount, eg.initialSnapshot ());
@@ -98,14 +98,15 @@ void main() {
9898 await tester.pump ();
9999 // Even after the store must have loaded,
100100 // still shows loading page while blockingFuture is pending.
101- check (find.byType (CircularProgressIndicator )).findsOne ();
101+ check (find.byType (BlankLoadingPlaceholder )).findsOne ();
102102 check (find.text ('done' )).findsNothing ();
103103
104104 // Once blockingFuture completes…
105105 completer.complete ();
106106 await tester.pump ();
107+ await tester.pump ();
107108 // … mounts child instead of the loading page.
108- check (find.byType (CircularProgressIndicator )).findsNothing ();
109+ check (find.byType (BlankLoadingPlaceholder )).findsNothing ();
109110 check (find.text ('done' )).findsOne ();
110111 });
111112
@@ -123,14 +124,15 @@ void main() {
123124 await tester.pump ();
124125 // Even after the store must have loaded,
125126 // still shows loading page while blockingFuture is pending.
126- check (find.byType (CircularProgressIndicator )).findsOne ();
127+ check (find.byType (BlankLoadingPlaceholder )).findsOne ();
127128 check (find.text ('done' )).findsNothing ();
128129
129130 // Once blockingFuture completes, even with an error…
130131 completer.completeError (Exception ('oops' ));
131132 await tester.pump ();
133+ await tester.pump ();
132134 // … mounts child instead of the loading page.
133- check (find.byType (CircularProgressIndicator )).findsNothing ();
135+ check (find.byType (BlankLoadingPlaceholder )).findsNothing ();
134136 check (find.text ('done' )).findsOne ();
135137 });
136138
0 commit comments