style: 统一下拉与加载指示器
This commit is contained in:
1 parent
397483d339
commit
6f1da5aa39
26 files changed
+127
-241
No files matched your search
@@ -24,9 +24,10 @@ void main() {
|
||||
await _pump(tester, repository);
|
||||
|
||||
expect(find.text('Notice 1'), findsOneWidget);
|
||||
expect(find.byKey(const Key('notices-load-more')), findsOneWidget);
|
||||
|
||||
await tester.tap(find.byKey(const Key('notices-load-more')));
|
||||
await tester.drag(
|
||||
find.byKey(const Key('notices-list')),
|
||||
const Offset(0, -300),
|
||||
);
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
expect(find.text('Notice 3'), findsOneWidget);
|
||||
|
||||
Reference in new issue
Block a user