test(library): find the edit sheet's title field by key, not label text #759

Merged
raisondetredev merged 1 commit from refs/pull/759/head into main 2026-07-13 10:34:39 +02:00
raisondetredev commented 2026-07-13 10:33:32 +02:00 (Migrated from codeberg.org)

Broken since #749: the required-asterisk rollout replaced the Title
field's labelText with RequiredFieldLabel, which renders "Title *" as a
single Text.rich — so find.widgetWithText(TextFormField, 'Title') can
no longer match and the pre-fill assertion died with "Bad state: No
element". The sheet's own tests were migrated to the
studyset-title-field key finder in that PR; this copy in the library
screen suite was missed.

Signed-off-by: Tizian 「ティツィアーン」 raisondetredev@pm.me

Broken since #749: the required-asterisk rollout replaced the Title field's labelText with RequiredFieldLabel, which renders "Title *" as a single Text.rich — so find.widgetWithText(TextFormField, 'Title') can no longer match and the pre-fill assertion died with "Bad state: No element". The sheet's own tests were migrated to the studyset-title-field key finder in that PR; this copy in the library screen suite was missed. Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
project-halkyon/halkyon-learn!759
No description provided.