Show category hierarchy in transaction picker (#3292)

This commit is contained in:
Shibu M
2026-08-31 21:53:08 +02:00
committed by GitHub
parent f78303ebbe
commit 33c3f9f808
3 changed files with 25 additions and 3 deletions
@@ -748,6 +748,11 @@ end
assert_not_nil parent_index
assert_not_nil child_index
assert_equal parent_index + 1, child_index
child_option = wrapper.at_css("[data-category-id='#{categories(:subcategory).id}']")
assert_not_nil child_option, "expected the subcategory option to render"
assert child_option.at_css("[data-testid='category-select-subcategory-indicator']"),
"expected the subcategory option to show the hierarchy indicator used in Settings"
end
test "new renders a search box for account selection" do