From 359a072937808fc6d67820afae8da65d96d1bbb3 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Mon, 18 May 2026 20:50:10 -0400 Subject: [PATCH] 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) --- .../test/playlists/widgets/playlist_card_test.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flutter_client/test/playlists/widgets/playlist_card_test.dart b/flutter_client/test/playlists/widgets/playlist_card_test.dart index 69086907..186041d1 100644 --- a/flutter_client/test/playlists/widgets/playlist_card_test.dart +++ b/flutter_client/test/playlists/widgets/playlist_card_test.dart @@ -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); }); }