Fix #341: the test clicks the row's widget id

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01912WaK6Rmew3wxZuPyX7E8
This commit is contained in:
Claude 2026-10-08 18:39:36 +00:00
parent 47cf1ade6f
commit c3c30dae3f
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ fn date_and_keyword_rows_show_their_photos_from_any_source() {
let first = h.app.session.visible_cloned()[0];
let year = h.app.session.catalog.photo(first).and_then(|p| p.captured.clone()).expect("demo photo date")[..4].to_string();
// (Keywords rows go through the same helper, `browse_all_photos`)
for (row, key) in [(format!("date:{year}"), "date")] {
for (row, key) in [(format!("source:date:{year}"), "date")] {
let r = h.request("engine.execute", json!({"command": "library.source", "params": {"kind": "recentlyDeleted"}}), T);
assert_eq!(r["ok"], true, "{r}");
h.settle(SETTLE);