test(playlists): playlist_card finds LucideIcons.ellipsis_vertical

#60 swapped Icons.more_vert -> LucideIcons.ellipsis_vertical in
playlist_card.dart; the widget test still asserted the old Material
icon (find.byIcon(Icons.more_vert)) and failed. Update both finders
+ import flutter_lucide.

Note: like_button_test.dart still references Icons.favorite but is
skip:true (gated on Fable #399) so it compiles and doesn't run;
flagged as stale to update when that test is unskipped.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-18 20:50:10 -04:00
parent 835592f073
commit 359a072937
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter_lucide/flutter_lucide.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_test/flutter_test.dart';
@@ -67,7 +68,7 @@ void main() {
body: PlaylistCard(playlist: _forYou),
),
)));
expect(find.byIcon(Icons.more_vert), findsOneWidget);
expect(find.byIcon(LucideIcons.ellipsis_vertical), findsOneWidget);
});
testWidgets('no refresh kebab on user playlists', (tester) async {
@@ -78,6 +79,6 @@ void main() {
body: PlaylistCard(playlist: _userPlaylist),
),
)));
expect(find.byIcon(Icons.more_vert), findsNothing);
expect(find.byIcon(LucideIcons.ellipsis_vertical), findsNothing);
});
}