test: updated tests

This commit is contained in:
carla 2025-10-24 10:55:11 +02:00 committed by moritz
parent b71df98ba2
commit 41e3a52482
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