refactor(ui): replace translation key with direct character for remove action

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan
2025-07-12 16:49:00 -04:00
parent e8a3495c70
commit 1de84dbd0c
13 changed files with 14 additions and 29 deletions
+2 -6
View File
@@ -205,9 +205,7 @@ describe('SelectPlaylistInput', () => {
})
// Find and click the remove button (translation key)
const removeButton = screen.getByText(
'resources.playlist.actions.removeSymbol',
)
const removeButton = screen.getByText('×')
fireEvent.click(removeButton)
await waitFor(() => {
@@ -480,9 +478,7 @@ describe('SelectPlaylistInput', () => {
})
// Remove the first selected playlist via chip
const removeButtons = screen.getAllByText(
'resources.playlist.actions.removeSymbol',
)
const removeButtons = screen.getAllByText('×')
fireEvent.click(removeButtons[0])
await waitFor(() => {