test: updated tests

This commit is contained in:
carla 2025-10-24 10:55:11 +02:00
parent 817b4217cf
commit 982ffddd1f
6 changed files with 412 additions and 16 deletions

View file

@ -44,6 +44,7 @@ defmodule MvWeb.Components.SearchBarComponent do
placeholder={@placeholder}
value={@query}
name="query"
data-testid="search-input"
phx-change="search"
phx-target={@myself}
phx-debounce="300"

View file

@ -56,6 +56,7 @@ defmodule MvWeb.Components.SortHeaderComponent do
case dir do
:asc -> gettext("ascending")
:desc -> gettext("descending")
nil -> gettext("Click to sort")
end
end