fix(player): 评论入口改为假输入框点击唤起

This commit is contained in:
Zhou Weidong committed 2026-10-21 13:12:30 +08:00
1 parent a142a6c318
commit 425ea4c0b7
3 files changed
+236 -176

No files matched your search

+2
View File
@@ -248,6 +248,8 @@ void main() {
await tester.tap(find.byKey(const Key('player-rail-comments')));
await tester.pumpAndSettle();
expect(find.text('No comments yet.'), findsOneWidget);
await tester.tap(find.byKey(const Key('comment-input-placeholder')));
await tester.pumpAndSettle();
await tester.enterText(find.byKey(const Key('comment-input')), 'Nice demo');
await tester.pump();
await tester.tap(find.byKey(const Key('comment-post')));