Skip to content

Commit

Permalink
demonstrate validity of having multiple elements for a singe within c…
Browse files Browse the repository at this point in the history
…lause
  • Loading branch information
rodja committed Jul 28, 2024
1 parent 612dd6a commit 71cdb1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_element_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def test_find_within_marker_combination():
with ui.card().mark('b'):
ui.label('Label 4')

assert texts(ElementFilter(kind=ui.label).within(marker='a b')) == ['Label 2']
assert texts(ElementFilter(kind=ui.label).within(marker='a').within(marker='b')) == ['Label 2']


Expand Down

0 comments on commit 71cdb1e

Please sign in to comment.