fix: use in-app delete confirmation dialogs
This commit is contained in:
@@ -111,14 +111,15 @@ def test_planning_shows_budgets_and_community_accounts(logged_in_client):
|
||||
assert b"Auszahlung Person B" in response.data
|
||||
|
||||
|
||||
def test_planning_delete_actions_render_confirmation_hooks(logged_in_client):
|
||||
def test_planning_delete_actions_render_app_confirmation_dialogs(logged_in_client):
|
||||
response = logged_in_client.get("/planning/2026-04")
|
||||
|
||||
assert response.status_code == 200
|
||||
assert b'data-confirm-submit="Einkommenszeile wirklich l\xc3\xb6schen?' in response.data
|
||||
assert b'data-confirm-submit="Kategorie wirklich l\xc3\xb6schen?' in response.data
|
||||
assert b'data-confirm-submit="Konto wirklich l\xc3\xb6schen?' in response.data
|
||||
assert b'data-confirm-submit="Eintrag wirklich l\xc3\xb6schen?' in response.data
|
||||
assert b"confirm-delete-income-" in response.data
|
||||
assert b"confirm-delete-category-" in response.data
|
||||
assert b"confirm-delete-community-account-" in response.data
|
||||
assert b"confirm-delete-entry-" in response.data
|
||||
assert b"data-confirm-submit" not in response.data
|
||||
|
||||
|
||||
def test_community_account_can_assign_budget_categories(logged_in_client):
|
||||
|
||||
Reference in New Issue
Block a user