Reapply "Fix dashboard dark mode readability by using theme-aware text colors"
This reverts commit 76255c7641.
This commit is contained in:
@@ -86,5 +86,15 @@ defmodule FirehoseWeb.EditorDashboardLiveTest do
|
||||
{:ok, _view, html} = live(conn, ~p"/editor/dashboard")
|
||||
refute html =~ "Live Post"
|
||||
end
|
||||
|
||||
test "renders with app layout including menu", %{conn: conn} do
|
||||
{:ok, _view, html} = live(conn, ~p"/editor/dashboard")
|
||||
# Verify the app layout is applied by checking for menu elements
|
||||
assert html =~ "Willem's firehose"
|
||||
assert html =~ "Blog"
|
||||
assert html =~ "Releases"
|
||||
assert html =~ "Contact"
|
||||
assert html =~ "Dashboard" # This should be in the menu
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user