diff --git a/lib/broadway_dashboard.ex b/lib/broadway_dashboard.ex index c00a640..5ceb104 100644 --- a/lib/broadway_dashboard.ex +++ b/lib/broadway_dashboard.ex @@ -246,7 +246,7 @@ defmodule BroadwayDashboard do <:col> <.row> <:col> - <.card title="All time" hint="Messages since start." inner_title="successful"><%= @stats.successful %> + <.card title="Successful" hint="Messages since the BroadwayDashboard page was first mounted." inner_title="successful"><%= @stats.successful %> <:col> <.card inner_title="failed"><%= @stats.failed %> diff --git a/test/broadway_dashboard_test.exs b/test/broadway_dashboard_test.exs index 23b13ba..5085ec2 100644 --- a/test/broadway_dashboard_test.exs +++ b/test/broadway_dashboard_test.exs @@ -87,7 +87,7 @@ defmodule BroadwayDashboardTest do rendered = render(live) assert rendered =~ "Updates automatically" assert rendered =~ "Throughput" - assert rendered =~ "All time" + assert rendered =~ "Successful" end test "auto discover is enabled when pipeline is registered using via" do @@ -131,7 +131,7 @@ defmodule BroadwayDashboardTest do rendered = render(live) assert rendered =~ "Updates automatically" assert rendered =~ "Throughput" - assert rendered =~ "All time" + assert rendered =~ "Successful" assert rendered =~ "prod_0"