test: updated tests
This commit is contained in:
parent
b71df98ba2
commit
41e3a52482
6 changed files with 412 additions and 16 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue