diff --git a/lib/portfolixir_web/live/dashboard_live.ex b/lib/portfolixir_web/live/dashboard_live.ex index 0b52817..8d57e3d 100644 --- a/lib/portfolixir_web/live/dashboard_live.ex +++ b/lib/portfolixir_web/live/dashboard_live.ex @@ -172,6 +172,9 @@ defmodule PortfolixirWeb.DashboardLive do <% else %>
| <%= gettext("Security") %> | diff --git a/test/portfolixir_web/live/dashboard_live_test.exs b/test/portfolixir_web/live/dashboard_live_test.exs index f878f59..b714e1f 100644 --- a/test/portfolixir_web/live/dashboard_live_test.exs +++ b/test/portfolixir_web/live/dashboard_live_test.exs @@ -120,6 +120,13 @@ defmodule PortfolixirWeb.DashboardLiveTest do {:ok, view, _html} = live(conn, "/") assert has_element?(view, "#dashboard-recent-fund-documents") + + assert has_element?( + view, + "#dashboard-fund-documents-table-caption.app-shell-visually-hidden", + "Recent fund documents with security, filename, extraction status, and review action." + ) + assert has_element?(view, "#dashboard-fund-document-row-#{fund_document.id}") assert has_element?(view, "#dashboard-fund-document-row-#{fund_document.id}", security.name) assert has_element?(view, "#dashboard-fund-document-row-#{fund_document.id}", security.symbol)
|---|