Merge branch 'main' of dokku:firehose.apps.sustainabledelivery.com

This commit is contained in:
Firehose Bot
2026-07-13 15:02:22 +01:00
10 changed files with 130 additions and 11 deletions
@@ -90,9 +90,9 @@ defmodule FirehoseWeb.MicroprintsLiveTest do
assert html =~ ~s(phx-value-path="#{file_a}")
assert html =~ "Collapse"
# Highlight a line in file B via direct event (avoids brittle DOM selector)
view
|> render_click("highlight_line", %{"line" => "1", "path" => file_b})
# Highlight a line in file B by dispatching the highlight_line event
# (microprint renders multiple rect segments per line, element() can't pick one)
render_click(view, "highlight_line", %{"line" => "1", "path" => file_b})
# file A should be collapsed when highlighting a different file
html = render(view)