diff --git a/lib/portfolixir_web/live/dashboard_live.ex b/lib/portfolixir_web/live/dashboard_live.ex index dd747b9..0b52817 100644 --- a/lib/portfolixir_web/live/dashboard_live.ex +++ b/lib/portfolixir_web/live/dashboard_live.ex @@ -124,6 +124,9 @@ defmodule PortfolixirWeb.DashboardLive do <% else %>
| <%= gettext("Source") %> | diff --git a/test/portfolixir_web/live/dashboard_live_test.exs b/test/portfolixir_web/live/dashboard_live_test.exs index c3ac179..f878f59 100644 --- a/test/portfolixir_web/live/dashboard_live_test.exs +++ b/test/portfolixir_web/live/dashboard_live_test.exs @@ -93,6 +93,13 @@ defmodule PortfolixirWeb.DashboardLiveTest do {:ok, view, _html} = live(conn, "/") assert has_element?(view, "#dashboard-recent-import-runs") + + assert has_element?( + view, + "#dashboard-import-runs-table-caption.app-shell-visually-hidden", + "Recent import runs with source, status, start time, and finish time." + ) + assert has_element?(view, "#dashboard-import-runs-link[href=\"/imports\"]") assert has_element?(view, "#dashboard-import-run-row-#{run.id}") assert has_element?(view, "#dashboard-import-run-row-#{run.id}", source.name)
|---|