Fix failing tests
This commit is contained in:
parent
43d4792760
commit
e91ba7f974
2 changed files with 6 additions and 1 deletions
5
.cursor/rules/elixir.mdc
Normal file
5
.cursor/rules/elixir.mdc
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
description:
|
||||||
|
globs:
|
||||||
|
alwaysApply: false
|
||||||
|
---
|
||||||
|
|
@ -58,7 +58,7 @@ defmodule AprsWeb.Integration.AprsStatusTest do
|
||||||
case live(conn, "/status") do
|
case live(conn, "/status") do
|
||||||
{:ok, view, html} ->
|
{:ok, view, html} ->
|
||||||
# If status page exists, verify it handles disconnected state
|
# If status page exists, verify it handles disconnected state
|
||||||
assert html =~ "STATUS"
|
assert html =~ "System Status"
|
||||||
|
|
||||||
# Should show disconnected state information
|
# Should show disconnected state information
|
||||||
assert has_element?(view, "[data-testid='connection-status']") ||
|
assert has_element?(view, "[data-testid='connection-status']") ||
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue