Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/aignostics/application/cli_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ def test_cli_run_result_delete_fails_on_no_arg(runner: CliRunner, record_propert
def test_cli_run_execute(runner: CliRunner, tmp_path: Path, record_property) -> None:
"""Check run execution runs e2e."""
record_property("tested-item-id", "TC-APPLICATION-CLI-03")

# Step 1: Download the sample file
result = runner.invoke(
cli,
Expand Down
2 changes: 1 addition & 1 deletion tests/aignostics/notebook/gui_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@pytest.mark.timeout(timeout=60)
async def test_gui_marimo_extension(user: User, runner: CliRunner, silent_logging: None, record_property) -> None:
"""Test that the user can install and launch Marimo via the GUI."""
record_property("tested-item-id", "SPEC-GUI-SERVICE")
record_property("tested-item-id", "TC-NOTEBOOK-GUI-01, SPEC-GUI-SERVICE")

# Step 1: Check we are on the Notebook page
await user.open("/notebook")
Expand Down
26 changes: 26 additions & 0 deletions tests/aignostics/system/gui_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,29 @@ async def test_gui_system_switch_right(user: User, silent_logging, record_proper
switch_interaction: UserInteraction = user.find("Mask secrets")
switch_element: switch = switch_interaction.elements.pop()
assert switch_element.value is True


@pytest.mark.integration
@pytest.mark.timeout(timeout=60)
Copy link
Collaborator Author

@muhabalwan-aginx muhabalwan-aginx Oct 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@helmut-hoffer-von-ankershoffen I've added a missing test that is required, that's why I assigned you as a reviewer

async def test_gui_system_health_shown_and_updated(user: User, silent_logging, record_property) -> None:
"""Test that health status is always visible in the footer on any page.

As a user, I expect the current health of Launchpad to be always visible
in the footer of the GUI so that I can ensure the system is operational.
"""
record_property("tested-item-id", "TEST-SYSTEM-GUI-HEALTH, SWR-SYSTEM-GUI-HEALTH-1")

# Test that health is visible on multiple pages to verify "always visible"
pages_to_test = [
"/", # Main page
"/system", # System page
"/dataset/idc", # Dataset page
]

for page in pages_to_test:
# Navigate to the page
await user.open(page)

# Verify the health status footer component is visible
# The health_link() is rendered in the footer and has a tooltip "Check Launchpad Status"
await user.should_see("Check Launchpad Status", retries=5 * 100)
Loading