fix: tests for removed assist cards
This commit is contained in:
1 parent
c8d2c73a72
commit
d31ceb72cb
2 files changed
+11
-7
No files matched your search
@@ -3311,7 +3311,9 @@ defmodule BDS.Desktop.ShellLiveTest do
|
||||
|> render_click()
|
||||
|
||||
refute html =~ "ai-suggestions-modal"
|
||||
assert html =~ "Automatic AI actions stay gated by airplane mode"
|
||||
|
||||
output_html = render_click(view, "select_panel_tab", %{"tab" => "output"})
|
||||
assert output_html =~ "Automatic AI actions stay gated by airplane mode"
|
||||
end
|
||||
|
||||
test "ai suggestions overlay fetches async results for posts when online", %{project: project} do
|
||||
@@ -3482,7 +3484,9 @@ defmodule BDS.Desktop.ShellLiveTest do
|
||||
|> render_click()
|
||||
|
||||
refute html =~ "ai-suggestions-modal"
|
||||
assert html =~ "Automatic AI actions stay gated by airplane mode"
|
||||
|
||||
output_html = render_click(view, "select_panel_tab", %{"tab" => "output"})
|
||||
assert output_html =~ "Automatic AI actions stay gated by airplane mode"
|
||||
end
|
||||
|
||||
test "ai suggestions overlay uses the local model in airplane mode for media", %{
|
||||
|
||||
@@ -207,12 +207,12 @@ defmodule BDS.ImageImportPipelineTest do
|
||||
"subtitle" => "draft"
|
||||
})
|
||||
|
||||
html =
|
||||
view
|
||||
|> element("[phx-click='add_gallery_images']")
|
||||
|> render_click()
|
||||
view
|
||||
|> element("[phx-click='add_gallery_images']")
|
||||
|> render_click()
|
||||
|
||||
assert html =~ "Automatic AI actions stay gated by airplane mode"
|
||||
output_html = render_click(view, "select_panel_tab", %{"tab" => "output"})
|
||||
assert output_html =~ "Automatic AI actions stay gated by airplane mode"
|
||||
|
||||
assert :ok = AI.set_airplane_mode(false)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user