From ec558927b186aa0a3bec816d5ef4ca39e117a5db Mon Sep 17 00:00:00 2001 From: Waozi Date: Mon, 26 Oct 2026 23:51:44 -0300 Subject: [PATCH] Verify the Diary entry link persists with new writing icons --- tests/habits_count_ui_test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/habits_count_ui_test.py b/tests/habits_count_ui_test.py index a1ea521a6..9ff525a15 100644 --- a/tests/habits_count_ui_test.py +++ b/tests/habits_count_ui_test.py @@ -177,7 +177,7 @@ for width in (411, 1100): reveal(driver, width, contains="Link", role="button") driver.press(contains="Link", role="button") driver.wait(key=9120) - driver.press(label="Diary", role="checkbox") + driver.press(label="Diary entry", role="checkbox") driver.press(label="Done", role="button") driver.wait_gone(key=9120) # Change tracking before entering a name, through the ordinary New @@ -259,6 +259,9 @@ for width in (411, 1100): "WHERE name='" + name + "' AND deleted_at=0"), "Set every option before creating:77:126:1:How did it go?", "new habit keeps details, schedule, practices and questions") + expect(sql(database, "SELECT (sync_activity & 16777216)!=0 FROM habits " + "WHERE name='" + name + "' AND deleted_at=0"), + "1", "new habit keeps its Diary link") print("PASS new-habit details, schedule, difficulty, coins, counter, span, " f"practices and questions at {width}px")