fix: more cleanup of liveview

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-26 06:34:07 +02:00
parent 9fd8cb9e1d
commit ad8d13cb69
4 changed files with 64 additions and 10 deletions

View File

@@ -55,5 +55,13 @@ defmodule BDS.Desktop.ShellLiveTest do
assert html =~ ~s(data-tab-type="settings")
assert html =~ ">Settings<"
html =
view
|> element("[data-testid='tab-close'][data-tab-type='settings'][data-tab-id='settings']")
|> render_click()
refute html =~ ~s(data-tab-type="settings")
assert html =~ ~s(class="tab-bar-empty")
end
end