feat: reorder project route registration to prioritize static UI paths and add pytest coverage for navigation endpoints
This commit is contained in:
@@ -71,3 +71,15 @@ class TestDashboardRoute:
|
||||
assert "No simulation runs yet" in html
|
||||
assert "All scenarios look good" in html
|
||||
assert "—" in html # Last data import placeholder
|
||||
|
||||
|
||||
class TestProjectUIRoutes:
|
||||
def test_projects_ui_page_resolves(self, client: TestClient) -> None:
|
||||
response = client.get("/projects/ui")
|
||||
assert response.status_code == 200
|
||||
assert "Projects" in response.text
|
||||
|
||||
def test_projects_create_form_resolves(self, client: TestClient) -> None:
|
||||
response = client.get("/projects/create")
|
||||
assert response.status_code == 200
|
||||
assert "Create Project" in response.text
|
||||
|
||||
Reference in New Issue
Block a user