feat(nav): 底部导航改为首页推荐追剧我的
This commit is contained in:
1 parent
ec3cb8f163
commit
91e869d589
34 files changed
+359
-263
No files matched your search
@@ -99,9 +99,9 @@ void main() {
|
||||
);
|
||||
expect(forwarded, [DiscoverPageAction.home]);
|
||||
|
||||
logic.act(pageContext, DiscoverPageAction.my, embedded: false);
|
||||
logic.act(pageContext, DiscoverPageAction.mine, embedded: false);
|
||||
await tester.pumpAndSettle();
|
||||
await expectLater(popped.future, completion(DiscoverPageAction.my));
|
||||
await expectLater(popped.future, completion(DiscoverPageAction.mine));
|
||||
logic.dispose();
|
||||
});
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ Future<void> _pumpFilterPage(WidgetTester tester) async {
|
||||
),
|
||||
);
|
||||
await tester.pumpAndSettle();
|
||||
await tester.tap(find.byKey(const Key('tab-theater')));
|
||||
await tester.tap(find.byKey(const Key('tab-recommend')));
|
||||
await tester.pumpAndSettle();
|
||||
await tester.tap(find.byKey(const Key('theater-toolbar-filter')));
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
@@ -455,7 +455,7 @@ Future<void> _pumpTheater(
|
||||
),
|
||||
);
|
||||
await tester.pumpAndSettle();
|
||||
await tester.tap(find.byKey(const Key('tab-theater')));
|
||||
await tester.tap(find.byKey(const Key('tab-recommend')));
|
||||
await tester.pumpAndSettle();
|
||||
}
|
||||
|
||||
|
||||
@@ -303,7 +303,7 @@ Future<void> _pumpTheater(
|
||||
),
|
||||
);
|
||||
await tester.pumpAndSettle();
|
||||
await tester.tap(find.byKey(const Key('tab-theater')));
|
||||
await tester.tap(find.byKey(const Key('tab-recommend')));
|
||||
await tester.pumpAndSettle();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user