fix: more cleanup of liveview
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
1 parent
9fd8cb9e1d
commit
ad8d13cb69
4 files changed
+64
-10
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user