This commit is contained in:
parent
c8d7dd3e55
commit
c62b105518
2 changed files with 17 additions and 16 deletions
|
|
@ -235,11 +235,10 @@ defmodule MvWeb.ImportLiveTest do
|
|||
|
||||
test "page loads and shows import form", %{conn: conn} do
|
||||
{:ok, view, _html} = live(conn, ~p"/admin/import")
|
||||
assert has_element?(view, "[data-testid='import-page']")
|
||||
assert has_element?(view, "[data-testid='csv-upload-form']")
|
||||
assert has_element?(view, "[data-testid='start-import-button']")
|
||||
assert has_element?(view, "[data-testid='custom-fields-link']")
|
||||
html = render(view)
|
||||
assert html =~ "Import Members (CSV)"
|
||||
end
|
||||
|
||||
test "template links and file input are present", %{conn: conn} do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue