feat(flutter): 重设计创作与我的页面

This commit is contained in:
Zhou Weidong committed 2026-10-20 10:28:31 +08:00
1 parent d50c6e6d9f
commit 03c3964353
17 files changed
+807 -234

No files matched your search

+7
View File
@@ -40,6 +40,13 @@ void main() {
expect(find.byKey(const Key('create-page')), findsOneWidget);
expect(find.text('Create'), findsWidgets);
expect(find.text('Stories become short dramas'), findsOneWidget);
expect(find.byKey(const Key('create-ai')), findsOneWidget);
expect(find.byKey(const Key('create-upload')), findsOneWidget);
await tester.tap(find.byKey(const Key('create-ai')));
await tester.pumpAndSettle();
expect(find.byKey(const Key('create-placeholder-page')), findsOneWidget);
expect(find.text('Coming soon'), findsOneWidget);
});
testWidgets('should_switch_home_channel_when_chip_is_tapped', (tester) async {