mirror of
https://github.com/we-promise/sure.git
synced 2026-09-05 23:01:26 +00:00
Show category hierarchy in transaction picker (#3292)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user